Re: adding cache handling to table_data.conf code

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 22 March 2010 21:29, Kathy McLeod <[email protected]> wrote:
> This seems to either generate the iterate_access code stubs or the MFD's
> iterate code stubs


   mib2c -c mib2c.mfd.conf ....
          will generate a MfD code framework
   mib2c -c mib2c.iterate_access.conf ...
          will generate iterate_access code stubs
   mib2c -c mib2c.table_data.conf ...
          will generate code that uses the table_tdata helper
   etc, etc


So try

    mib2c -S cache=1 -c mib2c.table_data.conf   {tableName}

That will generate code stubs that match your original request.

Dave

(Sorry - I forgot the "-c" flag in my original response.
 But the man page is fairly clear about the syntax of the command)

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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.