1 #include "language.h"
2 
3 #define NPARAMS 3
4 
5 typedef struct client CLIENT;
6 struct client
7 {
8   int fd;
9   int param[NPARAMS];
10   char punct[256];
11 };
12 
13 typedef struct setting setting;
14 struct setting
15 {
16   char *name;
17   char *value;
18   setting *next;
19 };
20 
21 /* es.c */
22 void terror(const char *s);
23 #define LOG_STDERR 0x10000
24 #ifdef DEBUG
25 void es_log(int flags, const char *text, ...);
26 #else
27 #define es_log(...)
28 #endif
29 
30 #ifdef EFLITE
31 #include "flite.h"
32 /* fs.c */
33 void add_tone_command(struct synth_struct *s, int freq, int dur, int vol);
34 #endif
35 
36 /* soccon.c */
37 int sockconnect(const char *fname);
38 
39 /* sockopen.c */
40 int sockopen(const char *fname);
41 
42 /* tone.c */
43 void do_tone(struct synth_struct *s, int freq, int dur, int vol, int flags);
44 #ifdef EFLITE
45 cst_wave *generate_tone(int freq, int dur, int vol);
46 #endif
47