Functions

/build/buildd-opendnssec_1.3.2-1~bpo60+1-s390-eF9Mr1/opendnssec-1.3.2/signer/src/parser/confparser.c File Reference

#include "parser/confparser.h"
#include "parser/zonelistparser.h"
#include "shared/allocator.h"
#include "shared/file.h"
#include "shared/log.h"
#include "shared/status.h"
#include <libxml/xpath.h>
#include <libxml/relaxng.h>
#include <libxml/xmlreader.h>
#include <string.h>
#include <stdlib.h>
Include dependency graph for confparser.c:

Go to the source code of this file.

Functions

ods_status parse_file_check (const char *cfgfile, const char *rngfile)
adapter_type ** parse_conf_adapters (allocator_type *allocator, const char *cfgfile, int *count)
const char * parse_conf_string (const char *cfgfile, const char *expr, int required)
const char * parse_conf_zonelist_filename (allocator_type *allocator, const char *cfgfile)
const char * parse_conf_zonefetch_filename (allocator_type *allocator, const char *cfgfile)
const char * parse_conf_log_filename (allocator_type *allocator, const char *cfgfile)
const char * parse_conf_pid_filename (allocator_type *allocator, const char *cfgfile)
const char * parse_conf_notify_command (allocator_type *allocator, const char *cfgfile)
const char * parse_conf_clisock_filename (allocator_type *allocator, const char *cfgfile)
const char * parse_conf_working_dir (allocator_type *allocator, const char *cfgfile)
const char * parse_conf_username (allocator_type *allocator, const char *cfgfile)
const char * parse_conf_group (allocator_type *allocator, const char *cfgfile)
const char * parse_conf_chroot (allocator_type *allocator, const char *cfgfile)
int parse_conf_use_syslog (const char *cfgfile)
int parse_conf_worker_threads (const char *cfgfile)
int parse_conf_signer_threads (const char *cfgfile)

Function Documentation

adapter_type** parse_conf_adapters ( allocator_type allocator,
const char *  cfgfile,
int *  count 
)
const char* parse_conf_chroot ( allocator_type allocator,
const char *  cfgfile 
)

Definition at line 454 of file confparser.c.

References allocator_strdup(), and parse_conf_string().

Referenced by engine_config().

const char* parse_conf_clisock_filename ( allocator_type allocator,
const char *  cfgfile 
)

Definition at line 382 of file confparser.c.

References allocator_strdup(), and parse_conf_string().

Referenced by engine_config().

const char* parse_conf_group ( allocator_type allocator,
const char *  cfgfile 
)

Definition at line 437 of file confparser.c.

References allocator_strdup(), and parse_conf_string().

Referenced by engine_config().

const char* parse_conf_log_filename ( allocator_type allocator,
const char *  cfgfile 
)

Definition at line 326 of file confparser.c.

References allocator_strdup(), and parse_conf_string().

Referenced by engine_config().

const char* parse_conf_notify_command ( allocator_type allocator,
const char *  cfgfile 
)

Definition at line 365 of file confparser.c.

References allocator_strdup(), and parse_conf_string().

Referenced by engine_config().

const char* parse_conf_pid_filename ( allocator_type allocator,
const char *  cfgfile 
)

Signer specific

Definition at line 346 of file confparser.c.

References allocator_strdup(), and parse_conf_string().

Referenced by engine_config().

int parse_conf_signer_threads ( const char *  cfgfile  ) 

Definition at line 506 of file confparser.c.

References parse_conf_string(), and parse_conf_worker_threads().

Referenced by engine_config().

const char* parse_conf_string ( const char *  cfgfile,
const char *  expr,
int  required 
)
int parse_conf_use_syslog ( const char *  cfgfile  ) 

Parse elements from the configuration file.

Definition at line 475 of file confparser.c.

References parse_conf_string().

Referenced by engine_config().

const char* parse_conf_username ( allocator_type allocator,
const char *  cfgfile 
)

Definition at line 420 of file confparser.c.

References allocator_strdup(), and parse_conf_string().

Referenced by engine_config().

int parse_conf_worker_threads ( const char *  cfgfile  ) 

Signer specific

Definition at line 489 of file confparser.c.

References parse_conf_string().

Referenced by engine_config(), and parse_conf_signer_threads().

const char* parse_conf_working_dir ( allocator_type allocator,
const char *  cfgfile 
)

Definition at line 401 of file confparser.c.

References allocator_strdup(), and parse_conf_string().

Referenced by engine_config().

const char* parse_conf_zonefetch_filename ( allocator_type allocator,
const char *  cfgfile 
)

Definition at line 309 of file confparser.c.

References allocator_strdup(), and parse_conf_string().

Referenced by engine_config().

const char* parse_conf_zonelist_filename ( allocator_type allocator,
const char *  cfgfile 
)

Parse elements from the configuration file.

Parameters:
[in] allocator the allocator
[in] cfgfile the configuration file name
Returns:
const char* string Common

Definition at line 292 of file confparser.c.

References allocator_strdup(), and parse_conf_string().

Referenced by engine_config().

ods_status parse_file_check ( const char *  cfgfile,
const char *  rngfile 
)

Parse elements from the configuration file.

Definition at line 55 of file confparser.c.

References ods_log_assert, ods_log_debug(), and ods_log_error().

Referenced by engine_config().