File: socket.h

package info (click to toggle)
gidentd 0.4.5-7.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 296 kB
  • ctags: 57
  • sloc: ansic: 616; sh: 419; makefile: 51
file content (20 lines) | stat: -rw-r--r-- 353 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <netinet/in.h>

extern int ipversion;
extern int inetd;
void OpenListenSock(int port, int forcev4);
char *ReadLine(void);
void SetInetdSocket();
int NewConn(void);
void Reply_User(char *user);
void Reply_Error(char *error);

typedef struct {
	struct in6_addr rh;
	struct in6_addr lh;
	int rp;
	int lp;
} Conn_Struct;

extern Conn_Struct conn;