rdataset revision dafcb997e390efa4423883dafd100c975c4095d6
10139N/ACopyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
10139N/ACopyright (C) 1999-2001 Internet Software Consortium.
10139N/ASee COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
10139N/A
10139N/A$Id: rdataset,v 1.6 2004/03/05 05:04:46 marka Exp $
10139N/A
10139N/ANeed way to "dup" an rdataset (i.e. different rdataset handle, same underlying
10139N/Adata).
10139N/A
10139N/ADB addnode routine should take an rdataset *, which, if non-NULL, would be
10139N/Aattached to the added rdataset.
10139N/A
10139N/ANeed credibility, security status.
10139N/A
10139N/ACache security status in rdataset. Have rdataset supply methods to get/set
10139N/Athe security status. For RBTDB, it goes something like this:
10139N/A
10139N/A get:
10139N/A if (cached status == pending)
10139N/A lock node lock
10139N/A read rdataset's status
10139N/A unlock node lock
10139N/A update cached status
10139N/A return (cached status)
10139N/A
10139N/A set:
10139N/A require that status cannot go backwards (e.g. OK to pending)
10139N/A lock node lock
10139N/A write rdataset's status
10139N/A unlock node lock
10139N/A update cached status
10139N/A