Yup, it's your nightmare scenario - I'm finally looking seriously at
the MfD helper :-)  It's going to take a little while to get used to
the structure of this code, but I've got a couple of initial questions.

I've taken my standard test MIB, generated a set of code files using
the mib2c.mfd.conf setup, and have started by trying to compile that.
  The first problem I ran into is that the 'myTable_interface.c' file
refers to routines 'myTable_undo_setup' and 'myTable_undo_cleanup',
which are not defined anywhere in the generated template code.  Are these
routines something I should define myself, or is this an error in the
config?  If it's up to me to define them, what should they contain?

  The second place where this code failed to compile was in the
'myTable_cache_load' routine.  This seems to refer to various local
variables that weren't actually declared for some (but not all) of the
column object fields.  I'm probably rather confused over what is meant
to be ready-to-go code, and what is template code that I need to change.
This may well be described in one of the README files, but I haven't
managed to spot it - any chance of a nudge in the right direction?

  I got things to compile by commenting out both of these chunks of code,
so I've now got a basic table implementation that ought to work.  But of
course it's currently empty, and although I've got code to initialise a
container-based table from the earlier examples, I'm not quite sure how
to plug that into the new framework.  Are there any examples of how to
set up the initial contents of an MfD-based table?

Dave

[Thanks for the stuff about user-array RowStatus processing - I'll look
 over that tonight, and doubtless get back to you on it tomorrow.]


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to