diff options
author | Stef Walter <stef@memberwebs.com> | 2006-04-05 03:38:18 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2006-04-05 03:38:18 +0000 |
commit | d3e86b52b596480a07978a12462c1fe97df16c77 (patch) | |
tree | fb60cb2f166b6970b67e556202be2cfa97f5097a /mib/mib-parser.h | |
parent | 5268cec90ff428e2588103b6873b4e06e2cc5506 (diff) |
Support for printing out textual MIB names.
Diffstat (limited to 'mib/mib-parser.h')
-rw-r--r-- | mib/mib-parser.h | 9 |
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__ */ |