cfg_obj Struct Reference

A configuration object. This is the main building block of the configuration parse tree. More...

#include <grammar.h>


Data Fields

const cfg_type_ttype
union {
   isc_uint32_t   uint32
   isc_uint64_t   uint64
   isc_textregion_t   string
 null terminated, too
   isc_boolean_t   boolean
   cfg_map_t   map
   cfg_list_t   list
   cfg_obj_t **   tuple
   isc_sockaddr_t   sockaddr
   struct {
      isc_sockaddr_t   sockaddr
      isc_dscp_t   dscp
   }   sockaddrdscp
   cfg_netprefix_t   netprefix
value
isc_refcount_t references
 reference counter
const char * file
unsigned int line


Detailed Description

A configuration object. This is the main building block of the configuration parse tree.

Definition at line 150 of file grammar.h.


Field Documentation

const cfg_type_t* cfg_obj::type

Definition at line 151 of file grammar.h.

Referenced by cfg_create_obj(), cfg_list_first(), cfg_map_count(), cfg_map_get(), cfg_map_getname(), cfg_obj_asboolean(), cfg_obj_asnetprefix(), cfg_obj_assockaddr(), cfg_obj_asstring(), cfg_obj_asuint32(), cfg_obj_asuint64(), cfg_obj_destroy(), cfg_obj_getdscp(), cfg_obj_isboolean(), cfg_obj_islist(), cfg_obj_ismap(), cfg_obj_isnetprefix(), cfg_obj_issockaddr(), cfg_obj_isstring(), cfg_obj_istuple(), cfg_obj_istype(), cfg_obj_isuint32(), cfg_obj_isuint64(), cfg_obj_isvoid(), cfg_parser_mapadd(), cfg_print_kv_tuple(), cfg_print_mapbody(), cfg_print_obj(), cfg_print_tuple(), cfg_printx(), cfg_tuple_get(), current_file(), free_tuple(), parse_maybe_optional_keyvalue(), print_boolorauto(), print_keyvalue(), and print_logfile().

isc_uint32_t cfg_obj::uint32

Definition at line 153 of file grammar.h.

Referenced by cfg_obj_asuint32(), cfg_parse_uint32(), cfg_print_uint32(), parse_portrange(), and parse_ttlval().

isc_uint64_t cfg_obj::uint64

Definition at line 154 of file grammar.h.

Referenced by cfg_obj_asuint64(), cfg_print_uint64(), and parse_sizeval().

isc_textregion_t cfg_obj::string

null terminated, too

Definition at line 155 of file grammar.h.

Referenced by cfg_obj_asstring(), cfg_parse_mapbody(), cfg_print_ustring(), check_enum(), create_string(), current_file(), free_string(), parse_token(), parse_updatepolicy(), print_lookaside(), and print_sstring().

isc_boolean_t cfg_obj::boolean

Definition at line 156 of file grammar.h.

Referenced by cfg_obj_asboolean(), cfg_parse_boolean(), cfg_print_boolean(), and print_boolorauto().

cfg_map_t cfg_obj::map

Definition at line 157 of file grammar.h.

Referenced by cfg_map_count(), cfg_map_get(), cfg_map_getname(), cfg_parse_mapbody(), cfg_parser_mapadd(), cfg_print_map(), cfg_print_mapbody(), create_map(), free_map(), and parse_any_named_map().

cfg_list_t cfg_obj::list

Definition at line 158 of file grammar.h.

Referenced by cfg_gettoken(), cfg_list_first(), cfg_parse_mapbody(), cfg_parse_spacelist(), cfg_parser_mapadd(), cfg_print_mapbody(), cfg_print_spacelist(), current_file(), delete_zoneconf(), free_list(), have_current_file(), parse_list(), parse_unsupported(), parser_openfile(), and print_list().

cfg_obj_t** cfg_obj::tuple

Definition at line 159 of file grammar.h.

Referenced by cfg_create_tuple(), cfg_parse_kv_tuple(), cfg_parse_rpz_policy(), cfg_parse_tuple(), cfg_print_kv_tuple(), cfg_print_tuple(), cfg_tuple_get(), free_tuple(), parse_logfile(), parse_portrange(), parse_sockaddrnameport(), print_logfile(), and print_lookaside().

isc_sockaddr_t cfg_obj::sockaddr

Definition at line 160 of file grammar.h.

Referenced by cfg_obj_assockaddr(), cfg_print_sockaddr(), parse_netaddr(), parse_querysource(), parse_sockaddrsub(), and print_querysource().

isc_dscp_t cfg_obj::dscp

Definition at line 163 of file grammar.h.

struct { ... } cfg_obj::sockaddrdscp

Referenced by cfg_obj_getdscp(), cfg_print_sockaddr(), parse_querysource(), parse_sockaddrsub(), and print_querysource().

cfg_netprefix_t cfg_obj::netprefix

Definition at line 165 of file grammar.h.

Referenced by cfg_obj_asnetprefix(), cfg_parse_netprefix(), and print_netprefix().

union { ... } cfg_obj::value

Referenced by cfg_create_tuple(), cfg_list_first(), cfg_map_count(), cfg_map_get(), cfg_map_getname(), cfg_obj_asboolean(), cfg_obj_asnetprefix(), cfg_obj_assockaddr(), cfg_obj_asstring(), cfg_obj_asuint32(), cfg_obj_asuint64(), cfg_obj_getdscp(), cfg_parse_boolean(), cfg_parse_kv_tuple(), cfg_parse_mapbody(), cfg_parse_netprefix(), cfg_parse_rpz_policy(), cfg_parse_spacelist(), cfg_parse_tuple(), cfg_parse_uint32(), cfg_parser_mapadd(), cfg_print_boolean(), cfg_print_kv_tuple(), cfg_print_map(), cfg_print_mapbody(), cfg_print_sockaddr(), cfg_print_spacelist(), cfg_print_tuple(), cfg_print_uint32(), cfg_print_uint64(), cfg_print_ustring(), cfg_tuple_get(), check_enum(), create_map(), create_string(), current_file(), delete_zoneconf(), free_list(), free_map(), free_string(), free_tuple(), have_current_file(), parse_any_named_map(), parse_list(), parse_logfile(), parse_netaddr(), parse_portrange(), parse_querysource(), parse_sizeval(), parse_sockaddrnameport(), parse_sockaddrsub(), parse_token(), parse_ttlval(), parse_unsupported(), parse_updatepolicy(), parser_openfile(), print_boolorauto(), print_list(), print_logfile(), print_lookaside(), print_netprefix(), print_querysource(), and print_sstring().

isc_refcount_t cfg_obj::references

reference counter

Definition at line 167 of file grammar.h.

Referenced by cfg_create_obj(), cfg_obj_attach(), and cfg_obj_destroy().

const char* cfg_obj::file

Definition at line 168 of file grammar.h.

Referenced by cfg_create_obj(), cfg_obj_file(), and cfg_obj_log().

unsigned int cfg_obj::line

Definition at line 169 of file grammar.h.

Referenced by cfg_create_obj(), cfg_obj_line(), and cfg_obj_log().


The documentation for this struct was generated from the following file:
Generated on Tue Apr 28 17:41:19 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha