Package neon-devel

Development libraries and C header files for the neon library

http://www.webdav.org/neon/

The development library for the C language HTTP and WebDAV client library.

General Commands (Section 1)
neon-config
The neon-config script provides information about an installed copy of the neon library. The --cflags and --libs options instruct how to compile and link an...
Library Functions (Section 3)
ne_add_request_header
The functions ne_add_request_header and ne_print_request_header can be used to add headers to a request, before it is sent. ne_add_request_header simply adds a...
ne_addr_resolve
The ne_addr_resolve function resolves the given hostname, returning an ne_sock_addr object representing the address (or addresses) associated with the hostname...
ne_buffer
The ne_buffer type represents an expandable memory buffer for holding NUL-terminated strings. The data field points to the beginnning of the string, the length...
ne_buffer_append
The ne_buffer_append and ne_buffer_zappend functions append a string to the end of a buffer; extending the buffer as necessary. The len passed to...
ne_buffer_clear
The ne_buffer_clear function sets the string stored in buf to be the empty string (""). The ne_buffer_altered function must be used after the string stored in...
ne_buffer_create
ne_buffer_create creates a new buffer object, with an implementation-defined initial size. ne_buffer_ncreate creates an ne_buffer where the minimum initial size...
ne_buffer_destroy
ne_buffer_destroy frees all memory associated with the buffer. ne_buffer_finish frees the buffer structure, but not the actual string stored in the buffer...
ne_get_error
The session error string is used to store any human-readable error information associated with any errors which occur whilst using the HTTP session. The...
ne_get_response_header
To retrieve the value of a response header field, the ne_get_response_header function can be used, and is given the name of the header to return. To iterate...
ne_get_status
The ne_get_status function returns a pointer to the HTTP status object giving the result of a request. The object returned only becomes valid once the request...
ne_has_support
The ne_has_support function can be used to determine whether a particular optional feature, given by the feature code feature, is supported. The following...
ne_i18n_init
The ne_i18n_init function can be used to enable support for translated messages in the neon library. The encoding parameter, if non-NULL, specifies the...
ne_iaddr_make
ne_iaddr_make creates an ne_inet_addr object from a raw binary network address; for instance the four bytes 0x7f 0x00 0x00 0x01 represent the IPv4 address...
ne_malloc
The functions ne_malloc, ne_calloc, ne_realloc, ne_strdup and ne_strdnup provide wrappers for the equivalent functions in the standard C library. The wrappers...
neon
neon is an HTTP and WebDAV client library. The major abstractions exposed are the HTTP session, created by ne_session_create; and the HTTP request, created by...
ne_request_create
The ne_request object represents an HTTP request and the associated response. The ne_request_create function creates a new request object for the given session...
ne_session_create
An ne_session object represents an HTTP session - a logical grouping of a sequence of HTTP requests made to a certain server. Any requests made using the...
ne_session_proxy
One (and no more than one) of the functions ne_session_proxy, ne_session_system_proxy, ne_session_socks_proxy, ne_set_addrlist can be used to configure a proxy...
ne_set_request_body_buffer
The ne_set_request_body_buffer function specifies that a message body should be included with the body, which is stored in the count bytes buffer buf. The...
ne_set_request_flag
The ne_set_request_flag function enables or disables a per-request flag. Passing a non-zero value argument enables the flag, and zero disables it. The following...
ne_set_server_auth
The ne_auth_creds function type defines a callback which is invoked when a server or proxy server requires user authentication for a particular request. The...
ne_set_session_flag
The ne_set_session_flag function enables or disables a session flag. Passing a non-zero value argument enables the flag, and zero disables it. The following...
ne_set_useragent
The User-Agent request header is used to identify the software which generated the request for statistical or debugging purposes. neon does not send a...
ne_shave
ne_shave returns a portion of str with any leading or trailing characters in the whitespace array removed. str may be modified. Note that the return value may...
ne_sock_init
In some platforms and configurations, neon may be using some socket or SSL libraries which require global initialization before use. To perform this...
ne_ssl_cert_cmp
The ne_ssl_cert_cmp function can be used to compare two certificate objects; it returns zero if they refer to the same certificate, and non-zero otherwise. The...
ne_ssl_cert_identity
The function ne_ssl_cert_identity retrieves the “identity” of a certificate; for an SSL server certificate, this will be the hostname for which the certificate...
ne_ssl_cert_read
The ne_ssl_cert_write function writes a certificate to a file using the PEM encoding. The ne_ssl_cert_export function returns a base64-encoded NUL-terminated...
ne_ssl_clicert_read
The ne_ssl_clicert_read function reads a client certificate from a PKCS#12-formatted file, and returns an ne_ssl_client_cert object. If the client certificate...
ne_ssl_readable_dname
The ne_ssl_readable_dname function creates a single-line, human-readable string out of an ne_ssl_dname object. The returned string is malloc()-allocated, and...
ne_ssl_set_verify
To enable manual SSL certificate verification, a callback can be registered using ne_ssl_set_verify. If such a callback is not registered, when a connection is...
ne_ssl_trust_cert
To indicate that a given certificate is trusted by the user, the certificate object can be passed to ne_ssl_trust_cert. The certificate object is duplicated...
ne_status
An ne_status type represents an HTTP response status; used in response messages giving a result of request. The major_version and minor_version fields give the...
ne_token
ne_token and ne_qtoken tokenize the string at the location stored in the pointer str. Each time the function is called, it returns the next token, and modifies...
ne_version_match
The ne_version_match function returns non-zero if the library version is not of major version major, or the minor version is less than minor. For neon versions...
ne_xml_create
The ne_xml_create function creates an XML parser object, which can be used for parsing XML documents using stacked SAX handlers.