ldns_struct_lookup_table Struct Reference

A general purpose lookup table. More...


Data Fields

int id
const char * name


Detailed Description

A general purpose lookup table.

Lookup tables are arrays of (id, name) pairs, So you can for instance lookup the RCODE 3, which is "NXDOMAIN", and vice versa. The lookup tables themselves are defined wherever needed, for instance in host2str.c

Definition at line 141 of file util.h.


Field Documentation

int ldns_struct_lookup_table::id

Definition at line 142 of file util.h.

const char* ldns_struct_lookup_table::name

Definition at line 143 of file util.h.


Generated on Sat Nov 10 01:55:22 2007 for ldns by  doxygen 1.5.2