1 2 3 4 5 6 7 8
#ifndef _TCP_H #define _TCP_H int tcp_init(void); void tcp_close(int fd); void tcp_newconnection(int fd, short event, void *arg); #endif