The key structure used for the RDR hash map. More...
#include "rdrpriv.h"
Data Fields | |
sw_rdr_class | Class |
sw_rdr_type | Type |
const char * | name |
size_t | namelen |
The key structure used for the RDR hash map.
sw_rdr_class rdr_key_t::Class |
Unnamed RDRs use Class and Type for the key. Named RDRs use RDR_CLASS_RDR for the class.
const char* rdr_key_t::name |
Name for Named RDRs. NULL for unnamed RDRs.
size_t rdr_key_t::namelen |
Length of name for Named RDRs. 0 for unnamed RDRs.
sw_rdr_type rdr_key_t::Type |
Unnamed RDRs use Class and Type for the key. Named RDRs put the Namespace in Type. Doing this means we can use a non-variant comparison for keys. If RDRs of RDR_CLASS_RDR and non-named Types are registered, this should work OK.