version 1.1.2.6, 2012/09/19 12:23:12
|
version 1.1.2.7, 2012/09/19 12:35:10
|
Line 68 int main()
|
Line 68 int main()
|
u = (struct tagUser *) cfg_getPasswd(&db, PWD_CRIT_NAME, ""); |
u = (struct tagUser *) cfg_getPasswd(&db, PWD_CRIT_NAME, ""); |
printf("cfg_getPasswd %p NAME \"\"\n", u); |
printf("cfg_getPasswd %p NAME \"\"\n", u); |
|
|
|
printf("cfg_setPasswd %p\n", cfg_setPasswd(&db, 3, "use", "alabala", 101, 0, |
|
NULL, 0, 0, NULL, NULL, NULL)); |
|
printf("cfg_setPasswd %p\n", cfg_setPasswd(&db, 4, "use", "alabala", 101, 0, |
|
NULL, 0, 0, NULL, NULL, NULL)); |
|
|
#if 0 |
#if 0 |
/* unit test set */ |
/* unit test set */ |
printf("attr=%d set %d NULL\n", ALL, pwd_SetAttribute(&db, ALL, NULL)); |
printf("attr=%d set %d NULL\n", ALL, pwd_SetAttribute(&db, ALL, NULL)); |