Harlequin RIP SDK
rdr_key_t Struct Reference

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
 

Detailed Description

The key structure used for the RDR hash map.

Field Documentation

◆ Class

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.

◆ name

const char* rdr_key_t::name

Name for Named RDRs. NULL for unnamed RDRs.

◆ namelen

size_t rdr_key_t::namelen

Length of name for Named RDRs. 0 for unnamed RDRs.

◆ Type

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.


The documentation for this struct was generated from the following file: