OpenDNSSEC-enforcer  1.3.9
Macros
ksmdef.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define KSM_SUCCESS   0 /* Successful completion */
#define KSM_BASE   65536 /* Base of KSM status codes */
#define KSM_INVOPTION   (KSM_BASE + 0) /* ERROR: Invalid command option -%c */
#define KSM_UNRCOMMAND   (KSM_BASE + 1) /* ERROR: Unrecognised command */
#define KSM_AMBCOMMAND   (KSM_BASE + 2) /* ERROR: Ambiguous command */
#define KSM_NOTIMPL   (KSM_BASE + 3) /* WARNING: Command not implemented yet */
#define KSM_INITFAIL   (KSM_BASE + 4) /* ERROR: MySQL initialization failure */
#define KSM_CONNFAIL   (KSM_BASE + 5) /* ERROR: Unable to connect to database: %s */
#define KSM_NOTCONN   (KSM_BASE + 6) /* INFO: not connected to a database */
#define KSM_TOOMANYARG   (KSM_BASE + 7) /* ERROR: too many command line arguments */
#define KSM_GRPCREFAIL   (KSM_BASE + 8) /* ERROR: unable to create group %s - %s */
#define KSM_OBJECTID   (KSM_BASE + 9) /* ERROR: unable to get ID of %s - %s */
#define KSM_EXTRADATA   (KSM_BASE + 10) /* ERROR: extra data in result set */
#define KSM_NOGROUP   (KSM_BASE + 11) /* ERROR: no groups specified */
#define KSM_GRPCREATE   (KSM_BASE + 12) /* INFO: created group %s */
#define KSM_GRPDELETE   (KSM_BASE + 13) /* INFO: created group %s */
#define KSM_COUNTFAIL   (KSM_BASE + 14) /* ERROR: failed to perform count of objects in database - %s */
#define KSM_EXISTS   (KSM_BASE + 15) /* ERROR: object with name '%s' already exists */
#define KSM_CREFAIL   (KSM_BASE + 16) /* ERROR: failed to create '%s' */
#define KSM_NOTFOUND   (KSM_BASE + 17) /* ERROR: unable to find object '%s' */
#define KSM_CHILDZONE   (KSM_BASE + 18) /* ERROR: unable to delete group as child zones are attached to it */
#define KSM_INSFARG   (KSM_BASE + 19) /* ERROR: insufficient command line arguments */
#define KSM_INVARG   (KSM_BASE + 20) /* ERROR: invalid argument */
#define KSM_SQLFAIL   (KSM_BASE + 21) /* ERROR: database operation failed - %s */
#define KSM_FLDMISMAT   (KSM_BASE + 22) /* ERROR: program error - number of fields returned did not match number expected */
#define KSM_EXCESS   (KSM_BASE + 23) /* WARNING: too much data in result set - excess ignored */
#define KSM_PERMANENT   (KSM_BASE + 24) /* ERROR: it is not permitted to delete the permanent object %s */
#define KSM_CHILDREN   (KSM_BASE + 25) /* ERROR: unable to delete %s because child objects are associated with it */
#define KSM_DELFAIL   (KSM_BASE + 26) /* ERROR: unable to delete %s - %s */
#define KSM_INVNAME   (KSM_BASE + 27) /* ERROR: object name is invalid */
#define KSM_NOTGROUP   (KSM_BASE + 28) /* ERROR: %s is not a group */
#define KSM_NOTZONE   (KSM_BASE + 29) /* ERROR: %s is not a zone */
#define KSM_NOTCONNE   (KSM_BASE + 30) /* ERROR: not connected to the database */
#define KSM_STMTALLOC   (KSM_BASE + 31) /* ERROR: unable to allocate space for prepared statement structure */
#define KSM_STMTPREP   (KSM_BASE + 32) /* ERROR: unable to create SQL statement - %s */
#define KSM_STMTBIND   (KSM_BASE + 33) /* ERROR: unable to bind parameters to statement - %s */
#define KSM_STMTEXEC   (KSM_BASE + 34) /* ERROR: unable to execute SQL statement - %s */
#define KSM_UNRCONCOD   (KSM_BASE + 35) /* WARNING: unrecognised condition code %d: code ignored */
#define KSM_PAREXIST   (KSM_BASE + 36) /* ERROR: parameter '%' already exists attached to '%s' */
#define KSM_NOPARWTHID   (KSM_BASE + 37) /* ERROR: cannot find parameter with ID of %d */
#define KSM_NOPARPNAME   (KSM_BASE + 38) /* WARNING: no parameter named %s found on parent %s, default value used */
#define KSM_NOPARPID   (KSM_BASE + 39) /* WARNING: no parameter named %s found on parent with ID %d, default value used */
#define KSM_UNRKEYSTA   (KSM_BASE + 40) /* WARNING: key ID %d is in unrecognised state %d */
#define KSM_BUFFEROVF   (KSM_BASE + 41) /* ERROR: internal error, buffer overflow in %s */
#define KSM_REQKEYTYPE   (KSM_BASE + 42) /* INFO: requesting issue of %s signing keys */
#define KSM_KEYCHSTATE   (KSM_BASE + 43) /* INFO: moving %d key(s) from '%s' state to '%s' state */
#define KSM_RETIRECNT   (KSM_BASE + 44) /* INFO: %d 'active' keys will be retiring in the immediate future */
#define KSM_AVAILCNT   (KSM_BASE + 45) /* INFO: %d keys current in 'publish', 'ready' and 'active' states */
#define KSM_KEYCNTSUMM   (KSM_BASE + 46) /* INFO: %d keys required, therefore %d new keys need to be put in 'publish' state */
#define KSM_INSFGENKEY   (KSM_BASE + 47) /* ERROR: only %d %ss available in 'generate' state - request abandoned */
#define KSM_GENERATECNT   (KSM_BASE + 48) /* INFO: %d %ss available in 'generate' state */
#define KSM_REMAINACT   (KSM_BASE + 49) /* INFO: %d %ss remaining in 'active' state */
#define KSM_READYCNT   (KSM_BASE + 50) /* INFO: %d %ss in the 'ready' state */
#define KSM_NOREADYKEY   (KSM_BASE + 51) /* WARNING: cannot continue with key rollover as there are no keys in the 'ready' state */
#define KSM_ACTKEYRET   (KSM_BASE + 52) /* INFO: %d keys in 'active' state will have their expected retire date modified */
#define KSM_NOSUCHPAR   (KSM_BASE + 53) /* ERROR: no such parameter with name %s */

