Electroneum
sldns_struct_lookup_table Struct Reference

#include <parseutil.h>

Public Attributes

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 27 of file parseutil.h.

Member Data Documentation

◆ id

int sldns_struct_lookup_table::id

Definition at line 28 of file parseutil.h.

◆ name

const char* sldns_struct_lookup_table::name

Definition at line 29 of file parseutil.h.


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