#include "oct-password.h"
Public Member Functions | |
password () | |
password (const password &pw) | |
~password ()=default | |
std::string | dir () const |
std::string | gecos () const |
gid_t | gid () const |
std::string | name () const |
bool | ok () const |
operator bool () const | |
password & | operator= (const password &pw) |
std::string | passwd () const |
std::string | shell () const |
uid_t | uid () const |
Static Public Member Functions | |
static int | endpwent () |
static int | endpwent (std::string &msg) |
static password | getpwent () |
static password | getpwent (std::string &msg) |
static password | getpwnam (const std::string &nm) |
static password | getpwnam (const std::string &nm, std::string &msg) |
static password | getpwuid (uid_t uid) |
static password | getpwuid (uid_t uid, std::string &msg) |
static int | setpwent () |
static int | setpwent (std::string &msg) |
Definition at line 39 of file oct-password.h.
|
inline |
Definition at line 45 of file oct-password.h.
Referenced by getpwent(), getpwnam(), and getpwuid().
|
inline |
Definition at line 50 of file oct-password.h.
|
default |
std::string password::dir | ( | ) | const |
Definition at line 96 of file oct-password.cc.
References ok().
|
static |
Definition at line 195 of file oct-password.cc.
|
static |
Definition at line 202 of file oct-password.cc.
References NOT_SUPPORTED, and octave_endpwent_wrapper().
std::string password::gecos | ( | ) | const |
Definition at line 87 of file oct-password.cc.
References ok().
|
static |
Definition at line 114 of file oct-password.cc.
|
static |
Definition at line 121 of file oct-password.cc.
References password(), NOT_SUPPORTED, and octave_getpwent_wrapper().
|
static |
Definition at line 154 of file oct-password.cc.
|
static |
Definition at line 161 of file oct-password.cc.
References password(), NOT_SUPPORTED, and octave_getpwnam_wrapper().
|
static |
Definition at line 133 of file oct-password.cc.
References uid().
|
static |
Definition at line 140 of file oct-password.cc.
References password(), NOT_SUPPORTED, octave_getpwuid_wrapper(), and uid().
gid_t password::gid | ( | ) | const |
Definition at line 78 of file oct-password.cc.
References ok().
std::string password::name | ( | ) | const |
Definition at line 51 of file oct-password.cc.
References ok().
|
inline |
|
inline |
Definition at line 91 of file oct-password.h.
Definition at line 56 of file oct-password.h.
std::string password::passwd | ( | ) | const |
Definition at line 60 of file oct-password.cc.
References ok().
|
static |
Definition at line 175 of file oct-password.cc.
|
static |
Definition at line 182 of file oct-password.cc.
References NOT_SUPPORTED, and octave_setpwent_wrapper().
std::string password::shell | ( | ) | const |
Definition at line 105 of file oct-password.cc.
References ok().
uid_t password::uid | ( | ) | const |