OpenDNSSEC-enforcer  1.3.9
Functions
enforcer.h File Reference
#include "ksm/ksm.h"
#include "libhsm.h"
Include dependency graph for enforcer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int server_init (DAEMONCONFIG *config)
void server_main (DAEMONCONFIG *config)
int do_keygen (DAEMONCONFIG *config, KSM_POLICY *policy, hsm_ctx_t *ctx)
int do_communication (DAEMONCONFIG *config, KSM_POLICY *policy)
int commGenSignConf (char *zone_name, int zone_id, char *current_filename, KSM_POLICY *policy, int *signer_flag, int run_interval, int man_key_gen, const char *DSSubmitCmd)
int commKeyConfig (void *context, KSM_KEYDATA *key_data)
int allocateKeysToZone (KSM_POLICY *policy, int key_type, int zone_id, uint16_t interval, const char *zone_name, int man_key_gen, int rollover_scheme)
int read_zonelist_filename (const char *filename, char **zone_list_filename)
int do_purge (int interval, int policy_id)
int NewDSSet (int zone_id, const char *zone_name, const char *DSSubmitCmd)
void check_hsm_connection (hsm_ctx_t **ctx, DAEMONCONFIG *config)

Function Documentation

int allocateKeysToZone ( KSM_POLICY policy,
int  key_type,
int  zone_id,
uint16_t  interval,
const char *  zone_name,
int  man_key_gen,
int  rollover_scheme 
)

Definition at line 1212 of file enforcer.c.

void check_hsm_connection ( hsm_ctx_t **  ctx,
DAEMONCONFIG config 
)

Definition at line 1874 of file enforcer.c.

References DAEMONCONFIG::configfile, log_msg(), and DAEMONCONFIG::pidfile.

Referenced by server_main().

int commGenSignConf ( char *  zone_name,
int  zone_id,
char *  current_filename,
KSM_POLICY policy,
int *  signer_flag,
int  run_interval,
int  man_key_gen,
const char *  DSSubmitCmd 
)
int commKeyConfig ( void *  context,
KSM_KEYDATA key_data 
)
int do_communication ( DAEMONCONFIG config,
KSM_POLICY policy 
)
int do_keygen ( DAEMONCONFIG config,
KSM_POLICY policy,
hsm_ctx_t *  ctx 
)
int do_purge ( int  interval,
int  policy_id 
)
int NewDSSet ( int  zone_id,
const char *  zone_name,
const char *  DSSubmitCmd 
)
int read_zonelist_filename ( const char *  filename,
char **  zone_list_filename 
)

Definition at line 1335 of file enforcer.c.

References log_msg(), StrAppend(), and StrFree.

Referenced by cmd_addzone(), cmd_delzone(), cmd_listzone(), and do_communication().

int server_init ( DAEMONCONFIG config)

Definition at line 63 of file enforcer.c.

References log_msg(), and DAEMONCONFIG::pidfile.

void server_main ( DAEMONCONFIG config)