Signed-off-by: Atul Rai <a.rai@samsung.com>
// long long int timestamp;
} uam_db_user_info_t;
-int _uam_core_add_user(const char *name, const char *account);
+int _uam_core_add_user(const char *account, const char *name);
int _uam_core_remove_user(const char *account);
FUNC_EXIT;
}
-int _uam_core_add_user(const char *name, const char *account)
+int _uam_core_add_user(const char *account, const char *name)
{
FUNC_ENTRY;
GSList *l;
}
l = g_slist_find_custom(users, USER_ACCOUNT_DEFAULT, __compare_user_account);
+ retv_if(NULL == l, UAM_ERROR_INTERNAL);
user = l->data;
memset(user_info, 0x00, sizeof(uam_user_info_t));