Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/bind9/isccfg
File: grammar.h
/*
[0] Fix | Delete
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
[1] Fix | Delete
*
[2] Fix | Delete
* This Source Code Form is subject to the terms of the Mozilla Public
[3] Fix | Delete
* License, v. 2.0. If a copy of the MPL was not distributed with this
[4] Fix | Delete
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
[5] Fix | Delete
*
[6] Fix | Delete
* See the COPYRIGHT file distributed with this work for additional
[7] Fix | Delete
* information regarding copyright ownership.
[8] Fix | Delete
*/
[9] Fix | Delete
[10] Fix | Delete
#ifndef ISCCFG_GRAMMAR_H
[11] Fix | Delete
#define ISCCFG_GRAMMAR_H 1
[12] Fix | Delete
[13] Fix | Delete
/*! \file isccfg/grammar.h */
[14] Fix | Delete
[15] Fix | Delete
#include <inttypes.h>
[16] Fix | Delete
#include <stdbool.h>
[17] Fix | Delete
[18] Fix | Delete
#include <isc/lex.h>
[19] Fix | Delete
#include <isc/netaddr.h>
[20] Fix | Delete
#include <isc/refcount.h>
[21] Fix | Delete
#include <isc/sockaddr.h>
[22] Fix | Delete
#include <isc/region.h>
[23] Fix | Delete
#include <isc/types.h>
[24] Fix | Delete
[25] Fix | Delete
#include <isccfg/cfg.h>
[26] Fix | Delete
[27] Fix | Delete
/*
[28] Fix | Delete
* Definitions shared between the configuration parser
[29] Fix | Delete
* and the grammars; not visible to users of the parser.
[30] Fix | Delete
*/
[31] Fix | Delete
[32] Fix | Delete
/*% Clause may occur multiple times (e.g., "zone") */
[33] Fix | Delete
#define CFG_CLAUSEFLAG_MULTI 0x00000001
[34] Fix | Delete
/*% Clause is obsolete */
[35] Fix | Delete
#define CFG_CLAUSEFLAG_OBSOLETE 0x00000002
[36] Fix | Delete
/*% Clause is not implemented, and may never be */
[37] Fix | Delete
#define CFG_CLAUSEFLAG_NOTIMP 0x00000004
[38] Fix | Delete
/*% Clause is not implemented yet */
[39] Fix | Delete
#define CFG_CLAUSEFLAG_NYI 0x00000008
[40] Fix | Delete
/*% Default value has changed since earlier release */
[41] Fix | Delete
#define CFG_CLAUSEFLAG_NEWDEFAULT 0x00000010
[42] Fix | Delete
/*%
[43] Fix | Delete
* Clause needs to be interpreted during parsing
[44] Fix | Delete
* by calling a callback function, like the
[45] Fix | Delete
* "directory" option.
[46] Fix | Delete
*/
[47] Fix | Delete
#define CFG_CLAUSEFLAG_CALLBACK 0x00000020
[48] Fix | Delete
/*% A option that is only used in testing. */
[49] Fix | Delete
#define CFG_CLAUSEFLAG_TESTONLY 0x00000040
[50] Fix | Delete
/*% A configuration option that was not configured at compile time. */
[51] Fix | Delete
#define CFG_CLAUSEFLAG_NOTCONFIGURED 0x00000080
[52] Fix | Delete
/*% A option for a experimental feature. */
[53] Fix | Delete
#define CFG_CLAUSEFLAG_EXPERIMENTAL 0x00000100
[54] Fix | Delete
/*% A configuration option that is ineffective due to
[55] Fix | Delete
* compile time options, but is harmless. */
[56] Fix | Delete
#define CFG_CLAUSEFLAG_NOOP 0x00000200
[57] Fix | Delete
/*% Clause is obsolete in a future release */
[58] Fix | Delete
#define CFG_CLAUSEFLAG_DEPRECATED 0x00000400
[59] Fix | Delete
[60] Fix | Delete
/*%
[61] Fix | Delete
* Zone types for which a clause is valid:
[62] Fix | Delete
* These share space with CFG_CLAUSEFLAG values, but count
[63] Fix | Delete
* down from the top.
[64] Fix | Delete
*/
[65] Fix | Delete
#define CFG_ZONE_MASTER 0x80000000
[66] Fix | Delete
#define CFG_ZONE_SLAVE 0x40000000
[67] Fix | Delete
#define CFG_ZONE_STUB 0x20000000
[68] Fix | Delete
#define CFG_ZONE_HINT 0x10000000
[69] Fix | Delete
#define CFG_ZONE_FORWARD 0x08000000
[70] Fix | Delete
#define CFG_ZONE_STATICSTUB 0x04000000
[71] Fix | Delete
#define CFG_ZONE_REDIRECT 0x02000000
[72] Fix | Delete
#define CFG_ZONE_DELEGATION 0x01000000
[73] Fix | Delete
#define CFG_ZONE_INVIEW 0x00800000
[74] Fix | Delete
[75] Fix | Delete
typedef struct cfg_clausedef cfg_clausedef_t;
[76] Fix | Delete
typedef struct cfg_tuplefielddef cfg_tuplefielddef_t;
[77] Fix | Delete
typedef struct cfg_printer cfg_printer_t;
[78] Fix | Delete
typedef ISC_LIST(cfg_listelt_t) cfg_list_t;
[79] Fix | Delete
typedef struct cfg_map cfg_map_t;
[80] Fix | Delete
typedef struct cfg_rep cfg_rep_t;
[81] Fix | Delete
[82] Fix | Delete
/*
[83] Fix | Delete
* Function types for configuration object methods
[84] Fix | Delete
*/
[85] Fix | Delete
[86] Fix | Delete
typedef isc_result_t (*cfg_parsefunc_t)(cfg_parser_t *, const cfg_type_t *type,
[87] Fix | Delete
cfg_obj_t **);
[88] Fix | Delete
typedef void (*cfg_printfunc_t)(cfg_printer_t *, const cfg_obj_t *);
[89] Fix | Delete
typedef void (*cfg_docfunc_t)(cfg_printer_t *, const cfg_type_t *);
[90] Fix | Delete
typedef void (*cfg_freefunc_t)(cfg_parser_t *, cfg_obj_t *);
[91] Fix | Delete
[92] Fix | Delete
/*
[93] Fix | Delete
* Structure definitions
[94] Fix | Delete
*/
[95] Fix | Delete
[96] Fix | Delete
/*%
[97] Fix | Delete
* A configuration printer object. This is an abstract
[98] Fix | Delete
* interface to a destination to which text can be printed
[99] Fix | Delete
* by calling the function 'f'.
[100] Fix | Delete
*/
[101] Fix | Delete
struct cfg_printer {
[102] Fix | Delete
void (*f)(void *closure, const char *text, int textlen);
[103] Fix | Delete
void *closure;
[104] Fix | Delete
int indent;
[105] Fix | Delete
int flags;
[106] Fix | Delete
};
[107] Fix | Delete
[108] Fix | Delete
/*% A clause definition. */
[109] Fix | Delete
struct cfg_clausedef {
[110] Fix | Delete
const char *name;
[111] Fix | Delete
cfg_type_t *type;
[112] Fix | Delete
unsigned int flags;
[113] Fix | Delete
};
[114] Fix | Delete
[115] Fix | Delete
/*% A tuple field definition. */
[116] Fix | Delete
struct cfg_tuplefielddef {
[117] Fix | Delete
const char *name;
[118] Fix | Delete
cfg_type_t *type;
[119] Fix | Delete
unsigned int flags;
[120] Fix | Delete
};
[121] Fix | Delete
[122] Fix | Delete
/*% A configuration object type definition. */
[123] Fix | Delete
struct cfg_type {
[124] Fix | Delete
const char *name; /*%< For debugging purposes only */
[125] Fix | Delete
cfg_parsefunc_t parse;
[126] Fix | Delete
cfg_printfunc_t print;
[127] Fix | Delete
cfg_docfunc_t doc; /*%< Print grammar description */
[128] Fix | Delete
cfg_rep_t * rep; /*%< Data representation */
[129] Fix | Delete
const void * of; /*%< Additional data for meta-types */
[130] Fix | Delete
};
[131] Fix | Delete
[132] Fix | Delete
/*% A keyword-type definition, for things like "port <integer>". */
[133] Fix | Delete
typedef struct {
[134] Fix | Delete
const char *name;
[135] Fix | Delete
const cfg_type_t *type;
[136] Fix | Delete
} keyword_type_t;
[137] Fix | Delete
[138] Fix | Delete
struct cfg_map {
[139] Fix | Delete
cfg_obj_t *id; /*%< Used for 'named maps' like keys, zones, &c */
[140] Fix | Delete
const cfg_clausedef_t * const *clausesets; /*%< The clauses that
[141] Fix | Delete
can occur in this map;
[142] Fix | Delete
used for printing */
[143] Fix | Delete
isc_symtab_t *symtab;
[144] Fix | Delete
};
[145] Fix | Delete
[146] Fix | Delete
typedef struct cfg_netprefix cfg_netprefix_t;
[147] Fix | Delete
[148] Fix | Delete
struct cfg_netprefix {
[149] Fix | Delete
isc_netaddr_t address; /* IP4/IP6 */
[150] Fix | Delete
unsigned int prefixlen;
[151] Fix | Delete
};
[152] Fix | Delete
[153] Fix | Delete
/*%
[154] Fix | Delete
* A configuration data representation.
[155] Fix | Delete
*/
[156] Fix | Delete
struct cfg_rep {
[157] Fix | Delete
const char * name; /*%< For debugging only */
[158] Fix | Delete
cfg_freefunc_t free; /*%< How to free this kind of data. */
[159] Fix | Delete
};
[160] Fix | Delete
[161] Fix | Delete
/*%
[162] Fix | Delete
* A configuration object. This is the main building block
[163] Fix | Delete
* of the configuration parse tree.
[164] Fix | Delete
*/
[165] Fix | Delete
[166] Fix | Delete
struct cfg_obj {
[167] Fix | Delete
const cfg_type_t *type;
[168] Fix | Delete
union {
[169] Fix | Delete
uint32_t uint32;
[170] Fix | Delete
uint64_t uint64;
[171] Fix | Delete
isc_textregion_t string; /*%< null terminated, too */
[172] Fix | Delete
bool boolean;
[173] Fix | Delete
cfg_map_t map;
[174] Fix | Delete
cfg_list_t list;
[175] Fix | Delete
cfg_obj_t ** tuple;
[176] Fix | Delete
isc_sockaddr_t sockaddr;
[177] Fix | Delete
struct {
[178] Fix | Delete
isc_sockaddr_t sockaddr;
[179] Fix | Delete
isc_dscp_t dscp;
[180] Fix | Delete
} sockaddrdscp;
[181] Fix | Delete
cfg_netprefix_t netprefix;
[182] Fix | Delete
} value;
[183] Fix | Delete
isc_refcount_t references; /*%< reference counter */
[184] Fix | Delete
const char * file;
[185] Fix | Delete
unsigned int line;
[186] Fix | Delete
cfg_parser_t * pctx;
[187] Fix | Delete
};
[188] Fix | Delete
[189] Fix | Delete
[190] Fix | Delete
/*% A list element. */
[191] Fix | Delete
struct cfg_listelt {
[192] Fix | Delete
cfg_obj_t *obj;
[193] Fix | Delete
ISC_LINK(cfg_listelt_t) link;
[194] Fix | Delete
};
[195] Fix | Delete
[196] Fix | Delete
/*% The parser object. */
[197] Fix | Delete
struct cfg_parser {
[198] Fix | Delete
isc_mem_t * mctx;
[199] Fix | Delete
isc_log_t * lctx;
[200] Fix | Delete
isc_lex_t * lexer;
[201] Fix | Delete
unsigned int errors;
[202] Fix | Delete
unsigned int warnings;
[203] Fix | Delete
isc_token_t token;
[204] Fix | Delete
[205] Fix | Delete
/*% We are at the end of all input. */
[206] Fix | Delete
bool seen_eof;
[207] Fix | Delete
[208] Fix | Delete
/*% The current token has been pushed back. */
[209] Fix | Delete
bool ungotten;
[210] Fix | Delete
[211] Fix | Delete
/*%
[212] Fix | Delete
* The stack of currently active files, represented
[213] Fix | Delete
* as a configuration list of configuration strings.
[214] Fix | Delete
* The head is the top-level file, subsequent elements
[215] Fix | Delete
* (if any) are the nested include files, and the
[216] Fix | Delete
* last element is the file currently being parsed.
[217] Fix | Delete
*/
[218] Fix | Delete
cfg_obj_t * open_files;
[219] Fix | Delete
[220] Fix | Delete
/*%
[221] Fix | Delete
* Names of files that we have parsed and closed
[222] Fix | Delete
* and were previously on the open_file list.
[223] Fix | Delete
* We keep these objects around after closing
[224] Fix | Delete
* the files because the file names may still be
[225] Fix | Delete
* referenced from other configuration objects
[226] Fix | Delete
* for use in reporting semantic errors after
[227] Fix | Delete
* parsing is complete.
[228] Fix | Delete
*/
[229] Fix | Delete
cfg_obj_t * closed_files;
[230] Fix | Delete
[231] Fix | Delete
/*%
[232] Fix | Delete
* Name of a buffer being parsed; used only for
[233] Fix | Delete
* logging.
[234] Fix | Delete
*/
[235] Fix | Delete
char const * buf_name;
[236] Fix | Delete
[237] Fix | Delete
/*%
[238] Fix | Delete
* Current line number. We maintain our own
[239] Fix | Delete
* copy of this so that it is available even
[240] Fix | Delete
* when a file has just been closed.
[241] Fix | Delete
*/
[242] Fix | Delete
unsigned int line;
[243] Fix | Delete
[244] Fix | Delete
/*%
[245] Fix | Delete
* Parser context flags, used for maintaining state
[246] Fix | Delete
* from one token to the next.
[247] Fix | Delete
*/
[248] Fix | Delete
unsigned int flags;
[249] Fix | Delete
[250] Fix | Delete
/*%< Reference counter */
[251] Fix | Delete
isc_refcount_t references;
[252] Fix | Delete
[253] Fix | Delete
cfg_parsecallback_t callback;
[254] Fix | Delete
void *callbackarg;
[255] Fix | Delete
};
[256] Fix | Delete
[257] Fix | Delete
/* Parser context flags */
[258] Fix | Delete
#define CFG_PCTX_SKIP 0x1
[259] Fix | Delete
#define CFG_PCTX_NODEPRECATED 0x2
[260] Fix | Delete
[261] Fix | Delete
/*@{*/
[262] Fix | Delete
/*%
[263] Fix | Delete
* Flags defining whether to accept certain types of network addresses.
[264] Fix | Delete
*/
[265] Fix | Delete
#define CFG_ADDR_V4OK 0x00000001
[266] Fix | Delete
#define CFG_ADDR_V4PREFIXOK 0x00000002
[267] Fix | Delete
#define CFG_ADDR_V6OK 0x00000004
[268] Fix | Delete
#define CFG_ADDR_WILDOK 0x00000008
[269] Fix | Delete
#define CFG_ADDR_DSCPOK 0x00000010
[270] Fix | Delete
#define CFG_ADDR_MASK (CFG_ADDR_V6OK|CFG_ADDR_V4OK)
[271] Fix | Delete
/*@}*/
[272] Fix | Delete
[273] Fix | Delete
/*@{*/
[274] Fix | Delete
/*%
[275] Fix | Delete
* Predefined data representation types.
[276] Fix | Delete
*/
[277] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_rep_t cfg_rep_uint32;
[278] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_rep_t cfg_rep_uint64;
[279] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_rep_t cfg_rep_string;
[280] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_rep_t cfg_rep_boolean;
[281] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_rep_t cfg_rep_map;
[282] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_rep_t cfg_rep_list;
[283] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_rep_t cfg_rep_tuple;
[284] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_rep_t cfg_rep_sockaddr;
[285] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_rep_t cfg_rep_netprefix;
[286] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_rep_t cfg_rep_void;
[287] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_rep_t cfg_rep_fixedpoint;
[288] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_rep_t cfg_rep_percentage;
[289] Fix | Delete
/*@}*/
[290] Fix | Delete
[291] Fix | Delete
/*@{*/
[292] Fix | Delete
/*%
[293] Fix | Delete
* Predefined configuration object types.
[294] Fix | Delete
*/
[295] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_boolean;
[296] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_uint32;
[297] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_uint64;
[298] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_qstring;
[299] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_astring;
[300] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_ustring;
[301] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_sstring;
[302] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_bracketed_text;
[303] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_sockaddr;
[304] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_sockaddrdscp;
[305] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_netaddr;
[306] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_netaddr4;
[307] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_netaddr4wild;
[308] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_netaddr6;
[309] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_netaddr6wild;
[310] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_netprefix;
[311] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_void;
[312] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_token;
[313] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_unsupported;
[314] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_fixedpoint;
[315] Fix | Delete
LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_percentage;
[316] Fix | Delete
/*@}*/
[317] Fix | Delete
[318] Fix | Delete
isc_result_t
[319] Fix | Delete
cfg_gettoken(cfg_parser_t *pctx, int options);
[320] Fix | Delete
[321] Fix | Delete
isc_result_t
[322] Fix | Delete
cfg_peektoken(cfg_parser_t *pctx, int options);
[323] Fix | Delete
[324] Fix | Delete
void
[325] Fix | Delete
cfg_ungettoken(cfg_parser_t *pctx);
[326] Fix | Delete
[327] Fix | Delete
#define CFG_LEXOPT_QSTRING (ISC_LEXOPT_QSTRING | ISC_LEXOPT_QSTRINGMULTILINE)
[328] Fix | Delete
[329] Fix | Delete
isc_result_t
[330] Fix | Delete
cfg_create_obj(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **objp);
[331] Fix | Delete
[332] Fix | Delete
void
[333] Fix | Delete
cfg_print_rawuint(cfg_printer_t *pctx, unsigned int u);
[334] Fix | Delete
[335] Fix | Delete
isc_result_t
[336] Fix | Delete
cfg_parse_uint32(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret);
[337] Fix | Delete
[338] Fix | Delete
void
[339] Fix | Delete
cfg_print_uint32(cfg_printer_t *pctx, const cfg_obj_t *obj);
[340] Fix | Delete
[341] Fix | Delete
void
[342] Fix | Delete
cfg_print_uint64(cfg_printer_t *pctx, const cfg_obj_t *obj);
[343] Fix | Delete
[344] Fix | Delete
isc_result_t
[345] Fix | Delete
cfg_parse_qstring(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret);
[346] Fix | Delete
[347] Fix | Delete
void
[348] Fix | Delete
cfg_print_ustring(cfg_printer_t *pctx, const cfg_obj_t *obj);
[349] Fix | Delete
[350] Fix | Delete
isc_result_t
[351] Fix | Delete
cfg_parse_astring(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret);
[352] Fix | Delete
[353] Fix | Delete
isc_result_t
[354] Fix | Delete
cfg_parse_sstring(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret);
[355] Fix | Delete
[356] Fix | Delete
isc_result_t
[357] Fix | Delete
cfg_parse_rawaddr(cfg_parser_t *pctx, unsigned int flags, isc_netaddr_t *na);
[358] Fix | Delete
[359] Fix | Delete
void
[360] Fix | Delete
cfg_print_rawaddr(cfg_printer_t *pctx, const isc_netaddr_t *na);
[361] Fix | Delete
[362] Fix | Delete
bool
[363] Fix | Delete
cfg_lookingat_netaddr(cfg_parser_t *pctx, unsigned int flags);
[364] Fix | Delete
[365] Fix | Delete
isc_result_t
[366] Fix | Delete
cfg_parse_rawport(cfg_parser_t *pctx, unsigned int flags, in_port_t *port);
[367] Fix | Delete
[368] Fix | Delete
isc_result_t
[369] Fix | Delete
cfg_parse_dscp(cfg_parser_t *pctx, isc_dscp_t *dscp);
[370] Fix | Delete
[371] Fix | Delete
isc_result_t
[372] Fix | Delete
cfg_parse_sockaddr(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret);
[373] Fix | Delete
[374] Fix | Delete
isc_result_t
[375] Fix | Delete
cfg_parse_boolean(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret);
[376] Fix | Delete
[377] Fix | Delete
void
[378] Fix | Delete
cfg_print_sockaddr(cfg_printer_t *pctx, const cfg_obj_t *obj);
[379] Fix | Delete
[380] Fix | Delete
void
[381] Fix | Delete
cfg_print_boolean(cfg_printer_t *pctx, const cfg_obj_t *obj);
[382] Fix | Delete
[383] Fix | Delete
void
[384] Fix | Delete
cfg_doc_sockaddr(cfg_printer_t *pctx, const cfg_type_t *type);
[385] Fix | Delete
[386] Fix | Delete
isc_result_t
[387] Fix | Delete
cfg_parse_netprefix(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret);
[388] Fix | Delete
[389] Fix | Delete
isc_result_t
[390] Fix | Delete
cfg_parse_special(cfg_parser_t *pctx, int special);
[391] Fix | Delete
/*%< Parse a required special character 'special'. */
[392] Fix | Delete
[393] Fix | Delete
isc_result_t
[394] Fix | Delete
cfg_create_tuple(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **objp);
[395] Fix | Delete
[396] Fix | Delete
isc_result_t
[397] Fix | Delete
cfg_parse_tuple(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret);
[398] Fix | Delete
[399] Fix | Delete
void
[400] Fix | Delete
cfg_print_tuple(cfg_printer_t *pctx, const cfg_obj_t *obj);
[401] Fix | Delete
[402] Fix | Delete
void
[403] Fix | Delete
cfg_doc_tuple(cfg_printer_t *pctx, const cfg_type_t *type);
[404] Fix | Delete
[405] Fix | Delete
isc_result_t
[406] Fix | Delete
cfg_create_list(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **objp);
[407] Fix | Delete
[408] Fix | Delete
isc_result_t
[409] Fix | Delete
cfg_parse_listelt(cfg_parser_t *pctx, const cfg_type_t *elttype,
[410] Fix | Delete
cfg_listelt_t **ret);
[411] Fix | Delete
[412] Fix | Delete
isc_result_t
[413] Fix | Delete
cfg_parse_bracketed_list(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret);
[414] Fix | Delete
[415] Fix | Delete
void
[416] Fix | Delete
cfg_print_bracketed_list(cfg_printer_t *pctx, const cfg_obj_t *obj);
[417] Fix | Delete
[418] Fix | Delete
void
[419] Fix | Delete
cfg_doc_bracketed_list(cfg_printer_t *pctx, const cfg_type_t *type);
[420] Fix | Delete
[421] Fix | Delete
isc_result_t
[422] Fix | Delete
cfg_parse_spacelist(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret);
[423] Fix | Delete
[424] Fix | Delete
void
[425] Fix | Delete
cfg_print_spacelist(cfg_printer_t *pctx, const cfg_obj_t *obj);
[426] Fix | Delete
[427] Fix | Delete
isc_result_t
[428] Fix | Delete
cfg_parse_enum(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret);
[429] Fix | Delete
[430] Fix | Delete
void
[431] Fix | Delete
cfg_doc_enum(cfg_printer_t *pctx, const cfg_type_t *type);
[432] Fix | Delete
[433] Fix | Delete
void
[434] Fix | Delete
cfg_print_chars(cfg_printer_t *pctx, const char *text, int len);
[435] Fix | Delete
/*%< Print 'len' characters at 'text' */
[436] Fix | Delete
[437] Fix | Delete
void
[438] Fix | Delete
cfg_print_cstr(cfg_printer_t *pctx, const char *s);
[439] Fix | Delete
/*%< Print the null-terminated string 's' */
[440] Fix | Delete
[441] Fix | Delete
isc_result_t
[442] Fix | Delete
cfg_parse_map(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret);
[443] Fix | Delete
[444] Fix | Delete
isc_result_t
[445] Fix | Delete
cfg_parse_named_map(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret);
[446] Fix | Delete
[447] Fix | Delete
isc_result_t
[448] Fix | Delete
cfg_parse_addressed_map(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret);
[449] Fix | Delete
[450] Fix | Delete
isc_result_t
[451] Fix | Delete
cfg_parse_netprefix_map(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **
[452] Fix | Delete
ret);
[453] Fix | Delete
[454] Fix | Delete
void
[455] Fix | Delete
cfg_print_map(cfg_printer_t *pctx, const cfg_obj_t *obj);
[456] Fix | Delete
[457] Fix | Delete
void
[458] Fix | Delete
cfg_doc_map(cfg_printer_t *pctx, const cfg_type_t *type);
[459] Fix | Delete
[460] Fix | Delete
isc_result_t
[461] Fix | Delete
cfg_parse_mapbody(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret);
[462] Fix | Delete
[463] Fix | Delete
void
[464] Fix | Delete
cfg_print_mapbody(cfg_printer_t *pctx, const cfg_obj_t *obj);
[465] Fix | Delete
[466] Fix | Delete
void
[467] Fix | Delete
cfg_doc_mapbody(cfg_printer_t *pctx, const cfg_type_t *type);
[468] Fix | Delete
[469] Fix | Delete
isc_result_t
[470] Fix | Delete
cfg_parse_void(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret);
[471] Fix | Delete
[472] Fix | Delete
void
[473] Fix | Delete
cfg_print_void(cfg_printer_t *pctx, const cfg_obj_t *obj);
[474] Fix | Delete
[475] Fix | Delete
void
[476] Fix | Delete
cfg_doc_void(cfg_printer_t *pctx, const cfg_type_t *type);
[477] Fix | Delete
[478] Fix | Delete
isc_result_t
[479] Fix | Delete
cfg_parse_fixedpoint(cfg_parser_t *pctx, const cfg_type_t *type,
[480] Fix | Delete
cfg_obj_t **ret);
[481] Fix | Delete
[482] Fix | Delete
void
[483] Fix | Delete
cfg_print_fixedpoint(cfg_printer_t *pctx, const cfg_obj_t *obj);
[484] Fix | Delete
[485] Fix | Delete
isc_result_t
[486] Fix | Delete
cfg_parse_percentage(cfg_parser_t *pctx, const cfg_type_t *type,
[487] Fix | Delete
cfg_obj_t **ret);
[488] Fix | Delete
[489] Fix | Delete
void
[490] Fix | Delete
cfg_print_percentage(cfg_printer_t *pctx, const cfg_obj_t *obj);
[491] Fix | Delete
[492] Fix | Delete
isc_result_t
[493] Fix | Delete
cfg_parse_obj(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret);
[494] Fix | Delete
[495] Fix | Delete
void
[496] Fix | Delete
cfg_print_obj(cfg_printer_t *pctx, const cfg_obj_t *obj);
[497] Fix | Delete
[498] Fix | Delete
void
[499] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function