diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-11-20 07:20:26 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-11-20 07:20:26 +0000 |
| commit | f20f4889bfe5a02cd9b77868b90cc8042352176a (patch) | |
| tree | 339e085e385190ea5f3a9246c3a790c45036c61c /src/socket.h | |
| parent | 087b4f865d861162eb32a4081bb7c2087688919a (diff) | |
| download | luasocket-f20f4889bfe5a02cd9b77868b90cc8042352176a.tar.gz luasocket-f20f4889bfe5a02cd9b77868b90cc8042352176a.tar.bz2 luasocket-f20f4889bfe5a02cd9b77868b90cc8042352176a.zip | |
Changed prefix of function names to match module names.
Removed some warnings and useless code.
Diffstat (limited to 'src/socket.h')
| -rw-r--r-- | src/socket.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/socket.h b/src/socket.h index a599d8a..de5d79f 100644 --- a/src/socket.h +++ b/src/socket.h | |||
| @@ -50,7 +50,8 @@ void socket_setnonblocking(p_socket ps); | |||
| 50 | void socket_setblocking(p_socket ps); | 50 | void socket_setblocking(p_socket ps); |
| 51 | 51 | ||
| 52 | int socket_waitfd(p_socket ps, int sw, p_timeout tm); | 52 | int socket_waitfd(p_socket ps, int sw, p_timeout tm); |
| 53 | int socket_select(int n, fd_set *rfds, fd_set *wfds, fd_set *efds, p_timeout tm); | 53 | int socket_select(t_socket n, fd_set *rfds, fd_set *wfds, fd_set *efds, |
| 54 | p_timeout tm); | ||
| 54 | 55 | ||
| 55 | int socket_connect(p_socket ps, SA *addr, socklen_t addr_len, p_timeout tm); | 56 | int socket_connect(p_socket ps, SA *addr, socklen_t addr_len, p_timeout tm); |
| 56 | int socket_create(p_socket ps, int domain, int type, int protocol); | 57 | int socket_create(p_socket ps, int domain, int type, int protocol); |
