#include <wvconfemu.h>
Collaboration diagram for WvConfEmu:
Public Member Functions | |
WvConfEmu (const UniConf &_uniconf) | |
void | zap () |
bool | isok () const |
void | load_file (WvStringParm filename) |
void | save (WvStringParm filename) |
void | save () |
void | flush () |
WvConfigSectionEmu * | operator[] (WvStringParm sect) |
void | add_callback (WvConfCallback callback, void *userdata, WvStringParm section, WvStringParm key, void *cookie) |
void | del_callback (WvStringParm section, WvStringParm key, void *cookie) |
void | add_setbool (bool *b, WvStringParm _section, WvStringParm _key) |
void | add_addname (WvStringList *list, WvStringParm sect, WvStringParm ent) |
void | del_addname (WvStringList *list, WvStringParm sect, WvStringParm ent) |
void | add_addfile (WvString *filename, WvStringParm sect, WvStringParm ent) |
WvString | getraw (WvString wvconfstr, int &parse_error) |
int | getint (WvStringParm section, WvStringParm entry, int def_val) |
const char * | get (WvStringParm section, WvStringParm entry, const char *def_val=NULL) |
int | fuzzy_getint (WvStringList §, WvStringParm entry, int def_val) |
const char * | fuzzy_get (WvStringList §, WvStringParm entry, const char *def_val=NULL) |
void | setraw (WvString wvconfstr, const char *&value, int &parse_error) |
void | setint (WvStringParm section, WvStringParm entry, int value) |
void | set (WvStringParm section, WvStringParm entry, const char *value) |
void | maybesetint (WvStringParm section, WvStringParm entry, int value) |
void | maybeset (WvStringParm section, WvStringParm entry, const char *value) |
void | delete_section (WvStringParm section) |
WvString | get_passwd (WvStringParm sect, WvStringParm user) |
WvString | get_passwd (WvStringParm user) |
WvString | get_passwd2 (WvString pwenc) |
bool | check_passwd (WvStringParm sect, WvStringParm user, WvStringParm passwd) |
bool | check_passwd (WvStringParm user, WvStringParm passwd) |
bool | user_exists (WvStringParm sect, WvStringParm user) |
bool | user_exists (WvStringParm user) |
void | set_passwd (WvStringParm sect, WvStringParm user, WvStringParm passwd) |
void | set_passwd (WvStringParm user, WvStringParm passwd) |
WvString | set_passwd2 (WvStringParm passwd) |
void | convert_to_old_pw () |
Static Public Member Functions | |
int | check_for_bool_string (const char *s) |
|
Definition at line 209 of file wvconfemu.cc. References WvConfEmu(). Referenced by WvConfEmu(). |
|
Definition at line 333 of file wvconfemu.cc. References add_addfile(), add_callback(), and do_addfile(). Referenced by add_addfile(). |
|
Definition at line 320 of file wvconfemu.cc. References add_addname(), add_callback(), and do_addname(). Referenced by add_addname(). |
|
Definition at line 275 of file wvconfemu.cc. References add_callback(), WvList< CallbackInfo >::append(), get(), and WvConfCallback. Referenced by add_addfile(), add_addname(), add_callback(), and add_setbool(). |
|
Definition at line 314 of file wvconfemu.cc. References add_callback(), add_setbool(), and do_setbool(). Referenced by add_setbool(). |
|
Definition at line 448 of file wvconfemu.cc. References check_for_bool_string(). Referenced by check_for_bool_string(), and fuzzy_getint(). |
|
Definition at line 178 of file wvconfemu.h. |
|
|
|
|
|
Definition at line 326 of file wvconfemu.cc. References del_addname(), and del_callback(). Referenced by del_addname(). |
|
Definition at line 298 of file wvconfemu.cc. References del_callback(). Referenced by del_addname(), and del_callback(). |
|
Definition at line 442 of file wvconfemu.cc. References delete_section(). Referenced by delete_section(). |
|
Definition at line 255 of file wvconfemu.cc. |
|
Definition at line 375 of file wvconfemu.cc. References fuzzy_get(), and WvConfigSection::name. Referenced by fuzzy_get(), and fuzzy_getint(). |
|
Definition at line 367 of file wvconfemu.cc. References check_for_bool_string(), fuzzy_get(), and fuzzy_getint(). Referenced by fuzzy_getint(). |
|
Definition at line 359 of file wvconfemu.cc. References WvFastString::cstr(), and get(). Referenced by add_callback(), get(), getraw(), maybeset(), maybesetint(), and setraw(). |
|
Definition at line 169 of file wvconfemu.h. |
|
|
|
|
|
Definition at line 353 of file wvconfemu.cc. References getint(). Referenced by getint(). |
|
Definition at line 340 of file wvconfemu.cc. References WvString::edit(), get(), getraw(), and parse_wvconf_request(). Referenced by getraw(). |
|
Definition at line 225 of file wvconfemu.cc. |
|
Definition at line 231 of file wvconfemu.cc. References load_file(), and WvStringParm. Referenced by load_file(). |
|
Definition at line 434 of file wvconfemu.cc. References get(), maybeset(), and set(). Referenced by maybeset(). |
|
Definition at line 426 of file wvconfemu.cc. References get(), maybesetint(), and setint(). Referenced by maybesetint(). |
|
Definition at line 261 of file wvconfemu.cc. |
|
Definition at line 249 of file wvconfemu.cc. |
|
Definition at line 241 of file wvconfemu.cc. |
|
Definition at line 419 of file wvconfemu.cc. References set(). Referenced by maybeset(), set(), and setraw(). |
|
Definition at line 192 of file wvconfemu.h. |
|
|
|
|
|
Definition at line 413 of file wvconfemu.cc. References setint(). Referenced by maybesetint(), and setint(). |
|
Definition at line 397 of file wvconfemu.cc. References WvString::edit(), get(), parse_wvconf_request(), set(), and setraw(). Referenced by setraw(). |
|
Definition at line 185 of file wvconfemu.h. |
|
|
|
Definition at line 219 of file wvconfemu.cc. |