--- libaitcfg/inc/aitpwd.h 2012/09/19 13:02:58 1.1.2.10 +++ libaitcfg/inc/aitpwd.h 2012/09/19 13:44:25 1.1.2.11 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitpwd.h,v 1.1.2.10 2012/09/19 13:02:58 misho Exp $ +* $Id: aitpwd.h,v 1.1.2.11 2012/09/19 13:44:25 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -188,9 +188,10 @@ int cfgConcatPasswd(pwd_root_t * __restrict pwd, pwd_r * @pwd = Password root * @csName = Username * @csPass = Password - * return: -1 error, 1 deny or 0 allow + * return: =NULL deny or !=NULL allow */ -int cfgAuthPasswd(pwd_root_t * __restrict pwd, const char *csName, const char *csPass); +const struct tagUser *cfgAuthPasswd(pwd_root_t * __restrict pwd, + const char *csName, const char *csPass); /* * cfg_findPasswdBy() - Find user by criteria position in list