Access table netsnmp_table_data_set, from handler

Francois Bouchard <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAAZiaZfqJeB5V7MPr3aPf-2owLxJY3WYqT7=JnpCKdMAZVVccQ@mail.gmail.com>
Hello,


I'm creating an array using the mib2c -c mib2c.create-dataset.conf script,
for a read-only but dynamic table (rows can be added or removed depending
on external data)

In table handler to add a populated row, these two functions need to be
called.


-       netsnmp_table_dataset_add_row(table_set, row);

-       netsnmp_register_auto_data_table(table_set, NULL);


But is there a way to access netsnmp_table_data_set (which is locally
assigned in init. function) from the handler function ?



thanks,



Francois

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2

_______________________________________________
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.