ldns_schwartzian_compare_struct Struct Reference

Structure to do a Schwartzian-like transformation, for instance when sorting. More...


Data Fields

void * original_object
void * transformed_object


Detailed Description

Structure to do a Schwartzian-like transformation, for instance when sorting.

If you need a transformation on the objects that are sorted, you can sue this to store the transformed values, so you do not need to do the transformation again for each comparison

Definition at line 130 of file util.h.


Field Documentation

void* ldns_schwartzian_compare_struct::original_object

Definition at line 131 of file util.h.

void* ldns_schwartzian_compare_struct::transformed_object

Definition at line 132 of file util.h.


Generated on Wed Feb 20 06:40:45 2008 for ldns by  doxygen 1.5.4