Question on Iterator model without having to setup a linked list
"Ranganathan, Viji (NSN - US/Boca Raton)" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <B08C0463E726B24EBED687F5FA6BD7CE0110FD9E@USCHEXC006.nsn-intra.net> |
Hi, I am trying to implement a subagent that gets data from an external data manager. This external data manager has it's own cache and it only provides interfaces to get and set data. I do not have direct access to this linked list. I was hoping to avoid creating another linked list just so the iterator model could iterate. In our case performance is not an issue and so we would like to access data for every column and row, every time, from the data manager interfaces. How can I implement something like this without creating memory and setting up a linked list ? I am afraid the head pointer and loop context get confused if the next pointer is not populated beforehand. Any ideas ? Thanks in advance. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ 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