ne_defs.h   ne_defs.h 
/* /*
Standard definitions for neon headers Standard definitions for neon headers
Copyright (C) 2003-2004, Joe Orton <joe@manyfish.co.uk> Copyright (C) 2003-2005, 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 48 skipping to change at line 48
#if __GNUC__ >= 3 #if __GNUC__ >= 3
#define ne_attribute_malloc __attribute__((malloc)) #define ne_attribute_malloc __attribute__((malloc))
#else #else
#define ne_attribute_malloc #define ne_attribute_malloc
#endif #endif
#define ne_attribute(x) __attribute__(x) #define ne_attribute(x) __attribute__(x)
#else #else
#define ne_attribute(x) #define ne_attribute(x)
#define ne_attribute_malloc #define ne_attribute_malloc
#endif #endif
#ifndef NE_BUFSIZ
#define NE_BUFSIZ 8192
#endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 1 lines changed or added


 ne_request.h   ne_request.h 
skipping to change at line 145 skipping to change at line 145
* non-zero, blocks of the response body will be passed to the reader * non-zero, blocks of the response body will be passed to the reader
* callback as the response is read. After all the response body has * callback as the response is read. After all the response body has
* been read, the callback will be called with a 'len' argument of * been read, the callback will be called with a 'len' argument of
* zero. */ * zero. */
void ne_add_response_body_reader(ne_request *req, ne_accept_response accpt, void ne_add_response_body_reader(ne_request *req, ne_accept_response accpt,
ne_block_reader reader, void *userdata); ne_block_reader reader, void *userdata);
/* Retrieve the value of the response header field with given name; /* Retrieve the value of the response header field with given name;
* returns NULL if no response header with given name was found. The * returns NULL if no response header with given name was found. The
* return value is valid only until the next call to either * return value is valid only until the next call to either
* ne_request_dispatch or ne_begin_request for this request. */ * ne_request_destroy or ne_begin_request for this request. */
const char *ne_get_response_header(ne_request *req, const char *name); const char *ne_get_response_header(ne_request *req, const char *name);
/* Iterator interface for response headers: if passed a NULL cursor, /* Iterator interface for response headers: if passed a NULL cursor,
* returns the first header; if passed a non-NULL cursor pointer, * returns the first header; if passed a non-NULL cursor pointer,
* returns the next header. The return value is a cursor pointer: if * returns the next header. The return value is a cursor pointer: if
* it is non-NULL, *name and *value are set to the name and value of * it is non-NULL, *name and *value are set to the name and value of
* the header field. If the return value is NULL, no more headers are * the header field. If the return value is NULL, no more headers are
* found, *name and *value are undefined. * found, *name and *value are undefined.
* *
* The order in which response headers is returned is undefined. Both * The order in which response headers is returned is undefined. Both
 End of changes. 1 change blocks. 
1 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/