33#include "cmdhandler.h"
39#include "clientpipe.h"
40#include "longgetopt.h"
51 " --zone <zone> aka -z \n"
52 " --keytag <keytag> | --cka_id <CKA_ID> aka -x | -k\n"
62 "Issue a ds-seen to the enforcer for a KSK/ or all 'ready for ds-seen' KSKs. This command indicates to OpenDNSSEC taht a submitted DS record has appreared in the parent zone, and thereby trigger the completion of KSK rollover.\n"
63 "(This command with no parameters lists eligible keys.)\n"
65 "zone name of the zone\n"
66 "keytag|cka_id specify the keytag or the locator of the key\n\n"
67 "all for all 'ready for ds-seen' KSKs");
71run(cmdhandler_ctx_type* context,
int argc,
char* argv[])
76 error =
run_ds_cmd(context, argc, argv, dbconn,
88 "key ds-seen", &usage, &help, NULL, NULL, &run, NULL
struct db_connection db_connection_t
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)
struct engine_struct engine_type
@ KEY_DATA_DS_AT_PARENT_SUBMITTED
@ KEY_DATA_DS_AT_PARENT_SEEN
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_seen_funcblock