keystate_ds.c File Reference
`#include "config.h"`
`#include <sys/stat.h>`
`#include <getopt.h>`
`#include "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_db.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, 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 345 of file keystate_ds.c.

## run_ds_cmd()

int run_ds_cmd | ( | int | sockfd,
|  | const char * | cmd,
|  | 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 433 of file keystate_ds.c.