1 #ifndef workerh 2 #define workerh 3 4 #include "cfg.h" 5 void tx (struct txconf_s*); 6 void txstatus (struct txconf_s *, int log_level); 7 void rx ( struct rxconf_s*); 8 int tcp_connect ( char * host, int port ); 9 int tcp_recieve_prep ( struct sockaddr_in * sa, int * socknum, int inport); 10 int tcp_accept (struct sockaddr_in * sa, int socknum ); 11 12 #endif 13