OpenDNSSEC-enforcer  1.4.10
Functions
ksm_parameter.c File Reference
#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/kmedef.h"
#include "ksm/ksmdef.h"
#include "ksm/ksm.h"
#include "ksm/ksm_internal.h"
#include "ksm/message.h"
#include "ksm/string_util.h"
Include dependency graph for ksm_parameter.c:

Go to the source code of this file.

Functions

int KsmParameterInit (DB_RESULT *result, const char *name, const char *category, int policy_id)
 
int KsmParameterExist (DB_RESULT *result, const char *name, const char *category, int *parameter_id)
 
int KsmParameter (DB_RESULT result, KSM_PARAMETER *data)
 
void KsmParameterEnd (DB_RESULT result)
 
int KsmParameterValue (const char *name, const char *category, int *value, int policy_id, int *parameter_id)
 
int KsmCollectionInit (KSM_PARCOLL *data)
 
void KsmParameterCollectionCache (int enable)
 
int KsmParameterCollection (KSM_PARCOLL *data, int policy_id)
 
int KsmParameterSet (const char *name, const char *category, int value, int policy_id)
 
int KsmParameterShow (const char *name, const char *category, int policy_id)
 

Function Documentation

int KsmCollectionInit ( KSM_PARCOLL data)
int KsmParameter ( DB_RESULT  result,
KSM_PARAMETER data 
)
int KsmParameterCollection ( KSM_PARCOLL data,
int  policy_id 
)

Definition at line 400 of file ksm_parameter.c.

References KSM_PARCOLL::clockskew, KSM_PARCOLL::dsttl, KSM_PARCOLL::ksklife, KSM_PARCOLL::kskmanroll, KSM_PARCOLL::kskpropdelay, KSM_PARCOLL::kskroll, KSM_PARCOLL::kskttl, KSM_INVARG, KSM_PAR_CLOCKSKEW_CAT, KSM_PAR_CLOCKSKEW_STRING, KSM_PAR_DSTTL_CAT, KSM_PAR_DSTTL_STRING, KSM_PAR_KSK_MAN_ROLL_CAT, KSM_PAR_KSK_MAN_ROLL_STRING, KSM_PAR_KSKLIFE_CAT, KSM_PAR_KSKLIFE_STRING, KSM_PAR_KSKPROPDELAY_CAT, KSM_PAR_KSKPROPDELAY_STRING, KSM_PAR_KSKTTL_CAT, KSM_PAR_KSKTTL_STRING, KSM_PAR_PROPDELAY_CAT, KSM_PAR_PROPDELAY_STRING, KSM_PAR_PUBSAFETY_CAT, KSM_PAR_PUBSAFETY_STRING, KSM_PAR_REGDELAY_CAT, KSM_PAR_REGDELAY_STRING, KSM_PAR_RETSAFETY_CAT, KSM_PAR_RETSAFETY_STRING, KSM_PAR_REVOKE_CAT, KSM_PAR_REVOKE_STRING, KSM_PAR_RFC5011_CAT, KSM_PAR_RFC5011_STRING, KSM_PAR_SIGNINT_CAT, KSM_PAR_SIGNINT_STRING, KSM_PAR_SOAMIN_CAT, KSM_PAR_SOAMIN_STRING, KSM_PAR_SOATTL_CAT, KSM_PAR_SOATTL_STRING, KSM_PAR_STANDBYKSKS_CAT, KSM_PAR_STANDBYKSKS_STRING, KSM_PAR_STANDBYZSKS_CAT, KSM_PAR_STANDBYZSKS_STRING, KSM_PAR_ZSK_MAN_ROLL_CAT, KSM_PAR_ZSK_MAN_ROLL_STRING, KSM_PAR_ZSKLIFE_CAT, KSM_PAR_ZSKLIFE_STRING, KSM_PAR_ZSKSIGLIFE_CAT, KSM_PAR_ZSKSIGLIFE_STRING, KSM_PAR_ZSKTTL_CAT, KSM_PAR_ZSKTTL_STRING, KSM_ROLL_DEFAULT, KsmParameterValue(), MsgLog(), KSM_PARCOLL::propdelay, KSM_PARCOLL::pub_safety, KSM_PARCOLL::regdelay, KSM_PARCOLL::ret_safety, KSM_PARCOLL::revoke, KSM_PARCOLL::rfc5011, KSM_PARCOLL::signint, KSM_PARCOLL::soamin, KSM_PARCOLL::soattl, KSM_PARCOLL::standbyksks, KSM_PARCOLL::standbyzsks, KSM_PARCOLL::zsklife, KSM_PARCOLL::zskmanroll, KSM_PARCOLL::zsksiglife, and KSM_PARCOLL::zskttl.

Referenced by allocateKeysToZone(), ChangeKeyState(), KsmKeyCountStillGood(), KsmKeyPredict(), KsmRequestKeysByType(), KsmUpdate(), MarkDSSeen(), RetireOldKey(), and RevokeOldKey().

void KsmParameterCollectionCache ( int  enable)

Definition at line 390 of file ksm_parameter.c.

Referenced by server_main().

void KsmParameterEnd ( DB_RESULT  result)
int KsmParameterExist ( DB_RESULT result,
const char *  name,
const char *  category,
int *  parameter_id 
)
int KsmParameterInit ( DB_RESULT result,
const char *  name,
const char *  category,
int  policy_id 
)
int KsmParameterSet ( const char *  name,
const char *  category,
int  value,
int  policy_id 
)
int KsmParameterShow ( const char *  name,
const char *  category,
int  policy_id 
)
int KsmParameterValue ( const char *  name,
const char *  category,
int *  value,
int  policy_id,
int *  parameter_id 
)