diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/grp.h | 4 | ||||
-rw-r--r-- | include/pwd.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/grp.h b/include/grp.h index 2b9f73f..e7f65ec 100644 --- a/include/grp.h +++ b/include/grp.h @@ -69,6 +69,10 @@ struct group *getgrgid(gid_t); struct group *getgrnam(const char *); #if __BSD_VISIBLE const char *group_from_gid(gid_t, int); +int gid_from_group(const char *, gid_t *); +int pwcache_groupdb(int (*)(int), void (*)(void), + struct group * (*)(const char *), + struct group * (*)(gid_t)); #endif #if __BSD_VISIBLE || __XSI_VISIBLE /* XXX IEEE Std 1003.1, 2003 specifies `void setgrent(void)' */ diff --git a/include/pwd.h b/include/pwd.h index 0a6dba1..2099e33 100644 --- a/include/pwd.h +++ b/include/pwd.h @@ -165,6 +165,10 @@ int getpwuid_r(uid_t, struct passwd *, char *, size_t, int getpwent_r(struct passwd *, char *, size_t, struct passwd **); int setpassent(int); const char *user_from_uid(uid_t, int); +int uid_from_user(const char *, uid_t *); +int pwcache_userdb(int (*)(int), void (*)(void), + struct passwd * (*)(const char *), + struct passwd * (*)(uid_t)); #endif __END_DECLS |