OpenDNSSEC-signer  2.0.2
Data Structures | Typedefs | Functions
cfg.h File Reference
#include "config.h"
#include <stdio.h>
#include "status.h"
#include "hsm.h"
#include "locks.h"
#include "wire/listener.h"

Go to the source code of this file.

Data Structures

struct  engineconfig_struct
 

Typedefs

typedef struct engineconfig_struct engineconfig_type
 

Functions

engineconfig_typeengine_config (const char *cfgfile, int cmdline_verbosity)
 
ods_status engine_config_check (engineconfig_type *config)
 
void engine_config_print (FILE *out, engineconfig_type *config)
 
void engine_config_cleanup (engineconfig_type *config)
 

Typedef Documentation

§ engineconfig_type

Definition at line 33 of file cfg.h.

Function Documentation

§ engine_config()

engineconfig_type* engine_config ( const char *  cfgfile,
int  cmdline_verbosity 
)

Configure engine.

Parameters
[in]allocatormemory allocator
[in]cfgfileconfig file
[in]cmdline_verbositylog level
Returns
engineconfig_type* engine configuration

Configure engine.

Definition at line 51 of file cfg.c.

References parse_file_check().

§ engine_config_check()

ods_status engine_config_check ( engineconfig_type config)

Check configuration.

Parameters
[in]configengine configuration
Returns
ods_status status ODS_STATUS_OK: configuration settings ok else: error in configuration settings

Check configuration.

Definition at line 110 of file cfg.c.

§ engine_config_cleanup()

void engine_config_cleanup ( engineconfig_type config)

§ engine_config_print()

void engine_config_print ( FILE *  out,
engineconfig_type config 
)