diff options
author | Stef Walter <stef@memberwebs.com> | 2006-04-04 21:07:18 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2006-04-04 21:07:18 +0000 |
commit | 1e735c038c86294df2ecfbd6a39abcfab4b3e8c3 (patch) | |
tree | 55dc3d3288d17d53fadf3471bb465fefb1b42b12 /common/config-parser.h | |
parent | 1fe43cb40fb54412528b7538718a457d2167c603 (diff) |
Move functionality for parsing MIBs, SNMP into common files.
Diffstat (limited to 'common/config-parser.h')
-rw-r--r-- | common/config-parser.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/config-parser.h b/common/config-parser.h index 174bac2..11949a2 100644 --- a/common/config-parser.h +++ b/common/config-parser.h @@ -47,4 +47,7 @@ extern int cfg_error(const char* filename, const char* errmsg, void* data); int cfg_parse_dir(const char* dirname, void* data); int cfg_parse_file(const char* filename, void* data, char** memory); +/* A helper for parsing URIs */ +const char* cfg_parse_uri (char *uri, char** scheme, char** host, char** user, char** path); + #endif /* __CONFIG_PARSER_H__ */ |