25 #ifndef LIMAL_NFS_SERVER_KNFS_IDMAPD_CONF_HPP
26 #define LIMAL_NFS_SERVER_KNFS_IDMAPD_CONF_HPP
31 #include <blocxx/String.hpp>
32 #include <blocxx/Array.hpp>
36 namespace LIMAL_NAMESPACE
38 namespace NFS_SERVER_NAMESPACE
42 class KNfsIdmapdRules;
54 validIdmapdEntry (
const blocxx::String &name,
55 const blocxx::String &value)
const;
60 blocxx::Array<blocxx::String>
68 const blocxx::Array<blocxx::String>
76 load(
const blocxx::String &filename);
88 save(
const blocxx::String &idmapdFile,
89 const blocxx::String &backupSuffix);
96 parseIdmapdConfFile(
const blocxx::String &idmapdFile);
103 parseIdmapdEntry(
const blocxx::String &entry);
116 writeIdmapdConfFile(
const IdmapdConf &idmapdConf,
117 const blocxx::String &idmapdFile,
118 const blocxx::String &backupSuffix);
130 #endif // LIMAL_NFS_SERVER_KNFS_IDMAPD_CONF_HPP