From fafb8142821a34311f55971674630b674b063495 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 28 Nov 2006 01:53:57 +0000 Subject: Added SNMP v2 support. --- common/config-parser.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/config-parser.h') 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__ */ -- cgit v1.2.3