Path: blob/master/platform/linuxbsd/speechd-so_wrap.h
10277 views
#ifndef DYLIBLOAD_WRAPPER_SPEECHD1#define DYLIBLOAD_WRAPPER_SPEECHD2// This file is generated. Do not edit!3// see https://github.com/hpvb/dynload-wrapper for details4// generated by generate-wrapper.py 0.3 on 2023-01-12 10:07:465// 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.c6//7#include <stdint.h>89#define SPDConnectionAddress__free SPDConnectionAddress__free_dylibloader_orig_speechd10#define spd_get_default_address spd_get_default_address_dylibloader_orig_speechd11#define spd_open spd_open_dylibloader_orig_speechd12#define spd_open2 spd_open2_dylibloader_orig_speechd13#define spd_close spd_close_dylibloader_orig_speechd14#define spd_say spd_say_dylibloader_orig_speechd15#define spd_sayf spd_sayf_dylibloader_orig_speechd16#define spd_stop spd_stop_dylibloader_orig_speechd17#define spd_stop_all spd_stop_all_dylibloader_orig_speechd18#define spd_stop_uid spd_stop_uid_dylibloader_orig_speechd19#define spd_cancel spd_cancel_dylibloader_orig_speechd20#define spd_cancel_all spd_cancel_all_dylibloader_orig_speechd21#define spd_cancel_uid spd_cancel_uid_dylibloader_orig_speechd22#define spd_pause spd_pause_dylibloader_orig_speechd23#define spd_pause_all spd_pause_all_dylibloader_orig_speechd24#define spd_pause_uid spd_pause_uid_dylibloader_orig_speechd25#define spd_resume spd_resume_dylibloader_orig_speechd26#define spd_resume_all spd_resume_all_dylibloader_orig_speechd27#define spd_resume_uid spd_resume_uid_dylibloader_orig_speechd28#define spd_key spd_key_dylibloader_orig_speechd29#define spd_char spd_char_dylibloader_orig_speechd30#define spd_wchar spd_wchar_dylibloader_orig_speechd31#define spd_sound_icon spd_sound_icon_dylibloader_orig_speechd32#define spd_set_voice_type spd_set_voice_type_dylibloader_orig_speechd33#define spd_set_voice_type_all spd_set_voice_type_all_dylibloader_orig_speechd34#define spd_set_voice_type_uid spd_set_voice_type_uid_dylibloader_orig_speechd35#define spd_get_voice_type spd_get_voice_type_dylibloader_orig_speechd36#define spd_set_synthesis_voice spd_set_synthesis_voice_dylibloader_orig_speechd37#define spd_set_synthesis_voice_all spd_set_synthesis_voice_all_dylibloader_orig_speechd38#define spd_set_synthesis_voice_uid spd_set_synthesis_voice_uid_dylibloader_orig_speechd39#define spd_set_data_mode spd_set_data_mode_dylibloader_orig_speechd40#define spd_set_notification_on spd_set_notification_on_dylibloader_orig_speechd41#define spd_set_notification_off spd_set_notification_off_dylibloader_orig_speechd42#define spd_set_notification spd_set_notification_dylibloader_orig_speechd43#define spd_set_voice_rate spd_set_voice_rate_dylibloader_orig_speechd44#define spd_set_voice_rate_all spd_set_voice_rate_all_dylibloader_orig_speechd45#define spd_set_voice_rate_uid spd_set_voice_rate_uid_dylibloader_orig_speechd46#define spd_get_voice_rate spd_get_voice_rate_dylibloader_orig_speechd47#define spd_set_voice_pitch spd_set_voice_pitch_dylibloader_orig_speechd48#define spd_set_voice_pitch_all spd_set_voice_pitch_all_dylibloader_orig_speechd49#define spd_set_voice_pitch_uid spd_set_voice_pitch_uid_dylibloader_orig_speechd50#define spd_get_voice_pitch spd_get_voice_pitch_dylibloader_orig_speechd51#define spd_set_volume spd_set_volume_dylibloader_orig_speechd52#define spd_set_volume_all spd_set_volume_all_dylibloader_orig_speechd53#define spd_set_volume_uid spd_set_volume_uid_dylibloader_orig_speechd54#define spd_get_volume spd_get_volume_dylibloader_orig_speechd55#define spd_set_punctuation spd_set_punctuation_dylibloader_orig_speechd56#define spd_set_punctuation_all spd_set_punctuation_all_dylibloader_orig_speechd57#define spd_set_punctuation_uid spd_set_punctuation_uid_dylibloader_orig_speechd58#define spd_set_capital_letters spd_set_capital_letters_dylibloader_orig_speechd59#define spd_set_capital_letters_all spd_set_capital_letters_all_dylibloader_orig_speechd60#define spd_set_capital_letters_uid spd_set_capital_letters_uid_dylibloader_orig_speechd61#define spd_set_spelling spd_set_spelling_dylibloader_orig_speechd62#define spd_set_spelling_all spd_set_spelling_all_dylibloader_orig_speechd63#define spd_set_spelling_uid spd_set_spelling_uid_dylibloader_orig_speechd64#define spd_set_language spd_set_language_dylibloader_orig_speechd65#define spd_set_language_all spd_set_language_all_dylibloader_orig_speechd66#define spd_set_language_uid spd_set_language_uid_dylibloader_orig_speechd67#define spd_get_language spd_get_language_dylibloader_orig_speechd68#define spd_set_output_module spd_set_output_module_dylibloader_orig_speechd69#define spd_set_output_module_all spd_set_output_module_all_dylibloader_orig_speechd70#define spd_set_output_module_uid spd_set_output_module_uid_dylibloader_orig_speechd71#define spd_get_message_list_fd spd_get_message_list_fd_dylibloader_orig_speechd72#define spd_list_modules spd_list_modules_dylibloader_orig_speechd73#define free_spd_modules free_spd_modules_dylibloader_orig_speechd74#define spd_get_output_module spd_get_output_module_dylibloader_orig_speechd75#define spd_list_voices spd_list_voices_dylibloader_orig_speechd76#define spd_list_synthesis_voices spd_list_synthesis_voices_dylibloader_orig_speechd77#define free_spd_voices free_spd_voices_dylibloader_orig_speechd78#define spd_execute_command_with_list_reply spd_execute_command_with_list_reply_dylibloader_orig_speechd79#define spd_execute_command spd_execute_command_dylibloader_orig_speechd80#define spd_execute_command_with_reply spd_execute_command_with_reply_dylibloader_orig_speechd81#define spd_execute_command_wo_mutex spd_execute_command_wo_mutex_dylibloader_orig_speechd82#define spd_send_data spd_send_data_dylibloader_orig_speechd83#define spd_send_data_wo_mutex spd_send_data_wo_mutex_dylibloader_orig_speechd84#include "thirdparty/linuxbsd_headers/speechd/libspeechd.h"85#undef SPDConnectionAddress__free86#undef spd_get_default_address87#undef spd_open88#undef spd_open289#undef spd_close90#undef spd_say91#undef spd_sayf92#undef spd_stop93#undef spd_stop_all94#undef spd_stop_uid95#undef spd_cancel96#undef spd_cancel_all97#undef spd_cancel_uid98#undef spd_pause99#undef spd_pause_all100#undef spd_pause_uid101#undef spd_resume102#undef spd_resume_all103#undef spd_resume_uid104#undef spd_key105#undef spd_char106#undef spd_wchar107#undef spd_sound_icon108#undef spd_set_voice_type109#undef spd_set_voice_type_all110#undef spd_set_voice_type_uid111#undef spd_get_voice_type112#undef spd_set_synthesis_voice113#undef spd_set_synthesis_voice_all114#undef spd_set_synthesis_voice_uid115#undef spd_set_data_mode116#undef spd_set_notification_on117#undef spd_set_notification_off118#undef spd_set_notification119#undef spd_set_voice_rate120#undef spd_set_voice_rate_all121#undef spd_set_voice_rate_uid122#undef spd_get_voice_rate123#undef spd_set_voice_pitch124#undef spd_set_voice_pitch_all125#undef spd_set_voice_pitch_uid126#undef spd_get_voice_pitch127#undef spd_set_volume128#undef spd_set_volume_all129#undef spd_set_volume_uid130#undef spd_get_volume131#undef spd_set_punctuation132#undef spd_set_punctuation_all133#undef spd_set_punctuation_uid134#undef spd_set_capital_letters135#undef spd_set_capital_letters_all136#undef spd_set_capital_letters_uid137#undef spd_set_spelling138#undef spd_set_spelling_all139#undef spd_set_spelling_uid140#undef spd_set_language141#undef spd_set_language_all142#undef spd_set_language_uid143#undef spd_get_language144#undef spd_set_output_module145#undef spd_set_output_module_all146#undef spd_set_output_module_uid147#undef spd_get_message_list_fd148#undef spd_list_modules149#undef free_spd_modules150#undef spd_get_output_module151#undef spd_list_voices152#undef spd_list_synthesis_voices153#undef free_spd_voices154#undef spd_execute_command_with_list_reply155#undef spd_execute_command156#undef spd_execute_command_with_reply157#undef spd_execute_command_wo_mutex158#undef spd_send_data159#undef spd_send_data_wo_mutex160#ifdef __cplusplus161extern "C" {162#endif163#define SPDConnectionAddress__free SPDConnectionAddress__free_dylibloader_wrapper_speechd164#define spd_get_default_address spd_get_default_address_dylibloader_wrapper_speechd165#define spd_open spd_open_dylibloader_wrapper_speechd166#define spd_open2 spd_open2_dylibloader_wrapper_speechd167#define spd_close spd_close_dylibloader_wrapper_speechd168#define spd_say spd_say_dylibloader_wrapper_speechd169#define spd_sayf spd_sayf_dylibloader_wrapper_speechd170#define spd_stop spd_stop_dylibloader_wrapper_speechd171#define spd_stop_all spd_stop_all_dylibloader_wrapper_speechd172#define spd_stop_uid spd_stop_uid_dylibloader_wrapper_speechd173#define spd_cancel spd_cancel_dylibloader_wrapper_speechd174#define spd_cancel_all spd_cancel_all_dylibloader_wrapper_speechd175#define spd_cancel_uid spd_cancel_uid_dylibloader_wrapper_speechd176#define spd_pause spd_pause_dylibloader_wrapper_speechd177#define spd_pause_all spd_pause_all_dylibloader_wrapper_speechd178#define spd_pause_uid spd_pause_uid_dylibloader_wrapper_speechd179#define spd_resume spd_resume_dylibloader_wrapper_speechd180#define spd_resume_all spd_resume_all_dylibloader_wrapper_speechd181#define spd_resume_uid spd_resume_uid_dylibloader_wrapper_speechd182#define spd_key spd_key_dylibloader_wrapper_speechd183#define spd_char spd_char_dylibloader_wrapper_speechd184#define spd_wchar spd_wchar_dylibloader_wrapper_speechd185#define spd_sound_icon spd_sound_icon_dylibloader_wrapper_speechd186#define spd_set_voice_type spd_set_voice_type_dylibloader_wrapper_speechd187#define spd_set_voice_type_all spd_set_voice_type_all_dylibloader_wrapper_speechd188#define spd_set_voice_type_uid spd_set_voice_type_uid_dylibloader_wrapper_speechd189#define spd_get_voice_type spd_get_voice_type_dylibloader_wrapper_speechd190#define spd_set_synthesis_voice spd_set_synthesis_voice_dylibloader_wrapper_speechd191#define spd_set_synthesis_voice_all spd_set_synthesis_voice_all_dylibloader_wrapper_speechd192#define spd_set_synthesis_voice_uid spd_set_synthesis_voice_uid_dylibloader_wrapper_speechd193#define spd_set_data_mode spd_set_data_mode_dylibloader_wrapper_speechd194#define spd_set_notification_on spd_set_notification_on_dylibloader_wrapper_speechd195#define spd_set_notification_off spd_set_notification_off_dylibloader_wrapper_speechd196#define spd_set_notification spd_set_notification_dylibloader_wrapper_speechd197#define spd_set_voice_rate spd_set_voice_rate_dylibloader_wrapper_speechd198#define spd_set_voice_rate_all spd_set_voice_rate_all_dylibloader_wrapper_speechd199#define spd_set_voice_rate_uid spd_set_voice_rate_uid_dylibloader_wrapper_speechd200#define spd_get_voice_rate spd_get_voice_rate_dylibloader_wrapper_speechd201#define spd_set_voice_pitch spd_set_voice_pitch_dylibloader_wrapper_speechd202#define spd_set_voice_pitch_all spd_set_voice_pitch_all_dylibloader_wrapper_speechd203#define spd_set_voice_pitch_uid spd_set_voice_pitch_uid_dylibloader_wrapper_speechd204#define spd_get_voice_pitch spd_get_voice_pitch_dylibloader_wrapper_speechd205#define spd_set_volume spd_set_volume_dylibloader_wrapper_speechd206#define spd_set_volume_all spd_set_volume_all_dylibloader_wrapper_speechd207#define spd_set_volume_uid spd_set_volume_uid_dylibloader_wrapper_speechd208#define spd_get_volume spd_get_volume_dylibloader_wrapper_speechd209#define spd_set_punctuation spd_set_punctuation_dylibloader_wrapper_speechd210#define spd_set_punctuation_all spd_set_punctuation_all_dylibloader_wrapper_speechd211#define spd_set_punctuation_uid spd_set_punctuation_uid_dylibloader_wrapper_speechd212#define spd_set_capital_letters spd_set_capital_letters_dylibloader_wrapper_speechd213#define spd_set_capital_letters_all spd_set_capital_letters_all_dylibloader_wrapper_speechd214#define spd_set_capital_letters_uid spd_set_capital_letters_uid_dylibloader_wrapper_speechd215#define spd_set_spelling spd_set_spelling_dylibloader_wrapper_speechd216#define spd_set_spelling_all spd_set_spelling_all_dylibloader_wrapper_speechd217#define spd_set_spelling_uid spd_set_spelling_uid_dylibloader_wrapper_speechd218#define spd_set_language spd_set_language_dylibloader_wrapper_speechd219#define spd_set_language_all spd_set_language_all_dylibloader_wrapper_speechd220#define spd_set_language_uid spd_set_language_uid_dylibloader_wrapper_speechd221#define spd_get_language spd_get_language_dylibloader_wrapper_speechd222#define spd_set_output_module spd_set_output_module_dylibloader_wrapper_speechd223#define spd_set_output_module_all spd_set_output_module_all_dylibloader_wrapper_speechd224#define spd_set_output_module_uid spd_set_output_module_uid_dylibloader_wrapper_speechd225#define spd_get_message_list_fd spd_get_message_list_fd_dylibloader_wrapper_speechd226#define spd_list_modules spd_list_modules_dylibloader_wrapper_speechd227#define free_spd_modules free_spd_modules_dylibloader_wrapper_speechd228#define spd_get_output_module spd_get_output_module_dylibloader_wrapper_speechd229#define spd_list_voices spd_list_voices_dylibloader_wrapper_speechd230#define spd_list_synthesis_voices spd_list_synthesis_voices_dylibloader_wrapper_speechd231#define free_spd_voices free_spd_voices_dylibloader_wrapper_speechd232#define spd_execute_command_with_list_reply spd_execute_command_with_list_reply_dylibloader_wrapper_speechd233#define spd_execute_command spd_execute_command_dylibloader_wrapper_speechd234#define spd_execute_command_with_reply spd_execute_command_with_reply_dylibloader_wrapper_speechd235#define spd_execute_command_wo_mutex spd_execute_command_wo_mutex_dylibloader_wrapper_speechd236#define spd_send_data spd_send_data_dylibloader_wrapper_speechd237#define spd_send_data_wo_mutex spd_send_data_wo_mutex_dylibloader_wrapper_speechd238extern void (*SPDConnectionAddress__free_dylibloader_wrapper_speechd)( SPDConnectionAddress*);239extern SPDConnectionAddress* (*spd_get_default_address_dylibloader_wrapper_speechd)( char**);240extern SPDConnection* (*spd_open_dylibloader_wrapper_speechd)(const char*,const char*,const char*, SPDConnectionMode);241extern SPDConnection* (*spd_open2_dylibloader_wrapper_speechd)(const char*,const char*,const char*, SPDConnectionMode, SPDConnectionAddress*, int, char**);242extern void (*spd_close_dylibloader_wrapper_speechd)( SPDConnection*);243extern int (*spd_say_dylibloader_wrapper_speechd)( SPDConnection*, SPDPriority,const char*);244extern int (*spd_sayf_dylibloader_wrapper_speechd)( SPDConnection*, SPDPriority,const char*,...);245extern int (*spd_stop_dylibloader_wrapper_speechd)( SPDConnection*);246extern int (*spd_stop_all_dylibloader_wrapper_speechd)( SPDConnection*);247extern int (*spd_stop_uid_dylibloader_wrapper_speechd)( SPDConnection*, int);248extern int (*spd_cancel_dylibloader_wrapper_speechd)( SPDConnection*);249extern int (*spd_cancel_all_dylibloader_wrapper_speechd)( SPDConnection*);250extern int (*spd_cancel_uid_dylibloader_wrapper_speechd)( SPDConnection*, int);251extern int (*spd_pause_dylibloader_wrapper_speechd)( SPDConnection*);252extern int (*spd_pause_all_dylibloader_wrapper_speechd)( SPDConnection*);253extern int (*spd_pause_uid_dylibloader_wrapper_speechd)( SPDConnection*, int);254extern int (*spd_resume_dylibloader_wrapper_speechd)( SPDConnection*);255extern int (*spd_resume_all_dylibloader_wrapper_speechd)( SPDConnection*);256extern int (*spd_resume_uid_dylibloader_wrapper_speechd)( SPDConnection*, int);257extern int (*spd_key_dylibloader_wrapper_speechd)( SPDConnection*, SPDPriority,const char*);258extern int (*spd_char_dylibloader_wrapper_speechd)( SPDConnection*, SPDPriority,const char*);259extern int (*spd_wchar_dylibloader_wrapper_speechd)( SPDConnection*, SPDPriority, wchar_t);260extern int (*spd_sound_icon_dylibloader_wrapper_speechd)( SPDConnection*, SPDPriority,const char*);261extern int (*spd_set_voice_type_dylibloader_wrapper_speechd)( SPDConnection*, SPDVoiceType);262extern int (*spd_set_voice_type_all_dylibloader_wrapper_speechd)( SPDConnection*, SPDVoiceType);263extern int (*spd_set_voice_type_uid_dylibloader_wrapper_speechd)( SPDConnection*, SPDVoiceType, unsigned int);264extern SPDVoiceType (*spd_get_voice_type_dylibloader_wrapper_speechd)( SPDConnection*);265extern int (*spd_set_synthesis_voice_dylibloader_wrapper_speechd)( SPDConnection*,const char*);266extern int (*spd_set_synthesis_voice_all_dylibloader_wrapper_speechd)( SPDConnection*,const char*);267extern int (*spd_set_synthesis_voice_uid_dylibloader_wrapper_speechd)( SPDConnection*,const char*, unsigned int);268extern int (*spd_set_data_mode_dylibloader_wrapper_speechd)( SPDConnection*, SPDDataMode);269extern int (*spd_set_notification_on_dylibloader_wrapper_speechd)( SPDConnection*, SPDNotification);270extern int (*spd_set_notification_off_dylibloader_wrapper_speechd)( SPDConnection*, SPDNotification);271extern int (*spd_set_notification_dylibloader_wrapper_speechd)( SPDConnection*, SPDNotification,const char*);272extern int (*spd_set_voice_rate_dylibloader_wrapper_speechd)( SPDConnection*, signed int);273extern int (*spd_set_voice_rate_all_dylibloader_wrapper_speechd)( SPDConnection*, signed int);274extern int (*spd_set_voice_rate_uid_dylibloader_wrapper_speechd)( SPDConnection*, signed int, unsigned int);275extern int (*spd_get_voice_rate_dylibloader_wrapper_speechd)( SPDConnection*);276extern int (*spd_set_voice_pitch_dylibloader_wrapper_speechd)( SPDConnection*, signed int);277extern int (*spd_set_voice_pitch_all_dylibloader_wrapper_speechd)( SPDConnection*, signed int);278extern int (*spd_set_voice_pitch_uid_dylibloader_wrapper_speechd)( SPDConnection*, signed int, unsigned int);279extern int (*spd_get_voice_pitch_dylibloader_wrapper_speechd)( SPDConnection*);280extern int (*spd_set_volume_dylibloader_wrapper_speechd)( SPDConnection*, signed int);281extern int (*spd_set_volume_all_dylibloader_wrapper_speechd)( SPDConnection*, signed int);282extern int (*spd_set_volume_uid_dylibloader_wrapper_speechd)( SPDConnection*, signed int, unsigned int);283extern int (*spd_get_volume_dylibloader_wrapper_speechd)( SPDConnection*);284extern int (*spd_set_punctuation_dylibloader_wrapper_speechd)( SPDConnection*, SPDPunctuation);285extern int (*spd_set_punctuation_all_dylibloader_wrapper_speechd)( SPDConnection*, SPDPunctuation);286extern int (*spd_set_punctuation_uid_dylibloader_wrapper_speechd)( SPDConnection*, SPDPunctuation, unsigned int);287extern int (*spd_set_capital_letters_dylibloader_wrapper_speechd)( SPDConnection*, SPDCapitalLetters);288extern int (*spd_set_capital_letters_all_dylibloader_wrapper_speechd)( SPDConnection*, SPDCapitalLetters);289extern int (*spd_set_capital_letters_uid_dylibloader_wrapper_speechd)( SPDConnection*, SPDCapitalLetters, unsigned int);290extern int (*spd_set_spelling_dylibloader_wrapper_speechd)( SPDConnection*, SPDSpelling);291extern int (*spd_set_spelling_all_dylibloader_wrapper_speechd)( SPDConnection*, SPDSpelling);292extern int (*spd_set_spelling_uid_dylibloader_wrapper_speechd)( SPDConnection*, SPDSpelling, unsigned int);293extern int (*spd_set_language_dylibloader_wrapper_speechd)( SPDConnection*,const char*);294extern int (*spd_set_language_all_dylibloader_wrapper_speechd)( SPDConnection*,const char*);295extern int (*spd_set_language_uid_dylibloader_wrapper_speechd)( SPDConnection*,const char*, unsigned int);296extern char* (*spd_get_language_dylibloader_wrapper_speechd)( SPDConnection*);297extern int (*spd_set_output_module_dylibloader_wrapper_speechd)( SPDConnection*,const char*);298extern int (*spd_set_output_module_all_dylibloader_wrapper_speechd)( SPDConnection*,const char*);299extern int (*spd_set_output_module_uid_dylibloader_wrapper_speechd)( SPDConnection*,const char*, unsigned int);300extern int (*spd_get_message_list_fd_dylibloader_wrapper_speechd)( SPDConnection*, int, int*, char**);301extern char** (*spd_list_modules_dylibloader_wrapper_speechd)( SPDConnection*);302extern void (*free_spd_modules_dylibloader_wrapper_speechd)( char**);303extern char* (*spd_get_output_module_dylibloader_wrapper_speechd)( SPDConnection*);304extern char** (*spd_list_voices_dylibloader_wrapper_speechd)( SPDConnection*);305extern SPDVoice** (*spd_list_synthesis_voices_dylibloader_wrapper_speechd)( SPDConnection*);306extern void (*free_spd_voices_dylibloader_wrapper_speechd)( SPDVoice**);307extern char** (*spd_execute_command_with_list_reply_dylibloader_wrapper_speechd)( SPDConnection*, char*);308extern int (*spd_execute_command_dylibloader_wrapper_speechd)( SPDConnection*, char*);309extern int (*spd_execute_command_with_reply_dylibloader_wrapper_speechd)( SPDConnection*, char*, char**);310extern int (*spd_execute_command_wo_mutex_dylibloader_wrapper_speechd)( SPDConnection*, char*);311extern char* (*spd_send_data_dylibloader_wrapper_speechd)( SPDConnection*,const char*, int);312extern char* (*spd_send_data_wo_mutex_dylibloader_wrapper_speechd)( SPDConnection*,const char*, int);313int initialize_speechd(int verbose);314#ifdef __cplusplus315}316#endif317#endif318319320