OpenDNSSEC-enforcer
1.3.8
|
#include <stdlib.h>
#include <time.h>
Go to the source code of this file.
Functions | |
int | DtNow (struct tm *datetime) |
int | DtNumeric (const char *string, struct tm *datetime) |
int | DtAppendTime (char *fulldt, const char *timepart) |
int | DtGeneral (const char *string, struct tm *datetime) |
char * | DtGeneralString (const char *string) |
int | DtParseDateTime (const char *string, struct tm *datetime) |
char * | DtParseDateTimeString (const char *string) |
int | DtIntervalSeconds (const char *number, int *interval) |
void | DtSecondsInterval (int interval, char *text, size_t textlen) |
int | DtDateDiff (const char *date1, const char *date2, int *diff) |
int | DtXMLIntervalSeconds (const char *number, int *interval) |
int DtAppendTime | ( | char * | fulldt, |
const char * | timepart | ||
) |
Definition at line 238 of file datetime.c.
Referenced by DtGeneral().
int DtDateDiff | ( | const char * | date1, |
const char * | date2, | ||
int * | diff | ||
) |
Definition at line 828 of file datetime.c.
Referenced by do_communication(), and KsmPolicyUpdateSalt().
int DtGeneral | ( | const char * | string, |
struct tm * | datetime | ||
) |
Definition at line 329 of file datetime.c.
References COPY2, COPY3, COPY4, DtAppendTime(), DtNumeric(), StrIsDigits(), and StrStrncpy().
Referenced by cmd_import(), DtGeneralString(), and DtParseDateTime().
char* DtGeneralString | ( | const char * | string | ) |
Definition at line 480 of file datetime.c.
References DtGeneral(), KSM_TIME_LENGTH, and StrStrdup().
int DtIntervalSeconds | ( | const char * | number, |
int * | interval | ||
) |
Definition at line 678 of file datetime.c.
References StrStrtoi().
int DtNow | ( | struct tm * | datetime | ) |
Definition at line 95 of file datetime.c.
References DtParseDateTime(), KME_TIMESHIFT, and MsgLog().
Referenced by DtParseDateTime().
int DtNumeric | ( | const char * | string, |
struct tm * | datetime | ||
) |
int DtParseDateTime | ( | const char * | string, |
struct tm * | datetime | ||
) |
Definition at line 546 of file datetime.c.
References DtGeneral(), DtNow(), StrFree, StrStrdup(), StrToLower(), StrTrimL(), and StrTrimR().
Referenced by DtNow(), and DtParseDateTimeString().
char* DtParseDateTimeString | ( | const char * | string | ) |
Definition at line 617 of file datetime.c.
References DtParseDateTime(), KSM_TIME_LENGTH, and StrStrdup().
Referenced by allocateKeysToZone(), cmd_backup(), cmd_dsseen(), cmd_genkeys(), cmd_kskretire(), commGenSignConf(), do_communication(), do_keygen(), do_purge(), keyRoll(), KsmKillKey(), and KsmPolicyUpdateSalt().
void DtSecondsInterval | ( | int | interval, |
char * | text, | ||
size_t | textlen | ||
) |
Definition at line 777 of file datetime.c.
References StrStrncpy().
Referenced by KsmParameterShow().
int DtXMLIntervalSeconds | ( | const char * | number, |
int * | interval | ||
) |
Definition at line 928 of file datetime.c.
Referenced by cmd_genkeys(), get_conf_key_info(), ReadConfig(), and SetParamOnPolicy().