Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

KeyServer Class Reference

This class is a cache for server specific configuration information which may be configured from /etc/bayonne.conf [server]. load server configuration data. More...

#include <bayonne.h>

Inheritance diagram for KeyServer:

Keydata List of all members.

Public Methods

 KeyServer ()
 Load active server configuration.

const char* getNode (void)
 Get the name of the node identifier. More...

const char* getPassword (void)
 Get the remote access password. More...

const char* getToken (void)
 Get tgi token seperator. More...

void loadGroups (bool test)
 Load all active trunk group records.

const char* getDefault (void)
 Get default trunk group schedule name. More...

unsigned getGid (void)
 get group id. More...

unsigned getUid (void)
 get user id. More...

void setUid (void)
 set the user's id if you can.

void setGid (void)
 set the user's gid if you can.

int getNodeCount (void)
 Get number of nodes. More...

const char* getPrefix (void)
 Get alternate home config directory for root startup. More...

const char* getPhrases (void)
 Get local phrasebook config directory. More...


Detailed Description

This class is a cache for server specific configuration information which may be configured from /etc/bayonne.conf [server]. load server configuration data.

Author(s):
David Sugar <dyfet@ostel.com>


Constructor & Destructor Documentation

KeyServer::KeyServer ( )
 

Load active server configuration.


Member Function Documentation

const char * KeyServer::getDefault ( void ) [inline]
 

Get default trunk group schedule name.

Returns:
schedule name.

unsigned KeyServer::getGid ( void ) [inline]
 

get group id.

Returns:
gid

const char * KeyServer::getNode ( void ) [inline]
 

Get the name of the node identifier.

Returns:
node id.

int KeyServer::getNodeCount ( void ) [inline]
 

Get number of nodes.

Returns:
node count.

const char * KeyServer::getPassword ( void ) [inline]
 

Get the remote access password.

Returns:
remote access password.

const char * KeyServer::getPhrases ( void ) [inline]
 

Get local phrasebook config directory.

Returns:
alternate phrasebook.

const char * KeyServer::getPrefix ( void ) [inline]
 

Get alternate home config directory for root startup.

Returns:
alternate directory or NULL.

const char * KeyServer::getToken ( void ) [inline]
 

Get tgi token seperator.

Returns:
token seperator.

unsigned KeyServer::getUid ( void ) [inline]
 

get user id.

Returns:
uid

void KeyServer::loadGroups ( bool test )
 

Load all active trunk group records.

void KeyServer::setGid ( void )
 

set the user's gid if you can.

void KeyServer::setUid ( void )
 

set the user's id if you can.


The documentation for this class was generated from the following file:
Generated at Wed Apr 25 22:24:40 2001 for Bayonne by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000