ne_socket.h | ne_socket.h | |||
---|---|---|---|---|
skipping to change at line 27 | skipping to change at line 27 | |||
Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, | Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, | |||
MA 02111-1307, USA | MA 02111-1307, USA | |||
*/ | */ | |||
#ifndef NE_SOCKET_H | #ifndef NE_SOCKET_H | |||
#define NE_SOCKET_H | #define NE_SOCKET_H | |||
#include <sys/types.h> | #include <sys/types.h> | |||
#ifdef WIN32 | ||||
#include <stdlib.h> /* for size_t */ | ||||
#endif | ||||
#include "ne_defs.h" | #include "ne_defs.h" | |||
#include "ne_ssl.h" /* for ne_ssl_context */ | #include "ne_ssl.h" /* for ne_ssl_context */ | |||
NE_BEGIN_DECLS | NE_BEGIN_DECLS | |||
#define NE_SOCK_ERROR (-1) | #define NE_SOCK_ERROR (-1) | |||
/* Read/Write timed out */ | /* Read/Write timed out */ | |||
#define NE_SOCK_TIMEOUT (-2) | #define NE_SOCK_TIMEOUT (-2) | |||
/* Socket was closed */ | /* Socket was closed */ | |||
#define NE_SOCK_CLOSED (-3) | #define NE_SOCK_CLOSED (-3) | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added | |||