#include <KNfsIdmapdConf.hpp>
List of all members.
Constructor & Destructor Documentation
limal::nfs_server::KNfsIdmapdConf::KNfsIdmapdConf |
( |
| ) |
|
limal::nfs_server::KNfsIdmapdConf::KNfsIdmapdConf |
( |
const IdmapdConf & |
conf | ) |
|
limal::nfs_server::KNfsIdmapdConf::~KNfsIdmapdConf |
( |
| ) |
|
Member Function Documentation
void limal::nfs_server::KNfsIdmapdConf::load |
( |
const BLOCXX_NAMESPACE::String & |
filename | ) |
|
Loads idmapd entries from the specified idmapd file
- Parameters:
-
idmapdFile | The idmapd file name. |
static IdmapdConf limal::nfs_server::KNfsIdmapdConf::parseIdmapdConfFile |
( |
const BLOCXX_NAMESPACE::String & |
idmapdFile | ) |
[static] |
Parse specified idmapd file and return a IdmapConf object built there of .
static IdmapdEntry limal::nfs_server::KNfsIdmapdConf::parseIdmapdEntry |
( |
const BLOCXX_NAMESPACE::String & |
entry | ) |
[static] |
Parse the specified (idmapd file encoded) line and construct an Idmapd entry object.
void limal::nfs_server::KNfsIdmapdConf::save |
( |
const BLOCXX_NAMESPACE::String & |
idmapdFile, |
|
|
const BLOCXX_NAMESPACE::String & |
backupSuffix |
|
) |
| |
Saves current idmapd entries to specified idmapd file name creating a backup first if backupSuffix is not empty and the idmapd file alteady existed.
- Parameters:
-
idmapdFile | The idmapd file name. |
backupSuffix | The suffix appended to idmapdFile while writing a backup file. |
bool limal::nfs_server::KNfsIdmapdConf::validIdmapdEntry |
( |
const BLOCXX_NAMESPACE::String & |
name, |
|
|
const BLOCXX_NAMESPACE::String & |
value |
|
) |
| const |
const BLOCXX_NAMESPACE::Array<BLOCXX_NAMESPACE::String> limal::nfs_server::KNfsIdmapdConf::verifyConf |
( |
| ) |
|
checks for essential sections and dependencies apart from checking individual sections using verifyIdmapdSection ()
BLOCXX_NAMESPACE::String limal::nfs_server::KNfsIdmapdConf::verifyIdmapdEntry |
( |
const IdmapdEntry & |
entry | ) |
const |
BLOCXX_NAMESPACE::Array<BLOCXX_NAMESPACE::String> limal::nfs_server::KNfsIdmapdConf::verifyIdmapdSection |
( |
const IdmapdSection & |
section | ) |
const |
static void limal::nfs_server::KNfsIdmapdConf::writeIdmapdConfFile |
( |
const IdmapdConf & |
idmapdConf, |
|
|
const BLOCXX_NAMESPACE::String & |
idmapdFile, |
|
|
const BLOCXX_NAMESPACE::String & |
backupSuffix |
|
) |
| [static] |
Saves specified idmapd entries to the idmapd file name creating a backup first, if backupSuffix is not empty and the idmapd file already existed.
- Parameters:
-
entries | The idmapd entries. |
idmapdFile | The idmapd file name. |
backupSuffix | The suffix appended to idmapdFile while writing a backup file. |
Member Data Documentation
The documentation for this class was generated from the following file: