I'm trying to extend a subagent basing on example-demon.c(a subagent example downloaded from the tutorial html), and integrate the subagent process with my other processes into a program. then all processes in the program can send notification to master.
I think I can use send_trap_to_sess(netsnmp_session * sess, netsnmp_pdu *template_pdu) in every process to send notifications.but now I can not find an API to get the current session pointer.Do you know any api can return this session? or other API can I use to send notification? BTW, the subagent--masteragent model is suitable for my project, so it's impossible to use a normal agent to replace the subagent. Thanks. Yinghua ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
