version 1.2, 2012/09/19 15:22:32
|
version 1.2.2.1, 2012/12/11 09:37:26
|
Line 215 int cfg_unsetPasswd(pwd_root_t * __restrict pwd, int c
|
Line 215 int cfg_unsetPasswd(pwd_root_t * __restrict pwd, int c
|
* cfg_setPasswd() - Set item in password or adding new item if not exists |
* cfg_setPasswd() - Set item in password or adding new item if not exists |
* |
* |
* @cfg = Password root |
* @cfg = Password root |
* @fields = Meaning continuous field | * @fields = Following parameters are continuous to certain field |
* @csName = Username |
* @csName = Username |
* @arg1 = Password |
* @arg1 = Password |
* @arg2 = UID |
* @arg2 = UID |
Line 228 int cfg_unsetPasswd(pwd_root_t * __restrict pwd, int c
|
Line 228 int cfg_unsetPasswd(pwd_root_t * __restrict pwd, int c
|
* @arg9 = Shell |
* @arg9 = Shell |
* return: 0 nothing changed, -1 error, 1 found and updated item or 2 added new item |
* return: 0 nothing changed, -1 error, 1 found and updated item or 2 added new item |
*/ |
*/ |
int cfg_setPasswd(pwd_root_t * __restrict pwd, u_char fields, const char *csName, ...); | int cfg_setPasswd(pwd_root_t * __restrict pwd, passwd_attr_t fields, const char *csName, ...); |
/* |
/* |
* cfg_getPasswd() - Get item from passwords and return structure from it |
* cfg_getPasswd() - Get item from passwords and return structure from it |
* |
* |