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 142 of file util.h.


Field Documentation

Definition at line 143 of file util.h.

Definition at line 144 of file util.h.


Generated on Wed Feb 20 20:24:24 2008 for ldns by  doxygen 1.5.5