Macro Definition Documentation

#define KSM_ACTKEYRET   (KSM_BASE + 52) /* INFO: %d keys in 'active' state will have their expected retire date modified */

Definition at line 100 of file ksmdef.h.

#define KSM_AMBCOMMAND   (KSM_BASE + 2) /* ERROR: Ambiguous command */

Definition at line 50 of file ksmdef.h.

#define KSM_AVAILCNT   (KSM_BASE + 45) /* INFO: %d keys current in 'publish', 'ready' and 'active' states */

Definition at line 93 of file ksmdef.h.

#define KSM_BASE   65536 /* Base of KSM status codes */

Definition at line 46 of file ksmdef.h.

#define KSM_BUFFEROVF   (KSM_BASE + 41) /* ERROR: internal error, buffer overflow in %s */

Definition at line 89 of file ksmdef.h.

#define KSM_CHILDREN   (KSM_BASE + 25) /* ERROR: unable to delete %s because child objects are associated with it */

Definition at line 73 of file ksmdef.h.

#define KSM_CHILDZONE   (KSM_BASE + 18) /* ERROR: unable to delete group as child zones are attached to it */

Definition at line 66 of file ksmdef.h.

#define KSM_CONNFAIL   (KSM_BASE + 5) /* ERROR: Unable to connect to database: %s */

Definition at line 53 of file ksmdef.h.

#define KSM_COUNTFAIL   (KSM_BASE + 14) /* ERROR: failed to perform count of objects in database - %s */

Definition at line 62 of file ksmdef.h.

#define KSM_CREFAIL   (KSM_BASE + 16) /* ERROR: failed to create '%s' */

Definition at line 64 of file ksmdef.h.

#define KSM_DELFAIL   (KSM_BASE + 26) /* ERROR: unable to delete %s - %s */

Definition at line 74 of file ksmdef.h.

#define KSM_EXCESS   (KSM_BASE + 23) /* WARNING: too much data in result set - excess ignored */

Definition at line 71 of file ksmdef.h.

#define KSM_EXISTS   (KSM_BASE + 15) /* ERROR: object with name '%s' already exists */

Definition at line 63 of file ksmdef.h.

#define KSM_EXTRADATA   (KSM_BASE + 10) /* ERROR: extra data in result set */

Definition at line 58 of file ksmdef.h.

#define KSM_FLDMISMAT   (KSM_BASE + 22) /* ERROR: program error - number of fields returned did not match number expected */

Definition at line 70 of file ksmdef.h.

#define KSM_GENERATECNT   (KSM_BASE + 48) /* INFO: %d %ss available in 'generate' state */

