OpenDNSSEC-enforcer
1.4.1
|
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "ksm/database.h"
#include "ksm/database_statement.h"
#include "ksm/datetime.h"
#include "ksm/db_fields.h"
#include "ksm/debug.h"
#include "ksm/ksmdef.h"
#include "ksm/ksm.h"
#include "ksm/ksm_internal.h"
#include "ksm/message.h"
#include "ksm/string_util.h"
#include "ksm/string_util2.h"
Go to the source code of this file.
Functions | |
int | KsmListBackups (int repo_id, int verbose_flag) |
int | KsmListRepos () |
int | KsmListPolicies () |
int | KsmListRollovers (int zone_id, int *ds_count) |
int | KsmCheckNextRollover (int keytype, int zone_id, char **datetime) |
int KsmCheckNextRollover | ( | int | keytype, |
int | zone_id, | ||
char ** | datetime | ||
) |
Definition at line 459 of file ksm_list.c.
References DbExecuteSql(), DbFetchRow(), DbFreeResult(), DbFreeRow(), DbHandle(), DbString(), DQS_COMPARE_EQ, DqsConditionInt(), DqsEnd(), DqsSpecifyInit(), DusFree(), KSM_STATE_ACTIVE, and StrAppend().
Referenced by do_communication().
int KsmListBackups | ( | int | repo_id, |
int | verbose_flag | ||
) |
Definition at line 66 of file ksm_list.c.
References DbExecuteSql(), DbFetchRow(), DbFreeResult(), DbFreeRow(), DbHandle(), DbInt(), DbString(), DbStringFree(), DusEnd(), DusFree(), KSM_INT_STR_SIZE, and StrAppend().
Referenced by cmd_listbackups().
int KsmListPolicies | ( | ) |
Definition at line 308 of file ksm_list.c.
References DbExecuteSql(), DbFetchRow(), DbFreeResult(), DbFreeRow(), DbHandle(), DbString(), DbStringFree(), DusEnd(), DusFree(), and StrAppend().
Referenced by cmd_listpolicy().
int KsmListRepos | ( | ) |
Definition at line 244 of file ksm_list.c.
References DbExecuteSql(), DbFetchRow(), DbFreeResult(), DbFreeRow(), DbHandle(), DbInt(), DbString(), DbStringFree(), DusEnd(), DusFree(), and StrAppend().
Referenced by cmd_listrepo().
int KsmListRollovers | ( | int | zone_id, |
int * | ds_count | ||
) |
Definition at line 371 of file ksm_list.c.
References DbExecuteSql(), DbFetchRow(), DbFreeResult(), DbFreeRow(), DbHandle(), DbInt(), DbString(), DbStringFree(), DusEnd(), DusFree(), KSM_INT_STR_SIZE, KSM_STATE_ACTIVE, KSM_TYPE_KSK, and StrAppend().
Referenced by cmd_listrolls().