1
0

db.h 310 B

123456789101112
  1. #ifndef _lub_passwd_h
  2. #define _lub_passwd_h
  3. #include <stddef.h>
  4. /* wrappers for ugly getpwnam_r()-like functions */
  5. struct passwd *lub_db_getpwnam(const char *name);
  6. struct passwd *lub_db_getpwuid(uid_t uid);
  7. struct group *lub_db_getgrnam(const char *name);
  8. struct group *lub_db_getgrgid(gid_t gid);
  9. #endif