diff options
author | Luke Leighton <lkcl@samba.org> | 1999-05-06 18:13:23 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-05-06 18:13:23 +0000 |
commit | 48c3765a9884ffa9cf8ff2e9f1412b027c2b18ee (patch) | |
tree | 1a7108df0daae0c3fb3b91cab37605f63f840a66 /source3/include/proto.h | |
parent | 150645f955d1f15b0ea43069020070424f774521 (diff) | |
download | samba-48c3765a9884ffa9cf8ff2e9f1412b027c2b18ee.tar.gz samba-48c3765a9884ffa9cf8ff2e9f1412b027c2b18ee.tar.bz2 samba-48c3765a9884ffa9cf8ff2e9f1412b027c2b18ee.zip |
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)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |