ftp://ftp.metalab.unc.edu/pub/Linux/apps/serialcomm/fax/efax-0.9.tar.gz
[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 time_t tstamp ( time_t last, FILE *f ) ;
22 int msg ( char *fmt, ... ) ;
23
24 extern int nxtoptind ;
25 extern char *nxtoptarg ;
26
27 int nextopt( int argc, char **argv, char *args ) ;
28
29 #endif
30
31