Commit 4fc1d39f authored by Niels Möller's avatar Niels Möller
Browse files

* src/server_userauth.h: Removed unix_user_db class (moved to

unix_user.c).

Rev: src/server_userauth.c:1.25
Rev: src/server_userauth.h:1.7
parent 97432be8
......@@ -33,15 +33,6 @@
#include <assert.h>
#include <errno.h>
#if HAVE_CRYPT_H
# include <crypt.h>
#endif
#include <pwd.h>
#include <grp.h>
#if HAVE_SHADOW_H
#include <shadow.h>
#endif
#define GABA_DEFINE
#include "server_userauth.h.x"
......@@ -49,7 +40,8 @@
#include "server_userauth.c.x"
/* GABA:
#if 0
/* ;; GABA:
(class
(name unix_user_db)
(super user_db)
......@@ -209,6 +201,7 @@ int change_dir(struct unix_user *user)
}
return 1;
}
#endif
struct lsh_string *
format_userauth_failure(struct int_list *methods,
......
......@@ -52,7 +52,7 @@
* struct user *, not struct unix_user *.
*/
/* GABA:
/* ;; GABA:
(class
(name unix_user)
(super user)
......@@ -72,7 +72,7 @@
(class
(name user_db)
(vars
(lookup method "struct unix_user *"
(lookup method "struct user *"
"struct lsh_string *name" "int free")))
*/
......@@ -85,11 +85,13 @@ struct unix_user *lookup_user(struct lsh_string *name, int free);
struct user_db *
make_unix_user_db(int allow_root);
#if 0
int verify_password(struct unix_user *user,
struct lsh_string *password, int free);
int change_uid(struct unix_user *user);
int change_dir(struct unix_user *user);
#endif
/* GABA:
(class
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment