File: efaxmsg.h

package info (click to toggle)
efax 08a-4
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 352 kB
  • ctags: 532
  • sloc: ansic: 4,161; sh: 624; makefile: 79
file content (38 lines) | stat: -rw-r--r-- 793 bytes parent folder | download | duplicates (2)
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
35
36
37
38
#ifndef _EFAXMSG_H
#define _EFAXMSG_H

#ifndef u_char
#define u_char unsigned char
#endif

#include <time.h>

		    /* Messages & Program Arguments */

enum  cchar {				/* control characters */
  NUL, SOH, STX, ETX, EOT, ENQ, ACK, BEL, BS,  HT,  LF,
  VT,  FF,  CR,  SO,  SI,  DLE, XON, DC2, XOFF,DC4, NAK,
  SYN, ETB, CAN, EM,  SUB, ESC, FS,  GS,  RS,  US } ;

extern char *verb[] ;		/* types of messages to print */
extern char *argv0 ;		/* program name */

char *cname ( unsigned char c ) ;
time_t tstamp ( time_t last, FILE *f ) ;
int msg ( char *fmt, ... ) ;

extern int nxtoptind ;
extern char *nxtoptarg ;

extern int sys_nerr;
#ifdef DEBIAN
extern const char *const sys_errlist[]; 
#else
extern char *sys_errlist[];
#endif

int nextopt( int argc, char **argv, char *args ) ;

#endif