13 |
|
|
14 |
#include <string.h> |
#include <string.h> |
15 |
#include "obj_srvr.h" |
#include "obj_srvr.h" |
16 |
/*#include "flexdef.h"*/ |
#include "flexdef.h" |
17 |
|
|
18 |
#ifdef VMS |
#ifdef VMS |
19 |
#include <unixio.h> |
#include <unixio.h> |
20 |
#endif |
#endif |
21 |
|
|
|
/* |
|
22 |
#include <string.h> |
#include <string.h> |
23 |
#include <stdlib.h> |
#include <stdlib.h> |
24 |
#include <unistd.h> |
#include <unistd.h> |
25 |
|
#ifdef VMS |
26 |
#include <types.h> |
#include <types.h> |
27 |
#include <socket.h> |
#include <socket.h> |
28 |
#include <in.h> |
#include <in.h> |
29 |
#include <inet.h> |
#include <inet.h> |
30 |
|
#include <timeb.h> |
31 |
|
#else |
32 |
|
#include <sys/types.h> |
33 |
|
#include <sys/socket.h> |
34 |
|
#include <netinet/in.h> |
35 |
|
#include <arpa/inet.h> |
36 |
|
#include <sys/timeb.h> |
37 |
|
#endif |
38 |
#include <netdb.h> |
#include <netdb.h> |
39 |
#include <stdio.h> |
#include <stdio.h> |
40 |
#include <errno.h> |
#include <errno.h> |
41 |
#include <time.h> |
#include <time.h> |
|
#include <timeb.h> |
|
|
*/ |
|
|
|
|
|
#include <ctype.h> |
|
|
#include <stdarg.h> |
|
|
#include <stdio.h> |
|
|
#include <stdlib.h> |
|
|
#include <string.h> |
|
|
#include <stdbool.h> |
|
|
|
|
42 |
|
|
43 |
#define bcopy(s,d,l) memcpy(d,s,l) |
#define bcopy(s,d,l) memcpy(d,s,l) |
44 |
#define bzero(d,l) memset(d,0,l) |
#define bzero(d,l) memset(d,0,l) |
47 |
char buf[BUF_SIZE]; |
char buf[BUF_SIZE]; |
48 |
int sock; |
int sock; |
49 |
|
|
50 |
|
#ifdef VMS |
51 |
|
#include "obj_srvr_tab.h" |
52 |
|
#else |
53 |
#include "obj_srvr.tab.h" |
#include "obj_srvr.tab.h" |
54 |
|
#endif |
55 |
|
|
56 |
int lineno = 1; |
int lineno = 1; |
57 |
char mode; |
char mode; |