Definition at line 96 of file ksmdef.h.

#define KSM_GRPCREATE   (KSM_BASE + 12) /* INFO: created group %s */

Definition at line 60 of file ksmdef.h.

#define KSM_GRPCREFAIL   (KSM_BASE + 8) /* ERROR: unable to create group %s - %s */

Definition at line 56 of file ksmdef.h.

#define KSM_GRPDELETE   (KSM_BASE + 13) /* INFO: created group %s */

Definition at line 61 of file ksmdef.h.

#define KSM_INITFAIL   (KSM_BASE + 4) /* ERROR: MySQL initialization failure */

Definition at line 52 of file ksmdef.h.

#define KSM_INSFARG   (KSM_BASE + 19) /* ERROR: insufficient command line arguments */

Definition at line 67 of file ksmdef.h.

#define KSM_INSFGENKEY   (KSM_BASE + 47) /* ERROR: only %d %ss available in 'generate' state - request abandoned */

Definition at line 95 of file ksmdef.h.

#define KSM_INVARG   (KSM_BASE + 20) /* ERROR: invalid argument */

Definition at line 68 of file ksmdef.h.

Referenced by KsmCheckHSMkeyID(), KsmCollectionInit(), KsmDnssecKeyCreate(), KsmDNSSECKeysStateCountInit(), KsmImportKeyPair(), KsmImportPolicy(), KsmImportRepository(), KsmImportZone(), KsmKey(), KsmKeyPairCreate(), KsmKeyPredict(), KsmParameter(), KsmParameterClockskew(), KsmParameterCollection(), KsmParameterInitialPublicationInterval(), KsmParameterKskLifetime(), KsmParameterKskPropagationDelay(), KsmParameterKskTtl(), KsmParameterPropagationDelay(), KsmParameterPubSafety(), KsmParameterRegistrationDelay(), KsmParameterRetSafety(), KsmParameterSigningInterval(), KsmParameterSoaMin(), KsmParameterSoaTtl(), KsmParameterStandbyKSKeys(), KsmParameterStandbyZSKeys(), KsmParameterValue(), KsmParameterZskLifetime(), KsmParameterZskTtl(), KsmPolicy(), KsmPolicyClockskew(), KsmPolicyIdFromName(), KsmPolicyIdFromZoneId(), KsmPolicyInitialPublicationInterval(), KsmPolicyKeyLifetime(), KsmPolicyKeyTtl(), KsmPolicyNameFromId(), KsmPolicyNullSaltStamp(), KsmPolicyParameter(), KsmPolicyPopulateSMFromIds(), KsmPolicyPropagationDelay(), KsmPolicyRead(), KsmPolicySetIdFromName(), KsmPolicySoaMin(), KsmPolicySoaTtl(), KsmPolicyStandbyKeys(), KsmPolicyUpdateSalt(), KsmRequestChangeStateN(), KsmSerialIdFromName(), KsmSmIdFromName(), KsmUpdateActiveKeyTime(), KsmUpdateDeadKeyTime(), KsmUpdateDSPublishKeyTime(), KsmUpdateGenerateKeyTime(), KsmUpdateKey(), KsmUpdateKEYPublishKeyTime(), KsmUpdateKeyTime(), KsmUpdatePublishKeyTime(), KsmUpdateReadyKeyTime(), KsmUpdateRetireKeyTime(), KsmZoneIdAndPolicyFromName(), KsmZoneIdFromName(), KsmZoneNameFromId(), StrKeywordSearch(), StrStrtoi(), StrStrtol(), StrStrtoui(), and StrStrtoul().

#define KSM_INVNAME   (KSM_BASE + 27) /* ERROR: object name is invalid */

Definition at line 75 of file ksmdef.h.

#define KSM_INVOPTION   (KSM_BASE + 0) /* ERROR: Invalid command option -%c */

Definition at line 48 of file ksmdef.h.

#define KSM_KEYCHSTATE   (KSM_BASE + 43) /* INFO: moving %d key(s) from '%s' state to '%s' state */

Definition at line 91 of file ksmdef.h.

#define KSM_KEYCNTSUMM   (KSM_BASE + 46) /* INFO: %d keys required, therefore %d new keys need to be put in 'publish' state */

Definition at line 94 of file ksmdef.h.

#define KSM_NOGROUP   (KSM_BASE + 11) /* ERROR: no groups specified */

Definition at line 59 of file ksmdef.h.

#define KSM_NOPARPID   (KSM_BASE + 39) /* WARNING: no parameter named %s found on parent with ID %d, default value used */

