OpenDNSSEC-enforcer  2.0.4
Macros | Functions
keystate_ds.c File Reference
#include "config.h"
#include <sys/stat.h>
#include "daemon/cmdhandler.h"
#include "daemon/engine.h"
#include "enforcer/enforce_task.h"
#include "file.h"
#include "log.h"
#include "str.h"
#include "clientpipe.h"
#include "duration.h"
#include "db/key_data.h"
#include "db/zone.h"
#include "db/db_error.h"
#include "db/hsm_key.h"
#include "libhsm.h"
#include "libhsmdns.h"
#include "keystate/keystate_ds.h"

Go to the source code of this file.

Macros

#define NARGV   6
 

Functions

int change_keys_from_to (db_connection_t *dbconn, int sockfd, const char *zonename, const hsm_key_t *hsmkey, int keytag, key_data_ds_at_parent_t state_from, key_data_ds_at_parent_t state_to, engine_type *engine)
 
int run_ds_cmd (int sockfd, const char *cmd, ssize_t n, db_connection_t *dbconn, key_data_ds_at_parent_t state_from, key_data_ds_at_parent_t state_to, engine_type *engine)
 

Macro Definition Documentation

◆ NARGV

#define NARGV   6

Function Documentation

◆ change_keys_from_to()

int change_keys_from_to ( db_connection_t dbconn,
int  sockfd,
const char *  zonename,
const hsm_key_t hsmkey,
int  keytag,
key_data_ds_at_parent_t  state_from,
key_data_ds_at_parent_t  state_to,
engine_type engine 
)

Definition at line 342 of file keystate_ds.c.

References db_clause_list_new(), key_data_list_new(), and zone_new_get_by_name().

◆ run_ds_cmd()

int run_ds_cmd ( int  sockfd,
const char *  cmd,
ssize_t  n,
db_connection_t dbconn,
key_data_ds_at_parent_t  state_from,
key_data_ds_at_parent_t  state_to,
engine_type engine 
)

Definition at line 476 of file keystate_ds.c.