Path: blob/master/platform/linuxbsd/speechd-so_wrap.c
10277 views
// This file is generated. Do not edit!1// see https://github.com/hpvb/dynload-wrapper for details2// generated by generate-wrapper.py 0.3 on 2023-01-12 10:07:463// flags: generate-wrapper.py --include ./thirdparty/linuxbsd_headers/speechd/libspeechd.h --sys-include "thirdparty/linuxbsd_headers/speechd/libspeechd.h" --soname libspeechd.so.2 --init-name speechd --omit-prefix spd_get_client_list --output-header ./platform/linuxbsd/speechd-so_wrap.h --output-implementation ./platform/linuxbsd/speechd-so_wrap.c4//5#include <stdint.h>67#define SPDConnectionAddress__free SPDConnectionAddress__free_dylibloader_orig_speechd8#define spd_get_default_address spd_get_default_address_dylibloader_orig_speechd9#define spd_open spd_open_dylibloader_orig_speechd10#define spd_open2 spd_open2_dylibloader_orig_speechd11#define spd_close spd_close_dylibloader_orig_speechd12#define spd_say spd_say_dylibloader_orig_speechd13#define spd_sayf spd_sayf_dylibloader_orig_speechd14#define spd_stop spd_stop_dylibloader_orig_speechd15#define spd_stop_all spd_stop_all_dylibloader_orig_speechd16#define spd_stop_uid spd_stop_uid_dylibloader_orig_speechd17#define spd_cancel spd_cancel_dylibloader_orig_speechd18#define spd_cancel_all spd_cancel_all_dylibloader_orig_speechd19#define spd_cancel_uid spd_cancel_uid_dylibloader_orig_speechd20#define spd_pause spd_pause_dylibloader_orig_speechd21#define spd_pause_all spd_pause_all_dylibloader_orig_speechd22#define spd_pause_uid spd_pause_uid_dylibloader_orig_speechd23#define spd_resume spd_resume_dylibloader_orig_speechd24#define spd_resume_all spd_resume_all_dylibloader_orig_speechd25#define spd_resume_uid spd_resume_uid_dylibloader_orig_speechd26#define spd_key spd_key_dylibloader_orig_speechd27#define spd_char spd_char_dylibloader_orig_speechd28#define spd_wchar spd_wchar_dylibloader_orig_speechd29#define spd_sound_icon spd_sound_icon_dylibloader_orig_speechd30#define spd_set_voice_type spd_set_voice_type_dylibloader_orig_speechd31#define spd_set_voice_type_all spd_set_voice_type_all_dylibloader_orig_speechd32#define spd_set_voice_type_uid spd_set_voice_type_uid_dylibloader_orig_speechd33#define spd_get_voice_type spd_get_voice_type_dylibloader_orig_speechd34#define spd_set_synthesis_voice spd_set_synthesis_voice_dylibloader_orig_speechd35#define spd_set_synthesis_voice_all spd_set_synthesis_voice_all_dylibloader_orig_speechd36#define spd_set_synthesis_voice_uid spd_set_synthesis_voice_uid_dylibloader_orig_speechd37#define spd_set_data_mode spd_set_data_mode_dylibloader_orig_speechd38#define spd_set_notification_on spd_set_notification_on_dylibloader_orig_speechd39#define spd_set_notification_off spd_set_notification_off_dylibloader_orig_speechd40#define spd_set_notification spd_set_notification_dylibloader_orig_speechd41#define spd_set_voice_rate spd_set_voice_rate_dylibloader_orig_speechd42#define spd_set_voice_rate_all spd_set_voice_rate_all_dylibloader_orig_speechd43#define spd_set_voice_rate_uid spd_set_voice_rate_uid_dylibloader_orig_speechd44#define spd_get_voice_rate spd_get_voice_rate_dylibloader_orig_speechd45#define spd_set_voice_pitch spd_set_voice_pitch_dylibloader_orig_speechd46#define spd_set_voice_pitch_all spd_set_voice_pitch_all_dylibloader_orig_speechd47#define spd_set_voice_pitch_uid spd_set_voice_pitch_uid_dylibloader_orig_speechd48#define spd_get_voice_pitch spd_get_voice_pitch_dylibloader_orig_speechd49#define spd_set_volume spd_set_volume_dylibloader_orig_speechd50#define spd_set_volume_all spd_set_volume_all_dylibloader_orig_speechd51#define spd_set_volume_uid spd_set_volume_uid_dylibloader_orig_speechd52#define spd_get_volume spd_get_volume_dylibloader_orig_speechd53#define spd_set_punctuation spd_set_punctuation_dylibloader_orig_speechd54#define spd_set_punctuation_all spd_set_punctuation_all_dylibloader_orig_speechd55#define spd_set_punctuation_uid spd_set_punctuation_uid_dylibloader_orig_speechd56#define spd_set_capital_letters spd_set_capital_letters_dylibloader_orig_speechd57#define spd_set_capital_letters_all spd_set_capital_letters_all_dylibloader_orig_speechd58#define spd_set_capital_letters_uid spd_set_capital_letters_uid_dylibloader_orig_speechd59#define spd_set_spelling spd_set_spelling_dylibloader_orig_speechd60#define spd_set_spelling_all spd_set_spelling_all_dylibloader_orig_speechd61#define spd_set_spelling_uid spd_set_spelling_uid_dylibloader_orig_speechd62#define spd_set_language spd_set_language_dylibloader_orig_speechd63#define spd_set_language_all spd_set_language_all_dylibloader_orig_speechd64#define spd_set_language_uid spd_set_language_uid_dylibloader_orig_speechd65#define spd_get_language spd_get_language_dylibloader_orig_speechd66#define spd_set_output_module spd_set_output_module_dylibloader_orig_speechd67#define spd_set_output_module_all spd_set_output_module_all_dylibloader_orig_speechd68#define spd_set_output_module_uid spd_set_output_module_uid_dylibloader_orig_speechd69#define spd_get_message_list_fd spd_get_message_list_fd_dylibloader_orig_speechd70#define spd_list_modules spd_list_modules_dylibloader_orig_speechd71#define free_spd_modules free_spd_modules_dylibloader_orig_speechd72#define spd_get_output_module spd_get_output_module_dylibloader_orig_speechd73#define spd_list_voices spd_list_voices_dylibloader_orig_speechd74#define spd_list_synthesis_voices spd_list_synthesis_voices_dylibloader_orig_speechd75#define free_spd_voices free_spd_voices_dylibloader_orig_speechd76#define spd_execute_command_with_list_reply spd_execute_command_with_list_reply_dylibloader_orig_speechd77#define spd_execute_command spd_execute_command_dylibloader_orig_speechd78#define spd_execute_command_with_reply spd_execute_command_with_reply_dylibloader_orig_speechd79#define spd_execute_command_wo_mutex spd_execute_command_wo_mutex_dylibloader_orig_speechd80#define spd_send_data spd_send_data_dylibloader_orig_speechd81#define spd_send_data_wo_mutex spd_send_data_wo_mutex_dylibloader_orig_speechd82#include "thirdparty/linuxbsd_headers/speechd/libspeechd.h"83#undef SPDConnectionAddress__free84#undef spd_get_default_address85#undef spd_open86#undef spd_open287#undef spd_close88#undef spd_say89#undef spd_sayf90#undef spd_stop91#undef spd_stop_all92#undef spd_stop_uid93#undef spd_cancel94#undef spd_cancel_all95#undef spd_cancel_uid96#undef spd_pause97#undef spd_pause_all98#undef spd_pause_uid99#undef spd_resume100#undef spd_resume_all101#undef spd_resume_uid102#undef spd_key103#undef spd_char104#undef spd_wchar105#undef spd_sound_icon106#undef spd_set_voice_type107#undef spd_set_voice_type_all108#undef spd_set_voice_type_uid109#undef spd_get_voice_type110#undef spd_set_synthesis_voice111#undef spd_set_synthesis_voice_all112#undef spd_set_synthesis_voice_uid113#undef spd_set_data_mode114#undef spd_set_notification_on115#undef spd_set_notification_off116#undef spd_set_notification117#undef spd_set_voice_rate118#undef spd_set_voice_rate_all119#undef spd_set_voice_rate_uid120#undef spd_get_voice_rate121#undef spd_set_voice_pitch122#undef spd_set_voice_pitch_all123#undef spd_set_voice_pitch_uid124#undef spd_get_voice_pitch125#undef spd_set_volume126#undef spd_set_volume_all127#undef spd_set_volume_uid128#undef spd_get_volume129#undef spd_set_punctuation130#undef spd_set_punctuation_all131#undef spd_set_punctuation_uid132#undef spd_set_capital_letters133#undef spd_set_capital_letters_all134#undef spd_set_capital_letters_uid135#undef spd_set_spelling136#undef spd_set_spelling_all137#undef spd_set_spelling_uid138#undef spd_set_language139#undef spd_set_language_all140#undef spd_set_language_uid141#undef spd_get_language142#undef spd_set_output_module143#undef spd_set_output_module_all144#undef spd_set_output_module_uid145#undef spd_get_message_list_fd146#undef spd_list_modules147#undef free_spd_modules148#undef spd_get_output_module149#undef spd_list_voices150#undef spd_list_synthesis_voices151#undef free_spd_voices152#undef spd_execute_command_with_list_reply153#undef spd_execute_command154#undef spd_execute_command_with_reply155#undef spd_execute_command_wo_mutex156#undef spd_send_data157#undef spd_send_data_wo_mutex158#include <dlfcn.h>159#include <stdio.h>160void (*SPDConnectionAddress__free_dylibloader_wrapper_speechd)( SPDConnectionAddress*);161SPDConnectionAddress* (*spd_get_default_address_dylibloader_wrapper_speechd)( char**);162SPDConnection* (*spd_open_dylibloader_wrapper_speechd)(const char*,const char*,const char*, SPDConnectionMode);163SPDConnection* (*spd_open2_dylibloader_wrapper_speechd)(const char*,const char*,const char*, SPDConnectionMode, SPDConnectionAddress*, int, char**);164void (*spd_close_dylibloader_wrapper_speechd)( SPDConnection*);165int (*spd_say_dylibloader_wrapper_speechd)( SPDConnection*, SPDPriority,const char*);166int (*spd_sayf_dylibloader_wrapper_speechd)( SPDConnection*, SPDPriority,const char*,...);167int (*spd_stop_dylibloader_wrapper_speechd)( SPDConnection*);168int (*spd_stop_all_dylibloader_wrapper_speechd)( SPDConnection*);169int (*spd_stop_uid_dylibloader_wrapper_speechd)( SPDConnection*, int);170int (*spd_cancel_dylibloader_wrapper_speechd)( SPDConnection*);171int (*spd_cancel_all_dylibloader_wrapper_speechd)( SPDConnection*);172int (*spd_cancel_uid_dylibloader_wrapper_speechd)( SPDConnection*, int);173int (*spd_pause_dylibloader_wrapper_speechd)( SPDConnection*);174int (*spd_pause_all_dylibloader_wrapper_speechd)( SPDConnection*);175int (*spd_pause_uid_dylibloader_wrapper_speechd)( SPDConnection*, int);176int (*spd_resume_dylibloader_wrapper_speechd)( SPDConnection*);177int (*spd_resume_all_dylibloader_wrapper_speechd)( SPDConnection*);178int (*spd_resume_uid_dylibloader_wrapper_speechd)( SPDConnection*, int);179int (*spd_key_dylibloader_wrapper_speechd)( SPDConnection*, SPDPriority,const char*);180int (*spd_char_dylibloader_wrapper_speechd)( SPDConnection*, SPDPriority,const char*);181int (*spd_wchar_dylibloader_wrapper_speechd)( SPDConnection*, SPDPriority, wchar_t);182int (*spd_sound_icon_dylibloader_wrapper_speechd)( SPDConnection*, SPDPriority,const char*);183int (*spd_set_voice_type_dylibloader_wrapper_speechd)( SPDConnection*, SPDVoiceType);184int (*spd_set_voice_type_all_dylibloader_wrapper_speechd)( SPDConnection*, SPDVoiceType);185int (*spd_set_voice_type_uid_dylibloader_wrapper_speechd)( SPDConnection*, SPDVoiceType, unsigned int);186SPDVoiceType (*spd_get_voice_type_dylibloader_wrapper_speechd)( SPDConnection*);187int (*spd_set_synthesis_voice_dylibloader_wrapper_speechd)( SPDConnection*,const char*);188int (*spd_set_synthesis_voice_all_dylibloader_wrapper_speechd)( SPDConnection*,const char*);189int (*spd_set_synthesis_voice_uid_dylibloader_wrapper_speechd)( SPDConnection*,const char*, unsigned int);190int (*spd_set_data_mode_dylibloader_wrapper_speechd)( SPDConnection*, SPDDataMode);191int (*spd_set_notification_on_dylibloader_wrapper_speechd)( SPDConnection*, SPDNotification);192int (*spd_set_notification_off_dylibloader_wrapper_speechd)( SPDConnection*, SPDNotification);193int (*spd_set_notification_dylibloader_wrapper_speechd)( SPDConnection*, SPDNotification,const char*);194int (*spd_set_voice_rate_dylibloader_wrapper_speechd)( SPDConnection*, signed int);195int (*spd_set_voice_rate_all_dylibloader_wrapper_speechd)( SPDConnection*, signed int);196int (*spd_set_voice_rate_uid_dylibloader_wrapper_speechd)( SPDConnection*, signed int, unsigned int);197int (*spd_get_voice_rate_dylibloader_wrapper_speechd)( SPDConnection*);198int (*spd_set_voice_pitch_dylibloader_wrapper_speechd)( SPDConnection*, signed int);199int (*spd_set_voice_pitch_all_dylibloader_wrapper_speechd)( SPDConnection*, signed int);200int (*spd_set_voice_pitch_uid_dylibloader_wrapper_speechd)( SPDConnection*, signed int, unsigned int);201int (*spd_get_voice_pitch_dylibloader_wrapper_speechd)( SPDConnection*);202int (*spd_set_volume_dylibloader_wrapper_speechd)( SPDConnection*, signed int);203int (*spd_set_volume_all_dylibloader_wrapper_speechd)( SPDConnection*, signed int);204int (*spd_set_volume_uid_dylibloader_wrapper_speechd)( SPDConnection*, signed int, unsigned int);205int (*spd_get_volume_dylibloader_wrapper_speechd)( SPDConnection*);206int (*spd_set_punctuation_dylibloader_wrapper_speechd)( SPDConnection*, SPDPunctuation);207int (*spd_set_punctuation_all_dylibloader_wrapper_speechd)( SPDConnection*, SPDPunctuation);208int (*spd_set_punctuation_uid_dylibloader_wrapper_speechd)( SPDConnection*, SPDPunctuation, unsigned int);209int (*spd_set_capital_letters_dylibloader_wrapper_speechd)( SPDConnection*, SPDCapitalLetters);210int (*spd_set_capital_letters_all_dylibloader_wrapper_speechd)( SPDConnection*, SPDCapitalLetters);211int (*spd_set_capital_letters_uid_dylibloader_wrapper_speechd)( SPDConnection*, SPDCapitalLetters, unsigned int);212int (*spd_set_spelling_dylibloader_wrapper_speechd)( SPDConnection*, SPDSpelling);213int (*spd_set_spelling_all_dylibloader_wrapper_speechd)( SPDConnection*, SPDSpelling);214int (*spd_set_spelling_uid_dylibloader_wrapper_speechd)( SPDConnection*, SPDSpelling, unsigned int);215int (*spd_set_language_dylibloader_wrapper_speechd)( SPDConnection*,const char*);216int (*spd_set_language_all_dylibloader_wrapper_speechd)( SPDConnection*,const char*);217int (*spd_set_language_uid_dylibloader_wrapper_speechd)( SPDConnection*,const char*, unsigned int);218char* (*spd_get_language_dylibloader_wrapper_speechd)( SPDConnection*);219int (*spd_set_output_module_dylibloader_wrapper_speechd)( SPDConnection*,const char*);220int (*spd_set_output_module_all_dylibloader_wrapper_speechd)( SPDConnection*,const char*);221int (*spd_set_output_module_uid_dylibloader_wrapper_speechd)( SPDConnection*,const char*, unsigned int);222int (*spd_get_message_list_fd_dylibloader_wrapper_speechd)( SPDConnection*, int, int*, char**);223char** (*spd_list_modules_dylibloader_wrapper_speechd)( SPDConnection*);224void (*free_spd_modules_dylibloader_wrapper_speechd)( char**);225char* (*spd_get_output_module_dylibloader_wrapper_speechd)( SPDConnection*);226char** (*spd_list_voices_dylibloader_wrapper_speechd)( SPDConnection*);227SPDVoice** (*spd_list_synthesis_voices_dylibloader_wrapper_speechd)( SPDConnection*);228void (*free_spd_voices_dylibloader_wrapper_speechd)( SPDVoice**);229char** (*spd_execute_command_with_list_reply_dylibloader_wrapper_speechd)( SPDConnection*, char*);230int (*spd_execute_command_dylibloader_wrapper_speechd)( SPDConnection*, char*);231int (*spd_execute_command_with_reply_dylibloader_wrapper_speechd)( SPDConnection*, char*, char**);232int (*spd_execute_command_wo_mutex_dylibloader_wrapper_speechd)( SPDConnection*, char*);233char* (*spd_send_data_dylibloader_wrapper_speechd)( SPDConnection*,const char*, int);234char* (*spd_send_data_wo_mutex_dylibloader_wrapper_speechd)( SPDConnection*,const char*, int);235int initialize_speechd(int verbose) {236void *handle;237char *error;238handle = dlopen("libspeechd.so.2", RTLD_LAZY);239if (!handle) {240if (verbose) {241fprintf(stderr, "%s\n", dlerror());242}243return(1);244}245dlerror();246// SPDConnectionAddress__free247*(void **) (&SPDConnectionAddress__free_dylibloader_wrapper_speechd) = dlsym(handle, "SPDConnectionAddress__free");248if (verbose) {249error = dlerror();250if (error != NULL) {251fprintf(stderr, "%s\n", error);252}253}254// spd_get_default_address255*(void **) (&spd_get_default_address_dylibloader_wrapper_speechd) = dlsym(handle, "spd_get_default_address");256if (verbose) {257error = dlerror();258if (error != NULL) {259fprintf(stderr, "%s\n", error);260}261}262// spd_open263*(void **) (&spd_open_dylibloader_wrapper_speechd) = dlsym(handle, "spd_open");264if (verbose) {265error = dlerror();266if (error != NULL) {267fprintf(stderr, "%s\n", error);268}269}270// spd_open2271*(void **) (&spd_open2_dylibloader_wrapper_speechd) = dlsym(handle, "spd_open2");272if (verbose) {273error = dlerror();274if (error != NULL) {275fprintf(stderr, "%s\n", error);276}277}278// spd_close279*(void **) (&spd_close_dylibloader_wrapper_speechd) = dlsym(handle, "spd_close");280if (verbose) {281error = dlerror();282if (error != NULL) {283fprintf(stderr, "%s\n", error);284}285}286// spd_say287*(void **) (&spd_say_dylibloader_wrapper_speechd) = dlsym(handle, "spd_say");288if (verbose) {289error = dlerror();290if (error != NULL) {291fprintf(stderr, "%s\n", error);292}293}294// spd_sayf295*(void **) (&spd_sayf_dylibloader_wrapper_speechd) = dlsym(handle, "spd_sayf");296if (verbose) {297error = dlerror();298if (error != NULL) {299fprintf(stderr, "%s\n", error);300}301}302// spd_stop303*(void **) (&spd_stop_dylibloader_wrapper_speechd) = dlsym(handle, "spd_stop");304if (verbose) {305error = dlerror();306if (error != NULL) {307fprintf(stderr, "%s\n", error);308}309}310// spd_stop_all311*(void **) (&spd_stop_all_dylibloader_wrapper_speechd) = dlsym(handle, "spd_stop_all");312if (verbose) {313error = dlerror();314if (error != NULL) {315fprintf(stderr, "%s\n", error);316}317}318// spd_stop_uid319*(void **) (&spd_stop_uid_dylibloader_wrapper_speechd) = dlsym(handle, "spd_stop_uid");320if (verbose) {321error = dlerror();322if (error != NULL) {323fprintf(stderr, "%s\n", error);324}325}326// spd_cancel327*(void **) (&spd_cancel_dylibloader_wrapper_speechd) = dlsym(handle, "spd_cancel");328if (verbose) {329error = dlerror();330if (error != NULL) {331fprintf(stderr, "%s\n", error);332}333}334// spd_cancel_all335*(void **) (&spd_cancel_all_dylibloader_wrapper_speechd) = dlsym(handle, "spd_cancel_all");336if (verbose) {337error = dlerror();338if (error != NULL) {339fprintf(stderr, "%s\n", error);340}341}342// spd_cancel_uid343*(void **) (&spd_cancel_uid_dylibloader_wrapper_speechd) = dlsym(handle, "spd_cancel_uid");344if (verbose) {345error = dlerror();346if (error != NULL) {347fprintf(stderr, "%s\n", error);348}349}350// spd_pause351*(void **) (&spd_pause_dylibloader_wrapper_speechd) = dlsym(handle, "spd_pause");352if (verbose) {353error = dlerror();354if (error != NULL) {355fprintf(stderr, "%s\n", error);356}357}358// spd_pause_all359*(void **) (&spd_pause_all_dylibloader_wrapper_speechd) = dlsym(handle, "spd_pause_all");360if (verbose) {361error = dlerror();362if (error != NULL) {363fprintf(stderr, "%s\n", error);364}365}366// spd_pause_uid367*(void **) (&spd_pause_uid_dylibloader_wrapper_speechd) = dlsym(handle, "spd_pause_uid");368if (verbose) {369error = dlerror();370if (error != NULL) {371fprintf(stderr, "%s\n", error);372}373}374// spd_resume375*(void **) (&spd_resume_dylibloader_wrapper_speechd) = dlsym(handle, "spd_resume");376if (verbose) {377error = dlerror();378if (error != NULL) {379fprintf(stderr, "%s\n", error);380}381}382// spd_resume_all383*(void **) (&spd_resume_all_dylibloader_wrapper_speechd) = dlsym(handle, "spd_resume_all");384if (verbose) {385error = dlerror();386if (error != NULL) {387fprintf(stderr, "%s\n", error);388}389}390// spd_resume_uid391*(void **) (&spd_resume_uid_dylibloader_wrapper_speechd) = dlsym(handle, "spd_resume_uid");392if (verbose) {393error = dlerror();394if (error != NULL) {395fprintf(stderr, "%s\n", error);396}397}398// spd_key399*(void **) (&spd_key_dylibloader_wrapper_speechd) = dlsym(handle, "spd_key");400if (verbose) {401error = dlerror();402if (error != NULL) {403fprintf(stderr, "%s\n", error);404}405}406// spd_char407*(void **) (&spd_char_dylibloader_wrapper_speechd) = dlsym(handle, "spd_char");408if (verbose) {409error = dlerror();410if (error != NULL) {411fprintf(stderr, "%s\n", error);412}413}414// spd_wchar415*(void **) (&spd_wchar_dylibloader_wrapper_speechd) = dlsym(handle, "spd_wchar");416if (verbose) {417error = dlerror();418if (error != NULL) {419fprintf(stderr, "%s\n", error);420}421}422// spd_sound_icon423*(void **) (&spd_sound_icon_dylibloader_wrapper_speechd) = dlsym(handle, "spd_sound_icon");424if (verbose) {425error = dlerror();426if (error != NULL) {427fprintf(stderr, "%s\n", error);428}429}430// spd_set_voice_type431*(void **) (&spd_set_voice_type_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_voice_type");432if (verbose) {433error = dlerror();434if (error != NULL) {435fprintf(stderr, "%s\n", error);436}437}438// spd_set_voice_type_all439*(void **) (&spd_set_voice_type_all_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_voice_type_all");440if (verbose) {441error = dlerror();442if (error != NULL) {443fprintf(stderr, "%s\n", error);444}445}446// spd_set_voice_type_uid447*(void **) (&spd_set_voice_type_uid_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_voice_type_uid");448if (verbose) {449error = dlerror();450if (error != NULL) {451fprintf(stderr, "%s\n", error);452}453}454// spd_get_voice_type455*(void **) (&spd_get_voice_type_dylibloader_wrapper_speechd) = dlsym(handle, "spd_get_voice_type");456if (verbose) {457error = dlerror();458if (error != NULL) {459fprintf(stderr, "%s\n", error);460}461}462// spd_set_synthesis_voice463*(void **) (&spd_set_synthesis_voice_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_synthesis_voice");464if (verbose) {465error = dlerror();466if (error != NULL) {467fprintf(stderr, "%s\n", error);468}469}470// spd_set_synthesis_voice_all471*(void **) (&spd_set_synthesis_voice_all_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_synthesis_voice_all");472if (verbose) {473error = dlerror();474if (error != NULL) {475fprintf(stderr, "%s\n", error);476}477}478// spd_set_synthesis_voice_uid479*(void **) (&spd_set_synthesis_voice_uid_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_synthesis_voice_uid");480if (verbose) {481error = dlerror();482if (error != NULL) {483fprintf(stderr, "%s\n", error);484}485}486// spd_set_data_mode487*(void **) (&spd_set_data_mode_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_data_mode");488if (verbose) {489error = dlerror();490if (error != NULL) {491fprintf(stderr, "%s\n", error);492}493}494// spd_set_notification_on495*(void **) (&spd_set_notification_on_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_notification_on");496if (verbose) {497error = dlerror();498if (error != NULL) {499fprintf(stderr, "%s\n", error);500}501}502// spd_set_notification_off503*(void **) (&spd_set_notification_off_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_notification_off");504if (verbose) {505error = dlerror();506if (error != NULL) {507fprintf(stderr, "%s\n", error);508}509}510// spd_set_notification511*(void **) (&spd_set_notification_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_notification");512if (verbose) {513error = dlerror();514if (error != NULL) {515fprintf(stderr, "%s\n", error);516}517}518// spd_set_voice_rate519*(void **) (&spd_set_voice_rate_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_voice_rate");520if (verbose) {521error = dlerror();522if (error != NULL) {523fprintf(stderr, "%s\n", error);524}525}526// spd_set_voice_rate_all527*(void **) (&spd_set_voice_rate_all_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_voice_rate_all");528if (verbose) {529error = dlerror();530if (error != NULL) {531fprintf(stderr, "%s\n", error);532}533}534// spd_set_voice_rate_uid535*(void **) (&spd_set_voice_rate_uid_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_voice_rate_uid");536if (verbose) {537error = dlerror();538if (error != NULL) {539fprintf(stderr, "%s\n", error);540}541}542// spd_get_voice_rate543*(void **) (&spd_get_voice_rate_dylibloader_wrapper_speechd) = dlsym(handle, "spd_get_voice_rate");544if (verbose) {545error = dlerror();546if (error != NULL) {547fprintf(stderr, "%s\n", error);548}549}550// spd_set_voice_pitch551*(void **) (&spd_set_voice_pitch_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_voice_pitch");552if (verbose) {553error = dlerror();554if (error != NULL) {555fprintf(stderr, "%s\n", error);556}557}558// spd_set_voice_pitch_all559*(void **) (&spd_set_voice_pitch_all_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_voice_pitch_all");560if (verbose) {561error = dlerror();562if (error != NULL) {563fprintf(stderr, "%s\n", error);564}565}566// spd_set_voice_pitch_uid567*(void **) (&spd_set_voice_pitch_uid_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_voice_pitch_uid");568if (verbose) {569error = dlerror();570if (error != NULL) {571fprintf(stderr, "%s\n", error);572}573}574// spd_get_voice_pitch575*(void **) (&spd_get_voice_pitch_dylibloader_wrapper_speechd) = dlsym(handle, "spd_get_voice_pitch");576if (verbose) {577error = dlerror();578if (error != NULL) {579fprintf(stderr, "%s\n", error);580}581}582// spd_set_volume583*(void **) (&spd_set_volume_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_volume");584if (verbose) {585error = dlerror();586if (error != NULL) {587fprintf(stderr, "%s\n", error);588}589}590// spd_set_volume_all591*(void **) (&spd_set_volume_all_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_volume_all");592if (verbose) {593error = dlerror();594if (error != NULL) {595fprintf(stderr, "%s\n", error);596}597}598// spd_set_volume_uid599*(void **) (&spd_set_volume_uid_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_volume_uid");600if (verbose) {601error = dlerror();602if (error != NULL) {603fprintf(stderr, "%s\n", error);604}605}606// spd_get_volume607*(void **) (&spd_get_volume_dylibloader_wrapper_speechd) = dlsym(handle, "spd_get_volume");608if (verbose) {609error = dlerror();610if (error != NULL) {611fprintf(stderr, "%s\n", error);612}613}614// spd_set_punctuation615*(void **) (&spd_set_punctuation_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_punctuation");616if (verbose) {617error = dlerror();618if (error != NULL) {619fprintf(stderr, "%s\n", error);620}621}622// spd_set_punctuation_all623*(void **) (&spd_set_punctuation_all_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_punctuation_all");624if (verbose) {625error = dlerror();626if (error != NULL) {627fprintf(stderr, "%s\n", error);628}629}630// spd_set_punctuation_uid631*(void **) (&spd_set_punctuation_uid_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_punctuation_uid");632if (verbose) {633error = dlerror();634if (error != NULL) {635fprintf(stderr, "%s\n", error);636}637}638// spd_set_capital_letters639*(void **) (&spd_set_capital_letters_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_capital_letters");640if (verbose) {641error = dlerror();642if (error != NULL) {643fprintf(stderr, "%s\n", error);644}645}646// spd_set_capital_letters_all647*(void **) (&spd_set_capital_letters_all_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_capital_letters_all");648if (verbose) {649error = dlerror();650if (error != NULL) {651fprintf(stderr, "%s\n", error);652}653}654// spd_set_capital_letters_uid655*(void **) (&spd_set_capital_letters_uid_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_capital_letters_uid");656if (verbose) {657error = dlerror();658if (error != NULL) {659fprintf(stderr, "%s\n", error);660}661}662// spd_set_spelling663*(void **) (&spd_set_spelling_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_spelling");664if (verbose) {665error = dlerror();666if (error != NULL) {667fprintf(stderr, "%s\n", error);668}669}670// spd_set_spelling_all671*(void **) (&spd_set_spelling_all_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_spelling_all");672if (verbose) {673error = dlerror();674if (error != NULL) {675fprintf(stderr, "%s\n", error);676}677}678// spd_set_spelling_uid679*(void **) (&spd_set_spelling_uid_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_spelling_uid");680if (verbose) {681error = dlerror();682if (error != NULL) {683fprintf(stderr, "%s\n", error);684}685}686// spd_set_language687*(void **) (&spd_set_language_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_language");688if (verbose) {689error = dlerror();690if (error != NULL) {691fprintf(stderr, "%s\n", error);692}693}694// spd_set_language_all695*(void **) (&spd_set_language_all_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_language_all");696if (verbose) {697error = dlerror();698if (error != NULL) {699fprintf(stderr, "%s\n", error);700}701}702// spd_set_language_uid703*(void **) (&spd_set_language_uid_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_language_uid");704if (verbose) {705error = dlerror();706if (error != NULL) {707fprintf(stderr, "%s\n", error);708}709}710// spd_get_language711*(void **) (&spd_get_language_dylibloader_wrapper_speechd) = dlsym(handle, "spd_get_language");712if (verbose) {713error = dlerror();714if (error != NULL) {715fprintf(stderr, "%s\n", error);716}717}718// spd_set_output_module719*(void **) (&spd_set_output_module_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_output_module");720if (verbose) {721error = dlerror();722if (error != NULL) {723fprintf(stderr, "%s\n", error);724}725}726// spd_set_output_module_all727*(void **) (&spd_set_output_module_all_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_output_module_all");728if (verbose) {729error = dlerror();730if (error != NULL) {731fprintf(stderr, "%s\n", error);732}733}734// spd_set_output_module_uid735*(void **) (&spd_set_output_module_uid_dylibloader_wrapper_speechd) = dlsym(handle, "spd_set_output_module_uid");736if (verbose) {737error = dlerror();738if (error != NULL) {739fprintf(stderr, "%s\n", error);740}741}742// spd_get_message_list_fd743*(void **) (&spd_get_message_list_fd_dylibloader_wrapper_speechd) = dlsym(handle, "spd_get_message_list_fd");744if (verbose) {745error = dlerror();746if (error != NULL) {747fprintf(stderr, "%s\n", error);748}749}750// spd_list_modules751*(void **) (&spd_list_modules_dylibloader_wrapper_speechd) = dlsym(handle, "spd_list_modules");752if (verbose) {753error = dlerror();754if (error != NULL) {755fprintf(stderr, "%s\n", error);756}757}758// free_spd_modules759*(void **) (&free_spd_modules_dylibloader_wrapper_speechd) = dlsym(handle, "free_spd_modules");760if (verbose) {761error = dlerror();762if (error != NULL) {763fprintf(stderr, "%s\n", error);764}765}766// spd_get_output_module767*(void **) (&spd_get_output_module_dylibloader_wrapper_speechd) = dlsym(handle, "spd_get_output_module");768if (verbose) {769error = dlerror();770if (error != NULL) {771fprintf(stderr, "%s\n", error);772}773}774// spd_list_voices775*(void **) (&spd_list_voices_dylibloader_wrapper_speechd) = dlsym(handle, "spd_list_voices");776if (verbose) {777error = dlerror();778if (error != NULL) {779fprintf(stderr, "%s\n", error);780}781}782// spd_list_synthesis_voices783*(void **) (&spd_list_synthesis_voices_dylibloader_wrapper_speechd) = dlsym(handle, "spd_list_synthesis_voices");784if (verbose) {785error = dlerror();786if (error != NULL) {787fprintf(stderr, "%s\n", error);788}789}790// free_spd_voices791*(void **) (&free_spd_voices_dylibloader_wrapper_speechd) = dlsym(handle, "free_spd_voices");792if (verbose) {793error = dlerror();794if (error != NULL) {795fprintf(stderr, "%s\n", error);796}797}798// spd_execute_command_with_list_reply799*(void **) (&spd_execute_command_with_list_reply_dylibloader_wrapper_speechd) = dlsym(handle, "spd_execute_command_with_list_reply");800if (verbose) {801error = dlerror();802if (error != NULL) {803fprintf(stderr, "%s\n", error);804}805}806// spd_execute_command807*(void **) (&spd_execute_command_dylibloader_wrapper_speechd) = dlsym(handle, "spd_execute_command");808if (verbose) {809error = dlerror();810if (error != NULL) {811fprintf(stderr, "%s\n", error);812}813}814// spd_execute_command_with_reply815*(void **) (&spd_execute_command_with_reply_dylibloader_wrapper_speechd) = dlsym(handle, "spd_execute_command_with_reply");816if (verbose) {817error = dlerror();818if (error != NULL) {819fprintf(stderr, "%s\n", error);820}821}822// spd_execute_command_wo_mutex823*(void **) (&spd_execute_command_wo_mutex_dylibloader_wrapper_speechd) = dlsym(handle, "spd_execute_command_wo_mutex");824if (verbose) {825error = dlerror();826if (error != NULL) {827fprintf(stderr, "%s\n", error);828}829}830// spd_send_data831*(void **) (&spd_send_data_dylibloader_wrapper_speechd) = dlsym(handle, "spd_send_data");832if (verbose) {833error = dlerror();834if (error != NULL) {835fprintf(stderr, "%s\n", error);836}837}838// spd_send_data_wo_mutex839*(void **) (&spd_send_data_wo_mutex_dylibloader_wrapper_speechd) = dlsym(handle, "spd_send_data_wo_mutex");840if (verbose) {841error = dlerror();842if (error != NULL) {843fprintf(stderr, "%s\n", error);844}845}846return 0;847}848849850