Re: Table2 sharing cache/container of Table1, so can I remove these

This is a discussion on Re: Table2 sharing cache/container of Table1, so can I remove these within the SNMP Coders forums, part of the Networking and Network Related category; On Thu, 21 Jun 2007 11:07:01 -0700 (PDT) Need wrote: NH> Also, since Table2 shares the cache ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-22-2007
Robert Story
 
Posts: n/a
Default Re: Table2 sharing cache/container of Table1, so can I remove these

On Thu, 21 Jun 2007 11:07:01 -0700 (PDT) Need wrote:
NH> Also, since Table2 shares the cache from Table1, then I would assume there is no reason to set the "cache->timeout" and "cache->flags" values in the Table2_container_init() routine ..... is this correct?
NH>
NH>
NH> Need Help <snmpnoob@yahoo.com> wrote: Since Table2 is now successfully using the cache and container from Table1,
NH> then I planned on removing the following routines which are specific to Table2.
NH>
NH> Is this safe to do? These routines do not look like they would be required anymore but I am not sure exactly when they would get called so I am not certain if this is a good idea or not.
NH>
NH>
NH> In the "Table2_data_access.c" file I plan on removing:
NH>
NH> Table2_container_init
NH> Table2_container_shutdown
NH> Table2_container_load
NH> Table2_container_free
NH>
NH>
NH> In the "Table2_interface.c" file I plan on removing:
NH>
NH> Table2_allocate_rowreq_ctx
NH> Table2_release_rowreq_ctx
NH> _cache_load
NH> _cache_free
NH> _container_item_free
NH> _container_free
NH> _Table_container_shutdown

yes on all counts.. (I think.)

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
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 04:39 PM.


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