ne_defs.h   ne_defs.h 
/*
Standard definitions for neon headers
Copyright (C) 2003, Joe Orton <joe@manyfish.co.uk>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA
*/
#undef BEGIN_NEON_DECLS #undef BEGIN_NEON_DECLS
#undef END_NEON_DECLS #undef END_NEON_DECLS
#ifdef __cplusplus #ifdef __cplusplus
# define BEGIN_NEON_DECLS extern "C" { # define BEGIN_NEON_DECLS extern "C" {
# define END_NEON_DECLS } # define END_NEON_DECLS }
#else #else
# define BEGIN_NEON_DECLS /* empty */ # define BEGIN_NEON_DECLS /* empty */
# define END_NEON_DECLS /* empty */ # define END_NEON_DECLS /* empty */
#endif #endif
/* define ssize_t for Win32 */
#if defined(WIN32) && !defined(ssize_t)
#define ssize_t int
#endif
 End of changes. 2 change blocks. 
0 lines changed or deleted 20 lines changed or added


 ne_socket.h   ne_socket.h 
/* /*
socket handling interface socket handling interface
Copyright (C) 1999-2002, Joe Orton <joe@manyfish.co.uk> Copyright (C) 1999-2003, Joe Orton <joe@manyfish.co.uk>
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version. version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details. Library General Public License for more details.
skipping to change at line 32 skipping to change at line 32
#ifndef NE_SOCKET_H #ifndef NE_SOCKET_H
#define NE_SOCKET_H #define NE_SOCKET_H
#include <sys/types.h> #include <sys/types.h>
#include "ne_defs.h" #include "ne_defs.h"
#include "ne_ssl.h" /* for ne_ssl_context */ #include "ne_ssl.h" /* for ne_ssl_context */
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)
/* Connection was reset (e.g. server crashed) */ /* Connection was reset (e.g. server crashed) */
#define NE_SOCK_RESET (-4) #define NE_SOCK_RESET (-4)
/* Secure connection was subject to possible truncation attack. */ /* Secure connection was subject to possible truncation attack. */
#define NE_SOCK_TRUNC (-5) #define NE_SOCK_TRUNC (-5)
 End of changes. 2 change blocks. 
6 lines changed or deleted 1 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/