From 48c3765a9884ffa9cf8ff2e9f1412b027c2b18ee Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Thu, 6 May 1999 18:13:23 +0000 Subject: clean-up of cache-getpw-hash code needed (make proto showed up loads of functions that should be static). (This used to be commit 06fce76e535f151ff819210faf39dd77b9fcae08) --- source3/include/proto.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index b12787fecb..12958baa3a 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -382,6 +382,8 @@ void unbecome_unix_root_sec_ctxt(void); /*The following definitions come from lib/username.c */ +struct passwd *hashed_getpwnam(const char *name); +char *uidtoname(uid_t uid); char *get_home_dir(char *user); BOOL map_username(char *user); struct passwd *Get_Pwnam(char *user,BOOL allow_change); @@ -448,7 +450,6 @@ BOOL process_exists(int pid); int get_unixgroups(char *user, uid_t uid, gid_t gid, int *p_ngroups, gid_t **p_groups); BOOL get_unix_grps(int *p_ngroups, struct group **p_groups); void free_unix_grps(int ngroups, struct group *p_groups); -char *uidtoname(uid_t uid); char *gidtoname(gid_t gid); BOOL nametogid(const char *name, gid_t *gid); BOOL nametouid(const char *name, uid_t *uid); -- cgit