summaryrefslogtreecommitdiff
path: root/mib/mib-parser.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-04-05 03:38:18 +0000
committerStef Walter <stef@memberwebs.com>2006-04-05 03:38:18 +0000
commitd3e86b52b596480a07978a12462c1fe97df16c77 (patch)
treefb60cb2f166b6970b67e556202be2cfa97f5097a /mib/mib-parser.h
parent5268cec90ff428e2588103b6873b4e06e2cc5506 (diff)
Support for printing out textual MIB names.
Diffstat (limited to 'mib/mib-parser.h')
-rw-r--r--mib/mib-parser.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/mib/mib-parser.h b/mib/mib-parser.h
index 0c4fc61..4f86ee2 100644
--- a/mib/mib-parser.h
+++ b/mib/mib-parser.h
@@ -49,15 +49,10 @@
extern const char* mib_directory;
extern int mib_warnings;
-typedef void* mib_node;
-
void mib_init();
-mib_node mib_lookup(const char* match);
-int mib_subid(mib_node n, const char* name);
-void mib_oid(mib_node n, struct asn_oid* oid);
-mib_node mib_get_node(struct asn_oid* oid);
void mib_uninit();
-int mib_parse(const char* oid, struct snmp_value* value);
+int mib_parse(const char* mib, struct asn_oid* oid);
+int mib_format(struct asn_oid* oid, FILE* f);
#endif /* __MIB_PARSER_H__ */