luasocket/src/tcp.h

21 lines
260 B
C
Raw Normal View History

2003-05-25 03:54:13 +02:00
#ifndef TCP_H
#define TCP_H
#include <lua.h>
#include "buffer.h"
#include "timeout.h"
#include "socket.h"
2003-05-25 03:54:13 +02:00
typedef struct t_tcp_ {
t_sock sock;
t_io io;
t_buf buf;
t_tm tm;
} t_tcp;
typedef t_tcp *p_tcp;
void tcp_open(lua_State *L);
#endif