Diff for /libaitwww/inc/aitwww.h between versions 1.1 and 1.2

version 1.1, 2012/03/08 23:40:21 version 1.2, 2012/03/10 00:26:49
Line 47  SUCH DAMAGE. Line 47  SUCH DAMAGE.
 #define __AITWWW_H  #define __AITWWW_H
   
   
   #include <sys/types.h>
   #include <sys/queue.h>
   #include <sys/uio.h>
   
   
 struct tagCGI {  struct tagCGI {
         char                    *cgi_name;          char                    *cgi_name;
         char                    *cgi_value;          char                    *cgi_value;
Line 70  struct tagMIME { Line 75  struct tagMIME {
         SLIST_ENTRY(tagMIME)    mime_node;          SLIST_ENTRY(tagMIME)    mime_node;
 };  };
   
   typedef int (*list_cb_t)(struct tagCGI *, void *);
   
   
   // www_GetErrno() Get error code of last operation
   inline int www_GetErrno();
   // www_GetError() Get error text of last operation
   inline const char *www_GetError();
   
   
 /*  /*
  * www_initCGI() - Init CGI program   * www_initCGI() - Init CGI program
  *   *
Line 125  int www_addValue(cgi_t * __restrict cgi, const char *n Line 138  int www_addValue(cgi_t * __restrict cgi, const char *n
  * return: -1 error, 0 not found or 1 deleted ok   * return: -1 error, 0 not found or 1 deleted ok
  */   */
 int www_delPair(cgi_t * __restrict cgi, const char *name);  int www_delPair(cgi_t * __restrict cgi, const char *name);
   /*
    * www_listPairs() - Walk over CGI session variables
    *
    * @cgi = Cgi session
    * @func = If !=NULL call function for each element
    * @arg = Optional argument pass through callback
    * return: -1 error or >-1 number of elements
    */
   inline int www_listPairs(cgi_t * __restrict cgi, list_cb_t func, void *arg);
   
 /*  /*
  * www_header() - Output initial html header   * www_header() - Output initial html header

Removed from v.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>