32 #include "cmdhandler.h"
38 #include "clientpipe.h"
55 " --zone <zone> aka -z\n"
56 " --keytag <keytag> | --cka_id <CKA_ID> aka -x | -k\n"
64 "Issue a ds-gone to the enforcer for a KSK. \n"
65 "(This command with no parameters lists eligible keys.)\n"
67 "zone name of the zone\n"
68 "keytag|cka_id specify the keytag or the locator of the key\n\n");
72 run(
int sockfd, cmdhandler_ctx_type* context,
const char *cmd)
88 "key ds-gone", &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_UNSUBMITTED
@ 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_gone_funcblock