Re: related tables design

"Xuan Pan" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
>Or you could hold the IP Range Table data for each DHCP pool as part
> of the DHCP settings data structure:
>...

I had this thought yesterday. Using the nested linked lists, there is no
need to synchronize the primary index value from one list to the other.

>    dhcpSindex = *(pTableInfo->indexes->val.integer);
>    ipRangeIndex = *(pTableInfo->indexes->next->val.integer);

:-)

/Pan


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.