On Mon, 6 Dec 2004 09:52:44 +0100 P wrote:
PK> > > In this particular case, what you want to do is to set a flag to let
PK> > > the interface code know that you have removed a row:
PK> > >
PK> > >         rowreq_ctx->rowreq_flags |= MFD_ROW_DELETED;
PK> > 
PK> > But there is no constant MFD_ROW_DELETED defined.
PK> 
PK> Hmm... I'm waiting and waiting but there still is no MFD_ROW_DELETED
PK> constant defined in mfd.h. What  should I do ?

Sorry, I thought it was in 5.2, but apparently not. And you don't need it if
you are deleting rows in irreversible_commit... just make sure you also remove
it from the container. There's not an API for that from the regular code, so
you'll have to add a function to the interface code. Or use this header patch,
along with the patches I sent earlier and use the flag instead of deleting
yourself.

CVS should be opening up for 5.2.1 patches sometime tomorrow - I'll be checking
in fixes, and would recommend you use the CVS code to keep up to date with
fixes..

-- 
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-coders>

You are lost in a twisty maze of little standards, all different. 

Attachment: mfd-header.pat
Description: Binary data

  • Re: mtb and snmpwalk problems (bugs?) Coders

Reply via email to