--- libaitwww/src/aitwww.c 2013/01/17 14:52:44 1.4.6.1 +++ libaitwww/src/aitwww.c 2013/05/26 20:30:43 1.4.6.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitwww.c,v 1.4.6.1 2013/01/17 14:52:44 misho Exp $ +* $Id: aitwww.c,v 1.4.6.2 2013/05/26 20:30:43 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -55,21 +55,21 @@ char www_Error[STRSIZ]; #pragma GCC visibility pop // www_GetErrno() Get error code of last operation -inline int +int www_GetErrno() { return www_Errno; } // www_GetError() Get error text of last operation -inline const char * +const char * www_GetError() { return www_Error; } // www_SetErr() Set error to variables for internal use!!! -inline void +void www_SetErr(int eno, char *estr, ...) { va_list lst; @@ -243,7 +243,7 @@ www_parseQuery(const char *str) * @name = Name of cgi variable * return: NULL not found or !=NULL value */ -inline const char * +const char * www_getValue(cgi_t * __restrict cgi, const char *name) { struct tagCGI *t; @@ -361,7 +361,7 @@ www_delPair(cgi_t * __restrict cgi, const char *name) * @arg = Optional argument pass through callback * return: -1 error or >-1 number of elements */ -inline int +int www_listPairs(cgi_t * __restrict cgi, list_cb_t func, void *arg) { register int ret = 0; @@ -388,7 +388,7 @@ www_listPairs(cgi_t * __restrict cgi, list_cb_t func, * @output = file handle * return: <1 error or >0 writed bytes */ -inline int +int www_header(FILE *output) { FILE *f = output ? output : stdout; @@ -589,7 +589,7 @@ www_parseMultiPart(const char *str, int ctlen, const c * @ct = Content type * return: NULL error or !=NULL attributes */ -inline cgi_t * +cgi_t * www_parseAttributes(const char **ct) { struct tagCGI *t, *old = NULL; @@ -628,7 +628,7 @@ www_parseAttributes(const char **ct) * @name = Name of attribute variable * return: NULL not found or !=NULL value */ -inline ait_val_t * +ait_val_t * www_getAttribute(cgi_t * __restrict cgi, const char *name) { struct tagCGI *t;