|
sbuild
1.6.8
|
System group database entry. More...
#include <sbuild-util.h>
Inheritance diagram for sbuild::group:
Collaboration diagram for sbuild::group:Public Types | |
| typedef std::vector< char > | buffer_type |
| A buffer for reentrant group functions. | |
Public Member Functions | |
| group () | |
| The constructor. | |
| group (gid_t gid) | |
| The constructor. More... | |
| group (const char *name) | |
| The constructor. More... | |
| group (std::string const &name) | |
| The constructor. More... | |
| void | clear () |
| Clear search result. More... | |
| void | query_gid (gid_t gid) |
| Query using a GID. More... | |
| void | query_name (const char *name) |
| Query using a name. More... | |
| void | query_name (std::string const &name) |
| Query using a name. More... | |
| bool | operator! () const |
| Check if the query result is valid. | |
Private Attributes | |
| buffer_type | buffer |
| Query result buffer. | |
| bool | valid |
| Object validity. | |
System group database entry.
| group::group | ( | gid_t | gid | ) |
| group::group | ( | const char * | name | ) |
| group::group | ( | std::string const & | name | ) |
| void group::clear | ( | ) |
Clear search result.
The query result is undefined following this operation.
Referenced by group().
Here is the caller graph for this function:| void group::query_gid | ( | gid_t | gid | ) |
Query using a GID.
| gid | the GID to search for. |
Referenced by group().
Here is the caller graph for this function:| void group::query_name | ( | const char * | name | ) |
Query using a name.
| name | the group name to search for. |
Referenced by group().
Here is the caller graph for this function:| void group::query_name | ( | std::string const & | name | ) |
Query using a name.
| name | the group name to search for. |
1.8.6