How to free memory for the mib tree

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>

Hi,

I am using net-snmp-5.7.2. on windows 7 pc.

I am developing c# based gui
app for the mib browser.

I am able to display the mib tree on thee c# gui. For this, i
have written a custom function 
which reads the pointer to the root of  mib tree and
returnts it to the C# app. The code is below:
-----
struct tree *tp;    
 

snmp_set_save_descriptions(1);  //to get descriptions,default values  for mib
oids 

netsnmp_init_mib();  /*This calls read_all_mibs()*/
  

tp = get_tree_head(); 
return tp;
----

Now which function I should call
in order to free memory for the whole mib tree 
by using the pointer tp which is pointing to
the root of the mib tree.

Thank you.

regards,
Ganesh Y





Every Sheets of paper is made from a tree.. Save trees... Conserve Trees.... Go Green .... Don't print this email or any Files unless you really need to!!!!  
Confidentiality Notice 
The information contained in this electronic message and any attachments to this 
message are intended for the exclusive use of the addressee(s) and may contain 
confidential or privileged information. If  you are not the intended recipient, 
 please notify the sender at Bharat Electronics  or [email protected] 
immediately and destroy all copies of this message and any attachments.

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.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.