RE: Question about mib2c.create-dataset.conf

X Z <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>


> Date: Tue, 17 Nov 2009 12:26:41 +0000
> Subject: Re: Question about mib2c.create-dataset.conf
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> 
> 2009/11/16 X Z <[email protected]>:
> > Two functions are created automatically:
> > myTable_createEntry(...) and myTable_removeEntry(...)
> 
> Not if you're using the create-dataset template, surely?
> 

Sorry, this is not related to create-dataset template. Those two functions are generated by either iterator or table_data templates.

> 
> > But I couldn't find where the function myTable_removeEntry was called.
> > Is it supposed to be called somewhere?
> 
> If your table has a RowStatus column, then the code for handling this
> will call the createEntry and removeEntry routines appropriately.
> 
> If your table doesn't have such a column, then it's up to you to specify
> how rows should be marked for deletion, and add a call to removeEntry
> to the relevant code.
> 

My table doesn't have RowStatus column. In this case, when should the rows be removed? My application doesn't support SET, should the rows be removed after the GET handler?

Thanks
Xuan
 		 	   		  
_________________________________________________________________
Bing brings you maps, menus, and reviews organized in one place.
http://www.bing.com/search?q=restaurants&form=MFESRP&publ=WLHMTAG&crea=TEXT_MFESRP_Local_MapsMenu_Resturants_1x1

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
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.