Re: Getting the syntax of an object type from a MIB

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> "FP" == Fernando Pardo <[email protected]> writes:

>> get_tree( oid, oidlen, get_tree_head());
FP> Great! Thank you very much!

FP> However, the type codes that are returned (from parse.h) differ from those  
FP> defined on asn1.h (the ASN_...). Is there a function to translate them?
FP> Regards,

u_char mib_to_asn_type(int mib_type)

:-)

-- 
Wes Hardaker
Sparta, Inc.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.