sources/bind9/lib/dns/rbtdb.c
/*%
 * These functions allow the heap code to rank the priority of each
 * element.  It returns ISC_TRUE if v1 happens "sooner" than v2.
 */
%
These functions allow the heap code to rank the priority of each
element.  It returns ISC_TRUE if v1 happens "sooner" than v2.
% These functions allow the heap code to rank the priority of each element . It returns ISC_TRUE if v1 happens " sooner " than v2 .
static isc_boolean_t
ttl_sooner(void *v1, void *v2) {
	rdatasetheader_t *h1 = v1;
	rdatasetheader_t *h2 = v2;
	if (h1->rdh_ttl < h2->rdh_ttl)
		return (ISC_TRUE);
	return (ISC_FALSE);
}
static isc_boolean_t ttl_sooner ( void * v1 , void * v2 ) { rdatasetheader_t * h1 = v1 ; rdatasetheader_t * h2 = v2 ; if ( h1 -> rdh_ttl < h2 -> rdh_ttl ) return ( ISC_TRUE ) ; return ( ISC_FALSE ) ; }
%
 These functions allow the heap code to rank the priority of each
 element.
% These functions allow the heap code to rank the priority of each element .