| 69 | } |
| 70 | |
| 71 | void master_conf::load(const char* path) |
| 72 | { |
| 73 | if (cfg_loaded_) { |
| 74 | return; |
| 75 | } |
| 76 | |
| 77 | if (path) { |
| 78 | cfg_ = acl_xinetd_cfg_load(path); |
| 79 | if (path_) { |
| 80 | acl_myfree(path_); |
| 81 | } |
| 82 | path_ = acl_mystrdup(path); |
| 83 | } |
| 84 | |
| 85 | cfg_loaded_ = true; |
| 86 | |
| 87 | load_bool(); |
| 88 | load_int(); |
| 89 | load_int64(); |
| 90 | load_str(); |
| 91 | } |
| 92 | |
| 93 | const char* master_conf::get_path() const |
| 94 | { |
no test coverage detected