#ifndef _EGG_NET_H #define _EGG_NET_H #ifdef EGG_SSL_EXT # ifndef EGG_SSL_INCS # include # include # include # define EGG_SSL_INCS 1 # endif #endif /* This is used by the net module to keep track of sockets and what's * queued on them */ typedef struct { int sock; #ifdef EGG_SSL_EXT SSL *ssl; #endif short flags; char *inbuf; char *outbuf; unsigned long outbuflen; /* Outbuf could be binary data */ unsigned long inbuflen; /* Inbuf could be binary data */ #ifdef USE_IPV6 unsigned int af; #endif /* USE_IPV6 */ } sock_list; #endif /* _EGG_NET_H */