File: tts.h

package info (click to toggle)
screader 1.8-5.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,048 kB
  • ctags: 1,394
  • sloc: ansic: 21,587; sh: 1,128; makefile: 147
file content (34 lines) | stat: -rw-r--r-- 672 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* screader - A screen reader using software TTS
   (c)1997 J. Lemmens
*/

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <termios.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#include <signal.h>
#include <sys/file.h>
#ifndef __hpux
#	include <sys/vt.h>
#	include <linux/kd.h>
#endif
#include <sys/ioctl.h>
#include <sys/wait.h>

#define TOGGLE_ON		1500
#define TOGGLE_OFF		5000
#define DURATION		300
#define TTS_FILE		"tts"
#define TTS_PID_FILE		"/tmp/tts.pid"
#define Silence()		TTS (NULL, 0, 0)

extern char abt_dir[100];
#ifdef __SCREADER
typedef scrstat;
#endif
extern scrstat scr;
extern int vc_number;