unstrip-downed Class 2 error messages table
[efax.git] / efaxmsg.h
1 #ifndef _EFAXMSG_H
2 #define _EFAXMSG_H
3
4 #include <time.h>
5
6 #ifndef uchar
7 #define uchar unsigned char
8 #endif
9
10                     /* Messages & Program Arguments */
11
12 enum  cchar {                           /* control characters */
13   NUL, SOH, STX, ETX, EOT, ENQ, ACK, BEL, BS,  HT,  LF,
14   VT,  FF,  CR,  SO,  SI,  DLE, XON, DC2, XOFF,DC4, NAK,
15   SYN, ETB, CAN, EM,  SUB, ESC, FS,  GS,  RS,  US } ;
16
17 extern char *verb[] ;           /* types of messages to print */
18 extern char *argv0 ;            /* program name */
19
20 char *cname ( unsigned char c ) ;
21 int msg ( char *fmt, ... ) ;
22
23 extern int nxtoptind ;
24 extern char *nxtoptarg ;
25
26 int nextopt( int argc, char **argv, char *args ) ;
27
28 #endif
29
30