Re: error on subcontainer remove (-1) while deleting row

2008-02-01 Thread Awadhesh Kumar
Hi Dave, Thanks for response. I had tried the solution suggested by you but still it is printing the same error message on console. error on subcontainer remove (-1). What is the meaning of this error? Does it mean that container is unable to remove the row context given in the API. What could b

Re: error on subcontainer remove (-1) while deleting row

2008-01-31 Thread Dave Shield
On 30/01/2008, Awadhesh Kumar <[EMAIL PROTECTED]> wrote: > ctx = (gsomcGrpCfgTable_context *) CONTAINER_FIND (cb.container, &index); > > if (ctx) > CONTAINER_REMOVE (cb.container, &index); Try CONTAINER_REMOVE( cb.container, ctx ); Dave --

error on subcontainer remove (-1) while deleting row

2008-01-29 Thread Awadhesh Kumar
Hi, I am using Net-Snmp 5.4.1 for agent development. I am using mib2c configuration array-user.conf for snmp table implementation. I am using net-snmp API for row creation (CONTAINER_INSERT) and row deletion (CONTAINER_REMOVE). We have requirement to delete the particular row based on ceratin non-i