}
PARA_DEBUG_LOG("received %s request for user %s\n",
use_rc4? "rc4" : "auth", u.name);
- if ((ret = get_user(&u)) < 0)
+ if ((ret = lookup_user(&u)) < 0)
goto err_out;
if (!ret) { /* user not found */
PARA_WARNING_LOG("auth request for unknown user %s\n", u.name);
*
* \return 1 on success and < 0 on errors.
*/
-int get_user(struct user *user)
+int lookup_user(struct user *user)
{
struct user *u;
list_for_each_entry(u, &user_list, node) {
};
void init_user_list(char *user_list_file);
-int get_user(struct user *user);
+int lookup_user(struct user *user);