119 |
#endif |
#endif |
120 |
#endif |
#endif |
121 |
|
|
122 |
#ifndef _P |
#ifndef __P |
123 |
# ifdef __STDC__ |
# ifdef __STDC__ |
124 |
# define _P(a) a |
# define __P(a) a |
125 |
# else |
# else |
126 |
# define _P(a) () |
# define __P(a) () |
127 |
# endif /* __STDC__ */ |
# endif /* __STDC__ */ |
128 |
#endif /* ! __P */ |
#endif /* ! __P */ |
129 |
|
|
130 |
static int socket_connection _P((char *, int)); |
static int socket_connection __P((char *, int)); |
131 |
static int pop_getline _P((popserver, char **)); |
static int pop_getline __P((popserver, char **)); |
132 |
static int sendline _P((popserver, char *)); |
static int sendline __P((popserver, char *)); |
133 |
static int fullwrite _P((int, char *, int)); |
static int fullwrite __P((int, char *, int)); |
134 |
static int getok _P((popserver)); |
static int getok __P((popserver)); |
135 |
#if 0 |
#if 0 |
136 |
static int gettermination _P((popserver)); |
static int gettermination __P((popserver)); |
137 |
#endif |
#endif |
138 |
static void pop_trash _P((popserver)); |
static void pop_trash __P((popserver)); |
139 |
static char *find_crlf _P((char *, int)); |
static char *find_crlf __P((char *, int)); |
140 |
|
|
141 |
#define ERROR_MAX 160 /* a pretty arbitrary size, but needs |
#define ERROR_MAX 160 /* a pretty arbitrary size, but needs |
142 |
to be bigger than the original |
to be bigger than the original |