32#include "cmdhandler.h"
38#include "clientpipe.h"
39#include "longgetopt.h"
56 " --zone <zone> aka -z\n"
57 " --keytag <keytag> | --cka_id <CKA_ID> aka -x | -k\n"
65 "Issue a ds-gone to the enforcer for a KSK. \n"
66 "(This command with no parameters lists eligible keys.)\n"
68 "zone name of the zone\n"
69 "keytag|cka_id specify the keytag or the locator of the key\n\n");
73run(cmdhandler_ctx_type* context,
int argc,
char* argv[])
78 error =
run_ds_cmd(context, argc, argv, dbconn,
89 "key ds-gone", &usage, &help, NULL, NULL, &run, NULL
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(cmdhandler_ctx_type *context, int argc, char *argv[], 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