summaryrefslogtreecommitdiff
path: root/common/config-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/config-parser.h')
-rw-r--r--common/config-parser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/config-parser.h b/common/config-parser.h
index 11949a2..6af8c17 100644
--- a/common/config-parser.h
+++ b/common/config-parser.h
@@ -50,4 +50,7 @@ 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);
+/* Parsing snmp, snmp2 snmp2c etc... */
+const char* cfg_parse_scheme (const char *input, enum snmp_version *scheme);
+
#endif /* __CONFIG_PARSER_H__ */