groupentry.h
// Copyright (c) 2002 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_GROUPENTRY_H
#define RUDIMENTS_GROUPENTRY_H
#include <rudiments/private/groupentryincludes.h>
class groupentryprivate;
class RUDIMENTS_DLLSPEC groupentry {
public:
groupentry();
groupentry(const groupentry &g);
groupentry &operator=(const groupentry &g);
~groupentry();
bool initialize(const char *groupname);
bool initialize(gid_t groupid);
const char *getName() const;
gid_t getGroupId() const;
const char *getSid() const;
const char * const *getMembers() const;
static gid_t getGroupId(const char *groupname);
static char *getName(gid_t groupid);
static char *getSid(const char *groupname);
static bool platformSupportsFormalSid();
static bool needsMutex();
static void setMutex(threadmutex *mtx);
#include <rudiments/private/groupentry.h>
};
#endif