ne_socket.h   ne_socket.h 
skipping to change at line 44 skipping to change at line 44
#endif #endif
#ifdef NEON_SSL #ifdef NEON_SSL
#include <openssl/ssl.h> #include <openssl/ssl.h>
#endif #endif
#include "ne_defs.h" #include "ne_defs.h"
BEGIN_NEON_DECLS BEGIN_NEON_DECLS
/* define ssize_t for Win32 */
#if defined(WIN32) && !defined(ssize_t)
#define ssize_t int
#endif
#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
typedef struct ne_socket_s ne_socket; typedef struct ne_socket_s ne_socket;
typedef void (*ne_block_reader) ( typedef void (*ne_block_reader) (
void *userdata, const char *buf, size_t len); void *userdata, const char *buf, size_t len);
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added


 ne_utils.h   ne_utils.h 
skipping to change at line 68 skipping to change at line 68
#else #else
#define ne_snprintf snprintf #define ne_snprintf snprintf
#define ne_vsnprintf vsnprintf #define ne_vsnprintf vsnprintf
#endif #endif
#ifndef WIN32 #ifndef WIN32
#undef min #undef min
#define min(a,b) ((a)<(b)?(a):(b)) #define min(a,b) ((a)<(b)?(a):(b))
#endif #endif
#ifdef WIN32
/* some of the API uses ssize_t so we need to define it. */
#define ssize_t int
#endif
/* CONSIDER: mutt has a nicer way of way of doing debugging output... maybe /* CONSIDER: mutt has a nicer way of way of doing debugging output... maybe
* switch to like that. */ * switch to like that. */
#ifdef __GNUC__ #ifdef __GNUC__
/* really, we want to do this if we have any C99-capable compiler, so /* really, we want to do this if we have any C99-capable compiler, so
* what's a better test? */ * what's a better test? */
#ifndef NE_DEBUGGING #ifndef NE_DEBUGGING
#define NE_DEBUG(x, fmt, args...) #define NE_DEBUG(x, fmt, args...)
#else #else
 End of changes. 1 change blocks. 
5 lines changed or deleted 0 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/