--- libaitwww/inc/aitwww.h 2012/08/01 00:40:40 1.4 +++ libaitwww/inc/aitwww.h 2012/08/06 11:26:23 1.4.2.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitwww.h,v 1.4 2012/08/01 00:40:40 misho Exp $ +* $Id: aitwww.h,v 1.4.2.2 2012/08/06 11:26:23 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -249,6 +249,14 @@ inline char www_x2c(const char *str); * return: none */ inline void www_unescape(char * __restrict str); +/* + * www_undot() - Undotted and clean WWW query filename + * + * @fname = query filename + * @fnlen = filename length + * return: -1 error, 0 not valid filename or >0 validated filename length + */ +int www_undot(const char * __restrict fname, int fnlen); /*