--- libaitwww/inc/aitwww.h 2013/01/17 14:07:19 1.5.4.1 +++ libaitwww/inc/aitwww.h 2013/05/26 20:30:42 1.5.4.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitwww.h,v 1.5.4.1 2013/01/17 14:07:19 misho Exp $ +* $Id: aitwww.h,v 1.5.4.2 2013/05/26 20:30:42 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -116,9 +116,9 @@ typedef int (*list_cb_t)(struct tagCGI *, void *); // www_GetErrno() Get error code of last operation -inline int www_GetErrno(); +int www_GetErrno(); // www_GetError() Get error text of last operation -inline const char *www_GetError(); +const char *www_GetError(); /* @@ -158,7 +158,7 @@ cgi_t *www_parseMultiPart(const char *str, int ctlen, * @name = Name of cgi variable * return: NULL not found or !=NULL value */ -inline const char *www_getValue(cgi_t * __restrict cgi, const char *name); +const char *www_getValue(cgi_t * __restrict cgi, const char *name); /* * www_addValue() - Add new or update if exists CGI variable * @@ -184,7 +184,7 @@ int www_delPair(cgi_t * __restrict cgi, const char *na * @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); +int www_listPairs(cgi_t * __restrict cgi, list_cb_t func, void *arg); /* * www_header() - Output initial html header @@ -192,7 +192,7 @@ inline int www_listPairs(cgi_t * __restrict cgi, list_ * @output = file handle * return: <1 error or >0 writed bytes */ -inline int www_header(FILE *output); +int www_header(FILE *output); /* * www_parseAttributes() - Parse attributes @@ -200,7 +200,7 @@ inline int www_header(FILE *output); * @ct = Content type * return: NULL error or !=NULL attributes */ -inline cgi_t *www_parseAttributes(const char **ct); +cgi_t *www_parseAttributes(const char **ct); /* * www_getAttribute() - Get Attribute from attribute session * @@ -208,7 +208,7 @@ inline cgi_t *www_parseAttributes(const char **ct); * @name = Name of attribute variable * return: NULL not found or !=NULL value */ -inline ait_val_t *www_getAttribute(cgi_t * __restrict cgi, const char *name); +ait_val_t *www_getAttribute(cgi_t * __restrict cgi, const char *name); /* @@ -241,14 +241,14 @@ ait_val_t *www_getpair(char ** __restrict str, const c * @str = string * return: digit */ -inline char www_x2c(const char *str); +char www_x2c(const char *str); /* * www_unescape() - Unescape/decode WWW query string to host string * * @str = string * return: none */ -inline void www_unescape(char * __restrict str); +void www_unescape(char * __restrict str); /* * www_undot() - Undotted and clean WWW query filename * @@ -264,14 +264,14 @@ ait_val_t *www_undot(const char * __restrict pname); * @url = Input URL * return: -1 error or 0 ok */ -inline int www_URLInit(struct tagIOURL * __restrict url); +int www_URLInit(struct tagIOURL * __restrict url); /* * www_URLFree() - URL free structure * * @url = Input parsed URL * return: none */ -inline void www_URLFree(struct tagIOURL * __restrict url); +void www_URLFree(struct tagIOURL * __restrict url); /* * www_URLGet() - Parse and get data from input URL *