version 1.1.2.3, 2012/09/18 13:24:50
|
version 1.1.2.4, 2012/09/18 13:32:48
|
Line 166 int cfgReadPasswd(FILE *f, pwd_root_t * __restrict pwd
|
Line 166 int cfgReadPasswd(FILE *f, pwd_root_t * __restrict pwd
|
* return: -1 error or 0 ok |
* return: -1 error or 0 ok |
*/ |
*/ |
int cfgWritePasswd(FILE *f, pwd_root_t * __restrict pwd); |
int cfgWritePasswd(FILE *f, pwd_root_t * __restrict pwd); |
|
|
#if 0 |
|
/* |
/* |
* ReadPasswd() Read from file and add new item to user array | * cfgConcatPasswd() - Concat two password roots into one |
* @f = file resource | * |
* @ppwd = User array | * @pwd = Password root |
* return: 0 ok; -1 error:: can`t allocate memory | * @add_pwd = Concated password root will be destroy after merge |
*/ | * return: -1 error or 0 ok |
int ReadPasswd(FILE *f, passwd_t * __restrict ppwd); | */ |
/* | int cfgConcatPasswd(pwd_root_t * __restrict pwd, pwd_root_t * __restrict add_pwd); |
* WritePasswd() Write to file from items in array | |
* @f = file resource | |
* @ppwd = User array | |
* return: 0 ok; -1 error:: can`t write to file | |
*/ | |
int WritePasswd(FILE *f, passwd_t * __restrict ppwd); | |
|
|
| #if 0 |
/* | |
* pwdCleanStr() Free strings in passwd_t value | |
* @pwd = User object | |
* return: none | |
*/ | |
inline void pwdCleanStr(passwd_t __restrict pwd); | |
/* |
/* |
* pwdFreeValue() Free passwd_t value |
* pwdFreeValue() Free passwd_t value |
* @ppwd = User object |
* @ppwd = User object |