Bluehost.com Web Hosting $6.95

Re: Dynamically row addition/Deletion

This is a discussion on Re: Dynamically row addition/Deletion within the SNMP Users forums, part of the Networking and Network Related category; On Fri, 2005-11-18 at 06:58 -0500, surjit.mahapatra@hp.com wrote: > We have a requirement of ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-18-2005
Dave Shield
 
Posts: n/a
Default Re: Dynamically row addition/Deletion

On Fri, 2005-11-18 at 06:58 -0500, surjit.mahapatra@hp.com 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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0