xref: /freebsd/usr.sbin/ppp/server.h (revision 01ec25112cec96523085abaf06c6f109dc92ac73)
1 extern int server;
2 
3 extern int ServerLocalOpen(const char *name, mode_t mask);
4 extern int ServerTcpOpen(int);
5 extern void ServerClose(void);
6 
7 #define UNKNOWN_SERVER (-2)
8 #define NO_SERVER      (-1)
9 #define LOCAL_SERVER   (1)
10 #define INET_SERVER    (2)
11 
12 extern int ServerType(void);
13