32 #include "cmdhandler.h"
38 #include "clientpipe.h"
49 " --zone <zone> aka -z\n"
50 " --keytag <keytag> | --cka_id <CKA_ID> aka -x | -k\n"
60 "Issue a ds-retract to the enforcer for a KSK.\n"
61 "(This command with no parameters lists eligible keys.)\n"
63 "zone name of the zone\n"
64 "keytag|cka_id specify the keytag or the locator of the key\n\n");
68 run(
int sockfd, cmdhandler_ctx_type* context,
const char *cmd)
86 "key ds-retract", &usage, &help, NULL, &run
void enforce_task_flush_all(engine_type *engine, db_connection_t *dbconn)
db_connection_t * getconnectioncontext(cmdhandler_ctx_type *context)
engine_type * getglobalcontext(cmdhandler_ctx_type *context)
@ KEY_DATA_DS_AT_PARENT_RETRACT
@ KEY_DATA_DS_AT_PARENT_RETRACTED
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)
struct cmd_func_block key_ds_retract_funcblock