ne_set_error man page on aLinux

Man page or keyword search:  
man Server   7435 pages
apropos Keyword Search (all sections)
Output format
aLinux logo
[printable version]

NE_GET_ERROR(3)		      neon API reference	       NE_GET_ERROR(3)

NAME
       ne_get_error, ne_set_error - error handling for HTTP sessions

SYNOPSIS
       #include <ne_session.h>

       const char *ne_get_error (ne_sesssion *session);

       void ne_set_error (ne_sesssion *session, const char *format, ...);

DESCRIPTION
       The  session error string is used to store any human-readable error in‐
       formation associated with any errors which occur whilst using the  HTTP
       session.

       The  ne_get_error  function  returns  the current session error string.
       This string persists only until it is changed by a subsequent operation
       on the session.

       The  ne_set_error  function  can	 be  used  to  set a new session error
       string, using a printf-style format string interface.

EXAMPLES
       Retrieve the current error string:

       ne_session *sess = ne_session_create(...);
       ...
       printf("Error was: %s\n", ne_get_error(sess));

       Set a new error string:

       ne_session *sess = ne_session_create(...);
       ...
       ne_set_error(sess, "Response missing header %s", "somestring");

AUTHOR
       Joe Orton <neon@webdav.org>.

neon 0.25.5			20 January 2006		       NE_GET_ERROR(3)
[top]

List of man pages available for aLinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net