limal::nfs_server::Exports Class Reference
#include <NfsExports.hpp>
List of all members.
Member Enumeration Documentation
Constructor & Destructor Documentation
limal::nfs_server::Exports::Exports |
( |
|
) |
|
Construct a new, empty exports object.
limal::nfs_server::Exports::Exports |
( |
const Exports & |
exports |
) |
|
Construct a new exports object as a copy of the specified one.
- Parameters:
-
| exports | The exports object to copy. |
limal::nfs_server::Exports::Exports |
( |
const ExportEntries & |
entries |
) |
|
Construct a new set exports object as a copy of the specified list of export entries.
- Parameters:
-
| entries | The list of export entries to copy. |
limal::nfs_server::Exports::~Exports |
( |
|
) |
|
Destroy the exports object.
Member Function Documentation
void limal::nfs_server::Exports::addEntry |
( |
const ExportEntry & |
entry |
) |
|
Add the specified entry to the list. making sure to resolve duplicates in m_entries. If the export path is already is used in one of the existing entries we need to add the clients of 'entry' uniquely to that existing entry.
- Parameters:
-
ExportClients limal::nfs_server::Exports::getClients |
( |
const BLOCXX_NAMESPACE::String & |
path |
) |
const |
- Returns:
- All clients from entries with the specified path.
- Returns:
- The leading or trailing comment lines.
- Returns:
- All entries in this Exports object.
ExportEntries limal::nfs_server::Exports::getEntries |
( |
const BLOCXX_NAMESPACE::String & |
path |
) |
const |
- Returns:
- All entries with the specified path.
ExportPaths limal::nfs_server::Exports::getPaths |
( |
|
) |
const |
- Returns:
- A list of uniqe paths.
Sets the leading or trailing comment.
- Parameters:
-
| comment | The new comment. |
| comment | The type of the comment. |
void limal::nfs_server::Exports::setEntries |
( |
const ExportEntries & |
entries |
) |
|
Replace the current list of entries with the specified one.
- Parameters:
-
| entries | The new list of export entries. |
Member Data Documentation
The documentation for this class was generated from the following file: