2009/8/24 Marwan Khoury <[email protected]>:
> I believe that I have used functions header_generic and header_simple_table
> in an errornous manner.
> I am not able to find the difference between the variable *name passed in
> the function parameter of my FindVarMethod and the variable vp->name also
> available.

You appear to be using the old UCD v4 style of programming.  Why?


> In addition, I have an octet-string as index for my tables, I know that I
> can't use the function header_simple_table but I don't know what function
> should I use or the algorithm needed to write such a function.

I would *strongly* suggest that you look at using the newer v5 handler-based
approach.   This can handle string-based indexes quite happily, and will do
a lot more of the work for you.

Try running the command

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

and work from the template code that this produces.
You should find that a lot easier than the older approach.

Dave

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

Reply via email to