On Tue, 29 Jun 2004 13:31:19 +0200 Arne wrote:
AB> Sorry, thats not what I meant. I try to make my problem clear:
AB> 
AB>  - I'm reading my config on startup in a structure.
AB>  - I'm including a pointer in the row context, so I can access the
AB>    structure from the callbacks
AB>  - When I'm in the callbacks, the structure and its data is gone.

Ok, I gotcha. The problem is that the init for the table will clear the
callback structure. So you have two options:

1) delay the config read until the table init routine

2) save the data to some other global/static structure

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to