5
char* parse(const char* buf, const int bytes, const int fd);
7
char* parse_history(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
8
char* parse_set(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
9
char* parse_stop(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
10
char* parse_cancel(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
11
char* parse_pause(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
12
char* parse_resume(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
13
char* parse_snd_icon(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
14
char* parse_char(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
15
char* parse_key(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
16
char* parse_list(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
17
char* parse_get(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
18
char* parse_help(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
19
char* parse_block(const char* buf, const int bytes, const int fd, TSpeechDSock* speechd_socket);
21
char* deescape_dot(const char *orig_text, size_t orig_len);
5
char *parse(const char *buf, const int bytes, const int fd);
7
char *parse_history(const char *buf, const int bytes, const int fd,
8
const TSpeechDSock * speechd_socket);
9
char *parse_set(const char *buf, const int bytes, const int fd,
10
const TSpeechDSock * speechd_socket);
11
char *parse_stop(const char *buf, const int bytes, const int fd,
12
const TSpeechDSock * speechd_socket);
13
char *parse_cancel(const char *buf, const int bytes, const int fd,
14
const TSpeechDSock * speechd_socket);
15
char *parse_pause(const char *buf, const int bytes, const int fd,
16
const TSpeechDSock * speechd_socket);
17
char *parse_resume(const char *buf, const int bytes, const int fd,
18
const TSpeechDSock * speechd_socket);
19
char *parse_snd_icon(const char *buf, const int bytes, const int fd,
20
const TSpeechDSock * speechd_socket);
21
char *parse_char(const char *buf, const int bytes, const int fd,
22
const TSpeechDSock * speechd_socket);
23
char *parse_key(const char *buf, const int bytes, const int fd,
24
const TSpeechDSock * speechd_socket);
25
char *parse_list(const char *buf, const int bytes, const int fd,
26
const TSpeechDSock * speechd_socket);
27
char *parse_get(const char *buf, const int bytes, const int fd,
28
const TSpeechDSock * speechd_socket);
29
char *parse_help(const char *buf, const int bytes, const int fd,
30
const TSpeechDSock * speechd_socket);
31
char *parse_block(const char *buf, const int bytes, const int fd,
32
TSpeechDSock * speechd_socket);
34
char *deescape_dot(const char *orig_text, size_t orig_len);
23
36
/* Function for parsing the input from clients */
24
char* get_param(const char *buf, const int n, const int bytes, const int lower_case);
37
char *get_param(const char *buf, const int n, const int bytes,
38
const int lower_case);
26
40
/* Other internal functions */
27
char* parse_general_event(const char *buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket,
29
int spd_utf8_read_char(char* pointer, char* character);
41
char *parse_general_event(const char *buf, const int bytes, const int fd,
42
const TSpeechDSock * speechd_socket,
44
int spd_utf8_read_char(char *pointer, char *character);