Hi Robert, Yeh thats true that would work.
Thanks, Garyc ----- Original Message ----- From: "Robert Story (Users)" <[EMAIL PROTECTED]> To: "Gary Clark" <[EMAIL PROTECTED]> Cc: <[email protected]> Sent: Wednesday, December 29, 2004 5:49 PM Subject: Re: Mib row deletion > On Wed, 8 Dec 2004 11:19:18 -0600 Gary wrote: > GC> A quick question on deleting mibs. I'm using mib2c to generate the c code. > GC> All very dandy except I'm not on exactly how > GC> to remove rows from the table. I thought I could use > GC> > GC> CONTAINER_REMOVE(sig.container,row_ctx); > GC> > GC> This does indeed remove the row from the mib table however I'm seeing an > GC> error in the snmpd log: > GC> > GC> error on subcontainer remove (-1) > GC> > GC> Now I take it I'm doing something wrong. Whats the procedure for removing a > GC> row_entry? > > I'm assuming this is the array-use code, in which case you can simply set > 'rg->row_deleted = 1;' and the helper code will delete it for you. > > -- > Robert Story; NET-SNMP Junkie > Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> > Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> > > You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ 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
