#include <stdarg.h>#include <ksm/system_includes.h>#include <ksm/memory.h>

Go to the source code of this file.
Data Structures | |
| struct | MSG_CODEBLOCK |
Typedefs | |
| typedef void(* | MSG_OUTPUT_FUNCTION )(const char *text) |
Functions | |
| void | MsgInit (void) |
| void | MsgDefaultOutput (const char *text) |
| void | MsgNoOutput (const char *text) |
| void | MsgRegister (int min, int max, const char **message, MSG_OUTPUT_FUNCTION output) |
| int | MsgFindCodeBlock (int status) |
| const char * | MsgText (int status) |
| MSG_OUTPUT_FUNCTION | MsgGetOutput (int status) |
| void | MsgSetOutput (int code, MSG_OUTPUT_FUNCTION output) |
| int | MsgLog (int status,...) |
| int | MsgLogAp (int status, va_list ap) |
| void | MsgRundown (void) |
| typedef void(* MSG_OUTPUT_FUNCTION)(const char *text) |
| int MsgFindCodeBlock | ( | int | status | ) |
Definition at line 189 of file message.c.
References m_numblocks, max, and min.
Referenced by MsgGetOutput(), MsgSetOutput(), and MsgText().
| MSG_OUTPUT_FUNCTION MsgGetOutput | ( | int | status | ) |
Definition at line 261 of file message.c.
References MsgFindCodeBlock(), and MSG_CODEBLOCK::output.
Referenced by MsgLogAp().
| void MsgInit | ( | void | ) |
Definition at line 66 of file message.c.
References m_numblocks.
| int MsgLog | ( | int | status, | |
| ... | ||||
| ) |
Definition at line 338 of file message.c.
References MsgLogAp().
Referenced by ChangeKeyState(), cmd_purgepolicy(), db_version_check(), DbCheckConnected(), DbConnect(), DbDisconnect(), DbExecuteSql(), DbExecuteSqlNoResult(), DbFetchRow(), DbFreeResult(), DbFreeRow(), DbInt(), DbIntQuery(), DbLastRowId(), DbRowId(), DbString(), DbStringBuffer(), DbUnsignedLong(), DtNow(), KsmCheckHSMkeyID(), KsmCollectionInit(), KsmDeleteZone(), KsmDnssecKeyCreate(), KsmDNSSECKeysInSMCount(), KsmDNSSECKeysStateCountInit(), KsmImportKeyPair(), KsmImportPolicy(), KsmImportRepository(), KsmImportZone(), KsmKey(), KsmKeyCountQueue(), KsmKeyCountStillGood(), KsmKeyGetUnallocated(), KsmKeyInit(), KsmKeyPairCreate(), KsmKeyPredict(), KsmMarkBackup(), KsmMarkPreBackup(), KsmParameter(), KsmParameterClockskew(), KsmParameterCollection(), KsmParameterInitialPublicationInterval(), KsmParameterKskLifetime(), KsmParameterKskPropagationDelay(), KsmParameterKskTtl(), KsmParameterPropagationDelay(), KsmParameterPubSafety(), KsmParameterRegistrationDelay(), KsmParameterRetSafety(), KsmParameterSigningInterval(), KsmParameterSoaMin(), KsmParameterSoaTtl(), KsmParameterStandbyKSKeys(), KsmParameterStandbyZSKeys(), KsmParameterValue(), KsmParameterZskLifetime(), KsmParameterZskTtl(), KsmPolicy(), KsmPolicyClockskew(), KsmPolicyExists(), KsmPolicyIdFromName(), KsmPolicyIdFromZoneId(), KsmPolicyInitialPublicationInterval(), KsmPolicyKeyLifetime(), KsmPolicyKeyTtl(), KsmPolicyNameFromId(), KsmPolicyNullSaltStamp(), KsmPolicyParameter(), KsmPolicyPopulateSMFromIds(), KsmPolicyPropagationDelay(), KsmPolicyRead(), KsmPolicySetIdFromName(), KsmPolicySoaMin(), KsmPolicySoaTtl(), KsmPolicyStandbyKeys(), KsmPolicyUpdateSalt(), KsmRequestAvailableCount(), KsmRequestChangeState(), KsmRequestChangeStateGenerateDSSubConditional(), KsmRequestChangeStateGeneratePublishConditional(), KsmRequestChangeStateN(), KsmRequestCheckActiveKey(), KsmRequestCheckCompromisedFlag(), KsmRequestCheckFirstPass(), KsmRequestCountReadyKey(), KsmRequestGenerateCount(), KsmRequestIssueKeys(), KsmRequestKeys(), KsmRequestKeysByType(), KsmRequestPendingRetireCount(), KsmRequestSetActiveExpectedRetire(), KsmRequestStandbyKSKCount(), KsmRollbackMarkPreBackup(), KsmSerialIdFromName(), KsmSmIdFromName(), KsmUpdateActiveKeyTime(), KsmUpdateDeadKeyTime(), KsmUpdateDSPublishKeyTime(), KsmUpdateGenerateKeyTime(), KsmUpdateKey(), KsmUpdateKEYPublishKeyTime(), KsmUpdateKeyTime(), KsmUpdatePublishKeyTime(), KsmUpdateReadyKeyTime(), KsmUpdateRetireKeyTime(), KsmZone(), KsmZoneCount(), KsmZoneIdAndPolicyFromName(), KsmZoneIdFromName(), KsmZoneNameFromId(), MarkDSSeen(), MemCalloc(), MemMalloc(), MemRealloc(), RetireOldKey(), StrKeywordSearch(), StrStrdup(), StrStrtoi(), StrStrtol(), StrStrtoui(), and StrStrtoul().
| int MsgLogAp | ( | int | status, | |
| va_list | ap | |||
| ) |
| void MsgRegister | ( | int | min, | |
| int | max, | |||
| const char ** | message, | |||
| MSG_OUTPUT_FUNCTION | output | |||
| ) |
Definition at line 144 of file message.c.
References m_numblocks, MAX, MSG_CODEBLOCK::max, MemCalloc(), MemRealloc(), MSG_CODEBLOCK::message, MIN, MSG_CODEBLOCK::min, and MSG_CODEBLOCK::output.
| void MsgRundown | ( | void | ) |
Definition at line 415 of file message.c.
References m_numblocks, and MemFree.
Referenced by KsmRundown(), and main().
| void MsgSetOutput | ( | int | code, | |
| MSG_OUTPUT_FUNCTION | output | |||
| ) |
Definition at line 293 of file message.c.
References MsgFindCodeBlock(), and MSG_CODEBLOCK::output.
| const char* MsgText | ( | int | status | ) |
Definition at line 226 of file message.c.
References MSG_CODEBLOCK::message, MSG_CODEBLOCK::min, and MsgFindCodeBlock().
Referenced by MsgLogAp().
1.7.1