Tue, 05 Jul 2011 18:12:17 -0700
ssl: Add a missing call to setciphers()
0 | 1 | #ifndef USOCKET_H |
2 | #define USOCKET_H | |
3 | /*=========================================================================*\ | |
4 | * LuaSocket 2.0.2 | |
5 | * Copyright (C) 2004-2007 Diego Nehab | |
6 | * | |
7 | * Socket compatibilization module for Unix | |
8 | * | |
9 | * RCS ID: $Id: usocket.h 6 2006-04-30 20:33:05Z brunoos $ | |
10 | \*=========================================================================*/ | |
11 | ||
12 | #ifdef SOCKET_POLL | |
13 | #include <sys/poll.h> | |
14 | #define WAITFD_R POLLIN | |
15 | #define WAITFD_W POLLOUT | |
16 | #define WAITFD_C (POLLIN|POLLOUT) | |
17 | #else | |
18 | #define WAITFD_R 1 | |
19 | #define WAITFD_W 2 | |
20 | #define WAITFD_C (WAITFD_R|WAITFD_W) | |
21 | #endif | |
22 | ||
23 | typedef int t_socket; | |
24 | typedef t_socket *p_socket; | |
25 | ||
26 | #define SOCKET_INVALID (-1) | |
27 | ||
28 | #endif /* USOCKET_H */ |