fixes init script for non ipv6 enabled systems #472755
[packages/xinetd.git] / xinetd / intcommon.h
1 #ifndef INTCOMMON_H
2 #define INTCOMMON_H
3
4 #include "config.h"
5 #include <sys/types.h>
6 #include "int.h"
7
8 void int_fail(const struct intercept_s *ip,const char *lsyscall);
9 int int_select(int max,fd_set *read_mask);
10 #ifdef __GNUC__
11 __attribute__ ((noreturn))
12 #endif
13 void int_exit(struct intercept_s *ip);
14 void int_init(struct intercept_s *ip,struct server *serp);
15
16 channel_s *int_newconn( struct intercept_s *ip, union xsockaddr *sinp, 
17                         int remote_socket );
18 channel_s *int_lookupconn( struct intercept_s *ip, union xsockaddr *sinp, 
19                            bool_int *addr_checked );
20 #endif
21