On 15 March 2012 17:56, Francois Bouchard <[email protected]> wrote:
> Could you help us to find table_data structure, would you
>
> table_data  =     netsnmp_tdata_extract_table(request);

That will only work within the handler routine
(when you have a request to work with).
If I remember correctly, you're talking about how
to do this *outside* the handler routine.

You will have set up the table structure as part of the
initialisation routine - the simplest approach is to define
this as a file-global variable,  and then you can access
it from your other routines.

Dave

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

Reply via email to