4 #ifndef RUDIMENTS_GROUPENTRY_H
5 #define RUDIMENTS_GROUPENTRY_H
7 #include <rudiments/private/groupentryincludes.h>
9 #ifdef RUDIMENTS_NAMESPACE
13 class groupentryprivate;
25 static bool getPassword(
const char *groupname,
31 static bool getGroupId(
const char *groupname,
40 static bool getMembers(
const char *groupname,
48 static bool getName(gid_t groupid,
char **name);
55 static bool getPassword(gid_t groupid,
char **password);
63 static bool getMembers(gid_t groupid,
char ***members);
82 bool initialize(
const char *groupname);
86 bool initialize(gid_t groupid);
89 const char *getName()
const;
92 const char *getPassword()
const;
95 gid_t getGroupId()
const;
99 const char *
const *getMembers()
const;
107 static bool needsMutex();
112 static void setMutex(
mutex *mtx);
114 #include <rudiments/private/groupentry.h>
117 #ifdef RUDIMENTS_NAMESPACE