Re: Dynamically row addition/Deletion

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Fri, 2005-11-18 at 06:58 -0500, [email protected] wrote:
> We have a requirement of dynamically addition/deletion  of rows
> of table from externally.
> Now we are using data_set method for generating code which i feel
> does not provide handler to add rows dynamically.

Nope.  It does.
In fact it's the easiest helper to do this with.

All you need is the single line:

	dset->allow_creation = 1;

(where 'dset' is the variable returned from the
netsnmp_create_table_data_set() call).

The dataset helper will take care of all the work of creating
new rows when required.


Dave


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
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.