#include <profiles.h>
Inheritance diagram for PROFILE:

Public Methods | |
| PROFILE (void) | |
| void | init (void) |
| void | reset (void) |
| int | setfile (const char *path) |
| ~PROFILE (void) | |
Public Attributes | |
| SSTRING | id |
| CONFDB* | data |
| CONFIG_FILE* | file |
|
|
Definition at line 65 of file profiles.cc. 00066 {
00067 this->init();
00068 }
|
|
|
Definition at line 70 of file profiles.cc. 00071 {
00072 this->reset();
00073 }
|
|
|
Definition at line 78 of file profiles.cc. |
|
|
Definition at line 87 of file profiles.cc. Referenced by PROFILES::reset(), setfile(), and ~PROFILE(). |
|
|
Definition at line 106 of file profiles.cc. Referenced by PROFILES::setpath(). 00107 {
00108 D(debugf(6,"PROFILE::setfile path=%s \n",path));
00109 int ret = 0;
00110 this->reset();
00111 file = new CONFIG_FILE (path,
00112 help_profiles
00113 ,CONFIGF_MANAGED|CONFIGF_OPTIONAL
00114 ,"root","root",0600
00115 ,subsys_profiles);
00116 data = new CONFDB(*file);
00117 return ret;
00118 }
|
|
|
Definition at line 11 of file profiles.h. |
|
|
Definition at line 12 of file profiles.h. |
|
|
Definition at line 13 of file profiles.h. |
1.2.1 written by Dimitri van Heesch,
© 1997-2000