Reload table in xxx_Table_handler()
Francois Bouchard <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAAZiaZfir093_V5gCUh5y2O6KYOZ7SfL++_BsO4crqb3Oy83Cg@mail.gmail.com> |
Hello list It seems that forcing a cache xxx_table_load() from the handler with a Global table_data variable is not a good idea. When the handler is called, does it hold a copy of the table? Note: cache machanism is disabled. But xxx_Table_load() routine is kept. should I use netsnmp_cache_reqinfo_extract<http://www.net-snmp.org/dev/agent/group__cache__handler.html#ga58ecdafd59f4b72f1d41aa25bf088ddf>() in the handler instead of a global netsnmp_tdata pointer? Francois ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ 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