#include "oct-group.h"
Public Member Functions | |
group (const group &gr) | |
group (void) | |
gid_t | gid (void) const |
string_vector | mem (void) const |
std::string | name (void) const |
bool | ok (void) const |
operator bool () const | |
group & | operator= (const group &gr) |
std::string | passwd (void) const |
Static Public Member Functions | |
static int | endgrent (std::string &msg) |
static int | endgrent (void) |
static group | getgrent (std::string &msg) |
static group | getgrent (void) |
static group | getgrgid (gid_t gid) |
static group | getgrgid (gid_t gid, std::string &msg) |
static group | getgrnam (const std::string &nm) |
static group | getgrnam (const std::string &nm, std::string &msg) |
static int | setgrent (std::string &msg) |
static int | setgrent (void) |
Private Member Functions | |
group (void *p, std::string &msg) | |
Private Attributes | |
gid_t | m_gid |
string_vector | m_mem |
std::string | m_name |
std::string | m_passwd |
bool | m_valid |
Definition at line 41 of file oct-group.h.
|
inline |
Definition at line 47 of file oct-group.h.
Referenced by getgrent(), getgrgid(), and getgrnam().
|
inline |
Definition at line 51 of file oct-group.h.
|
private |
Definition at line 191 of file oct-group.cc.
References m_gid, m_mem, m_name, m_passwd, m_valid, NOT_SUPPORTED, and string_vector::resize().
|
static |
Definition at line 179 of file oct-group.cc.
References endgrent(), and NOT_SUPPORTED.
|
static |
Definition at line 172 of file oct-group.cc.
Referenced by endgrent().
|
static |
Definition at line 98 of file oct-group.cc.
References group(), getgrent(), and NOT_SUPPORTED.
|
static |
Definition at line 91 of file oct-group.cc.
Referenced by getgrent().
|
static |
|
static |
Definition at line 117 of file oct-group.cc.
References group(), getgrgid(), gid(), and NOT_SUPPORTED.
|
static |
Definition at line 131 of file oct-group.cc.
Referenced by getgrnam(), and KPty::open().
|
static |
Definition at line 138 of file oct-group.cc.
References group(), getgrnam(), and NOT_SUPPORTED.
gid_t group::gid | ( | void | ) | const |
Definition at line 73 of file oct-group.cc.
References err_invalid(), m_gid, and ok().
Referenced by getgrgid(), and KPty::open().
string_vector group::mem | ( | void | ) | const |
Definition at line 82 of file oct-group.cc.
References err_invalid(), m_mem, and ok().
std::string group::name | ( | void | ) | const |
Definition at line 55 of file oct-group.cc.
References err_invalid(), m_name, and ok().
|
inline |
|
inline |
Definition at line 80 of file oct-group.h.
std::string group::passwd | ( | void | ) | const |
Definition at line 64 of file oct-group.cc.
References err_invalid(), m_passwd, and ok().
|
static |
Definition at line 159 of file oct-group.cc.
References NOT_SUPPORTED, and setgrent().
|
static |
Definition at line 152 of file oct-group.cc.
Referenced by setgrent().
|
private |
Definition at line 106 of file oct-group.h.
Referenced by group(), gid(), and operator=().
|
private |
Definition at line 109 of file oct-group.h.
Referenced by group(), mem(), and operator=().
|
private |
Definition at line 100 of file oct-group.h.
Referenced by group(), name(), and operator=().
|
private |
Definition at line 103 of file oct-group.h.
Referenced by group(), operator=(), and passwd().
|
private |
Definition at line 112 of file oct-group.h.
Referenced by group(), and operator=().