Lines Matching refs:parse

65 struct parse {
121 TAILQ_ENTRY(parse) next;
125 extern TAILQ_HEAD(parses, parse) parses;
303 /* Kea parse tools */
304 void stackPush(struct parse *cfile, struct element *elem);
311 /* From common/parse.c */
312 void parse_error(struct parse *, const char *, ...)
317 struct parse *new_parse(int, char *, size_t, const char *, int);
318 void end_parse(struct parse *);
319 void save_parse_state(struct parse *);
320 void restore_parse_state(struct parse *);
321 enum dhcp_token next_token(const char **, unsigned *, struct parse *);
322 enum dhcp_token peek_token(const char **, unsigned *, struct parse *);
323 enum dhcp_token next_raw_token(const char **, unsigned *, struct parse *);
324 enum dhcp_token peek_raw_token(const char **, unsigned *, struct parse *);
332 size_t conf_file_parse(struct parse *);
333 void read_conf_file(struct parse *, const char *, int);
334 size_t conf_file_subparse(struct parse *, int);
335 isc_boolean_t parse_statement(struct parse *, int, isc_boolean_t);
336 void get_permit(struct parse *, struct element *);
337 void parse_pool_statement(struct parse *, int);
338 void parse_lbrace(struct parse *);
339 void parse_host_declaration(struct parse *);
340 void parse_class_declaration(struct parse *, int);
341 void parse_shared_net_declaration(struct parse *);
342 void parse_subnet_declaration(struct parse *);
343 void parse_subnet6_declaration(struct parse *);
344 void parse_group_declaration(struct parse *);
345 void close_group(struct parse *, struct element *);
346 struct element *parse_fixed_addr_param(struct parse *, enum dhcp_token);
347 void parse_address_range(struct parse *, int, size_t);
348 void parse_address_range6(struct parse *, int, size_t);
349 void parse_prefix6(struct parse *, int, size_t);
350 void parse_fixed_prefix6(struct parse *, size_t);
351 void parse_pool6_statement(struct parse *, int);
352 struct element *parse_allow_deny(struct parse *, int);
353 void parse_server_duid_conf(struct parse *);
354 void parse_directive(struct parse *);
355 void parse_option_space_dir(struct parse *);
356 void parse_option_code_dir(struct parse *, struct option *);
357 void parse_option_status_dir(struct parse *, struct option *, enum dhcp_token);
358 void parse_option_local_dir(struct parse *, struct option *);
359 void parse_option_define_dir(struct parse *, struct option *);
361 /* parse.c */
362 void skip_to_semi(struct parse *);
363 void skip_to_rbrace(struct parse *, int);
364 void parse_semi(struct parse *);
365 void parse_string(struct parse *, char **, unsigned *);
366 struct string *parse_host_name(struct parse *);
367 struct string *parse_ip_addr_or_hostname(struct parse *, isc_boolean_t);
368 struct string *parse_ip_addr(struct parse *);
369 struct string *parse_ip6_addr(struct parse *);
370 struct string *parse_ip6_addr_txt(struct parse *);
371 struct element *parse_hardware_param(struct parse *);
372 void parse_lease_time(struct parse *, time_t *);
373 struct string *parse_numeric_aggregate(struct parse *,
376 void convert_num(struct parse *, unsigned char *, const char *,
378 struct option *parse_option_name(struct parse *, isc_boolean_t,
380 void parse_option_space_decl(struct parse *);
381 void parse_option_code_definition(struct parse *, struct option *);
382 void parse_vendor_code_definition(struct parse *, struct option *);
384 struct string *parse_base64(struct parse *);
385 struct string *parse_cshl(struct parse *);
386 struct string *parse_hexa(struct parse *);
388 struct parse *, isc_boolean_t *,
391 struct parse *, isc_boolean_t *,
394 isc_boolean_t parse_zone(struct element *, struct parse *);
395 isc_boolean_t parse_key(struct element *, struct parse *);
396 isc_boolean_t parse_on_statement(struct element *, struct parse *,
398 isc_boolean_t parse_switch_statement(struct element *, struct parse *,
400 isc_boolean_t parse_case_statement(struct element *, struct parse *,
402 isc_boolean_t parse_if_statement(struct element *, struct parse *,
404 isc_boolean_t parse_boolean_expression(struct element *, struct parse *,
407 isc_boolean_t parse_boolean(struct parse *);
408 isc_boolean_t parse_data_expression(struct element *, struct parse *,
410 isc_boolean_t numeric_expression(struct element *, struct parse *,
412 isc_boolean_t parse_non_binary(struct element *, struct parse *,
414 isc_boolean_t parse_expression(struct element *, struct parse *,
419 isc_boolean_t parse_option_data(struct element *, struct parse *,
421 isc_boolean_t parse_option_binary(struct element *, struct parse *,
423 struct string * parse_option_textbin(struct parse *, struct option *);
424 isc_boolean_t parse_option_statement(struct element *, struct parse *,
426 isc_boolean_t parse_config_data(struct element *, struct parse *,
428 isc_boolean_t parse_config_statement(struct element *, struct parse *,
430 struct string *parse_option_token(struct parse *, const char *,
433 struct string *parse_option_token_binary(struct parse *, const char *);
434 struct string *parse_domain_list(struct parse *, isc_boolean_t);
455 struct element *json_parse(struct parse *);
456 struct element *json_list_parse(struct parse *);
457 struct element *json_map_parse(struct parse *);