Definition at line 87 of file ksmdef.h.

#define KSM_NOPARPNAME   (KSM_BASE + 38) /* WARNING: no parameter named %s found on parent %s, default value used */

Definition at line 86 of file ksmdef.h.

#define KSM_NOPARWTHID   (KSM_BASE + 37) /* ERROR: cannot find parameter with ID of %d */

Definition at line 85 of file ksmdef.h.

#define KSM_NOREADYKEY   (KSM_BASE + 51) /* WARNING: cannot continue with key rollover as there are no keys in the 'ready' state */

Definition at line 99 of file ksmdef.h.

#define KSM_NOSUCHPAR   (KSM_BASE + 53) /* ERROR: no such parameter with name %s */

Definition at line 101 of file ksmdef.h.

#define KSM_NOTCONN   (KSM_BASE + 6) /* INFO: not connected to a database */

Definition at line 54 of file ksmdef.h.

#define KSM_NOTCONNE   (KSM_BASE + 30) /* ERROR: not connected to the database */

Definition at line 78 of file ksmdef.h.

#define KSM_NOTFOUND   (KSM_BASE + 17) /* ERROR: unable to find object '%s' */

Definition at line 65 of file ksmdef.h.

#define KSM_NOTGROUP   (KSM_BASE + 28) /* ERROR: %s is not a group */

Definition at line 76 of file ksmdef.h.

#define KSM_NOTIMPL   (KSM_BASE + 3) /* WARNING: Command not implemented yet */

Definition at line 51 of file ksmdef.h.

#define KSM_NOTZONE   (KSM_BASE + 29) /* ERROR: %s is not a zone */

Definition at line 77 of file ksmdef.h.

#define KSM_OBJECTID   (KSM_BASE + 9) /* ERROR: unable to get ID of %s - %s */

Definition at line 57 of file ksmdef.h.

#define KSM_PAREXIST   (KSM_BASE + 36) /* ERROR: parameter '%' already exists attached to '%s' */

Definition at line 84 of file ksmdef.h.

#define KSM_PERMANENT   (KSM_BASE + 24) /* ERROR: it is not permitted to delete the permanent object %s */

Definition at line 72 of file ksmdef.h.

#define KSM_READYCNT   (KSM_BASE + 50) /* INFO: %d %ss in the 'ready' state */

Definition at line 98 of file ksmdef.h.

#define KSM_REMAINACT   (KSM_BASE + 49) /* INFO: %d %ss remaining in 'active' state */

Definition at line 97 of file ksmdef.h.

#define KSM_REQKEYTYPE   (KSM_BASE + 42) /* INFO: requesting issue of %s signing keys */

Definition at line 90 of file ksmdef.h.

#define KSM_RETIRECNT   (KSM_BASE + 44) /* INFO: %d 'active' keys will be retiring in the immediate future */

Definition at line 92 of file ksmdef.h.

#define KSM_SQLFAIL   (KSM_BASE + 21) /* ERROR: database operation failed - %s */
#define KSM_STMTALLOC   (KSM_BASE + 31) /* ERROR: unable to allocate space for prepared statement structure */

Definition at line 79 of file ksmdef.h.

Referenced by MemCalloc(), MemMalloc(), MemRealloc(), and StrStrdup().

#define KSM_STMTBIND   (KSM_BASE + 33) /* ERROR: unable to bind parameters to statement - %s */

Definition at line 81 of file ksmdef.h.

#define KSM_STMTEXEC   (KSM_BASE + 34) /* ERROR: unable to execute SQL statement - %s */

Definition at line 82 of file ksmdef.h.

#define KSM_STMTPREP   (KSM_BASE + 32) /* ERROR: unable to create SQL statement - %s */

Definition at line 80 of file ksmdef.h.

#define KSM_SUCCESS   0 /* Successful completion */

Definition at line 44 of file ksmdef.h.

#define KSM_TOOMANYARG   (KSM_BASE + 7) /* ERROR: too many command line arguments */

Definition at line 55 of file ksmdef.h.

#define KSM_UNRCOMMAND   (KSM_BASE + 1) /* ERROR: Unrecognised command */

Definition at line 49 of file ksmdef.h.

#define KSM_UNRCONCOD   (KSM_BASE + 35) /* WARNING: unrecognised condition code %d: code ignored */

Definition at line 83 of file ksmdef.h.

#define KSM_UNRKEYSTA   (KSM_BASE + 40) /* WARNING: key ID %d is in unrecognised state %d */

Definition at line 88 of file ksmdef.h.