how to unregister a table

Kathy McLeod <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <OF87A42281.961CB4A7-ON862576E3.0066C444-862576E3.006791E3@us.ibm.com>
Hi -

I am modifying code that was written to compile directly into the agent, to
now run as dynamically loadable module, so I need to define a deinit()
function.  The mib2c code outline was generated using the iterate_access
conf.

The MIB contains one scalar and one table.  The registrations are:

netsnmp_register_scalar() (leaving off the parms)

netsnmp_register_table_iterator(my_handler, iinfo);

In the deinit() method, can I just do unregister_mib?  I don't see anything
to deregister a table_iterator.

Thanks.  (I know you don't recommend using the iterate_access mib2c, but I
want to get this working before I try coding with the mfd conf.)


Kathy McLeod


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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.