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

Go to the source code of this file.

Macros

#define KME_SUCCESS   0 /* Successful completion */
 
#define KME_BASE   65536 /* Base of KSM status codes */
 
#define KME_ACTKEYRET   (KME_BASE + 0) /* INFO: %d keys in 'active' state will have their expected retire date modified */
 
#define KME_AVAILCNT   (KME_BASE + 1) /* INFO: %d keys current in 'publish', 'ready' and 'active' states */
 
#define KME_BUFFEROVF   (KME_BASE + 2) /* ERROR: internal error, buffer overflow in %s */
 
#define KME_CHILDREN   (KME_BASE + 3) /* ERROR: unable to delete %s because child objects are associated with it */
 
#define KME_CREFAIL   (KME_BASE + 4) /* ERROR: failed to create '%s' */
 
#define KME_EXISTS   (KME_BASE + 5) /* ERROR: object with name '%s' already exists */
 
#define KME_FLDMISMAT   (KME_BASE + 6) /* ERROR: program error - number of fields returned did not match number expected */
 
#define KME_GENERATECNT   (KME_BASE + 7) /* INFO: %d %ss available in 'generate' state */
 
#define KME_INSFGENKEY   (KME_BASE + 8) /* INFO: %d %ss available in 'generate' state (need %d) - unable to promote until more keys generated */
 
#define KME_KEYCHSTATE   (KME_BASE + 9) /* INFO: moving %d key(s) from '%s' state to '%s' state */
 
#define KME_KEYCNTSUMM   (KME_BASE + 10) /* INFO: %d keys required, therefore %d new keys need to be put in 'publish' state */
 
#define KME_NOREADYKEY   (KME_BASE + 11) /* WARNING: %s rollover for zone '%s' not completed as there are no keys in the 'ready' state; ods-enforcerd will try again when it runs next */
 
#define KME_NOSUCHPAR   (KME_BASE + 12) /* ERROR: no such parameter with name %s */
 
#define KME_NOTFOUND   (KME_BASE + 13) /* ERROR: unable to find object '%s' */
 
#define KME_NOTIMPL   (KME_BASE + 14) /* WARNING: Command not implemented yet */
 
#define KME_NOTZONE   (KME_BASE + 15) /* ERROR: %s is not a zone */
 
#define KME_PERMANENT   (KME_BASE + 16) /* ERROR: it is not permitted to delete the permanent object %s */
 
#define KME_READYCNT   (KME_BASE + 17) /* INFO: %d %ss in the 'ready' state */
 
#define KME_REMAINACT   (KME_BASE + 18) /* INFO: %d %ss remaining in 'active' state */
 
#define KME_REQKEYTYPE   (KME_BASE + 19) /* INFO: requesting issue of %s signing keys */
 
#define KME_RETIRECNT   (KME_BASE + 20) /* INFO: %d 'active' keys will be retiring in the immediate future */
 
#define KME_SQLFAIL   (KME_BASE + 21) /* ERROR: database operation failed - %s */
 
#define KME_UNKEYTYPE   (KME_BASE + 22) /* ERROR: unknown key type, code %d */
 
#define KME_UNRCONCOD   (KME_BASE + 23) /* WARNING: unrecognised condition code %d: code ignored */
 
#define KME_UNRKEYSTA   (KME_BASE + 24) /* WARNING: key ID %d is in unrecognised state %d */
 
#define KME_PROM_PUB   (KME_BASE + 25) /* INFO: Promoting %s from publish to active as this is the first pass for the zone */
 
#define KME_BACK_FATAL   (KME_BASE + 26) /* ERROR: Trying to make non-backed up %s active when RequireBackup flag is set */
 
#define KME_BACK_NON_FATAL   (KME_BASE + 27) /* WARNING: Making non-backed up %s active, PLEASE make sure that you know the potential problems of using keys which are not recoverable */
 
#define KME_DS_REM_ZONE   (KME_BASE + 28) /* INFO: Old DS record for %s can now be removed (key moved from retired to dead state) */
 
#define KME_DS_REM_POLICY   (KME_BASE + 29) /* INFO: Old DS record for %s and all zones on its policy can now be removed (key moved from retired to dead state) */
 
#define KME_ROLL_ZONE   (KME_BASE + 30) /* INFO: %s has been rolled for %s */
 
#define KME_ROLL_POLICY   (KME_BASE + 31) /* INFO: %s has been rolled for %s (and any zones sharing keys with %s) */
 
#define KME_TIMESHIFT   (KME_BASE + 32) /* DEBUG: Timeshift in operation; ENFORCER_TIMESHIFT set to %s */
 
#define KME_MAN_ROLL_REQUIRED   (KME_BASE + 33) /* INFO: Manual rollover due for %s of zone %s */
 
#define KME_WRONG_DB_VER   (KME_BASE + 34) /* ERROR: database version number incompatible with software; require %d, found %d. Please run the migration scripts */
 
#define KME_DB_ADMIN   (KME_BASE + 35) /* ERROR: Too many rows returned from dbadmin table; there should be only one. */
 
#define KME_DS_SUBMISSION   (KME_BASE + 36) /* WARNING: New KSK has reached the ready state; please submit the DS for %s and use ods-ksmutil key ds-seen when the DS appears in the DNS. */
 
#define KME_KEY_NOT_IN_REPO   (KME_BASE + 37) /* ERROR: Key %s in DB but not repository. */
 
#define KME_NEW_DS   (KME_BASE + 38) /* INFO: New DS records needed for the zone %s; details will follow */
 

Macro Definition Documentation

#define KME_ACTKEYRET   (KME_BASE + 0) /* INFO: %d keys in 'active' state will have their expected retire date modified */

Definition at line 48 of file kmedef.h.

#define KME_AVAILCNT   (KME_BASE + 1) /* INFO: %d keys current in 'publish', 'ready' and 'active' states */

Definition at line 49 of file kmedef.h.

Referenced by KsmRequestChangeStateGeneratePublishConditional().

#define KME_BACK_FATAL   (KME_BASE + 26) /* ERROR: Trying to make non-backed up %s active when RequireBackup flag is set */

Definition at line 74 of file kmedef.h.

Referenced by KsmRequestChangeStateN(), and KsmRequestKeysByType().

#define KME_BACK_NON_FATAL   (KME_BASE + 27) /* WARNING: Making non-backed up %s active, PLEASE make sure that you know the potential problems of using keys which are not recoverable */

Definition at line 75 of file kmedef.h.

Referenced by KsmRequestChangeStateN().

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

Definition at line 46 of file kmedef.h.

#define KME_BUFFEROVF   (KME_BASE + 2) /* ERROR: internal error, buffer overflow in %s */
#define KME_CHILDREN   (KME_BASE + 3) /* ERROR: unable to delete %s because child objects are associated with it */

Definition at line 51 of file kmedef.h.

#define KME_CREFAIL   (KME_BASE + 4) /* ERROR: failed to create '%s' */

Definition at line 52 of file kmedef.h.

#define KME_DB_ADMIN   (KME_BASE + 35) /* ERROR: Too many rows returned from dbadmin table; there should be only one. */

Definition at line 83 of file kmedef.h.

Referenced by db_version_check().

#define KME_DS_REM_POLICY   (KME_BASE + 29) /* INFO: Old DS record for %s and all zones on its policy can now be removed (key moved from retired to dead state) */

Definition at line 77 of file kmedef.h.

#define KME_DS_REM_ZONE   (KME_BASE + 28) /* INFO: Old DS record for %s can now be removed (key moved from retired to dead state) */

Definition at line 76 of file kmedef.h.

Referenced by KsmRequestChangeState().

#define KME_DS_SUBMISSION   (KME_BASE + 36) /* WARNING: New KSK has reached the ready state; please submit the DS for %s and use ods-ksmutil key ds-seen when the DS appears in the DNS. */

Definition at line 84 of file kmedef.h.

Referenced by KsmRequestKeysByType().

#define KME_EXISTS   (KME_BASE + 5) /* ERROR: object with name '%s' already exists */

Definition at line 53 of file kmedef.h.

#define KME_FLDMISMAT   (KME_BASE + 6) /* ERROR: program error - number of fields returned did not match number expected */

Definition at line 54 of file kmedef.h.

#define KME_GENERATECNT   (KME_BASE + 7) /* INFO: %d %ss available in 'generate' state */
#define KME_INSFGENKEY   (KME_BASE + 8) /* INFO: %d %ss available in 'generate' state (need %d) - unable to promote until more keys generated */
#define KME_KEY_NOT_IN_REPO   (KME_BASE + 37) /* ERROR: Key %s in DB but not repository. */

Definition at line 85 of file kmedef.h.

#define KME_KEYCHSTATE   (KME_BASE + 9) /* INFO: moving %d key(s) from '%s' state to '%s' state */

Definition at line 57 of file kmedef.h.

Referenced by KsmRequestChangeState(), and KsmRequestChangeStateN().

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

Definition at line 58 of file kmedef.h.

Referenced by KsmRequestChangeStateGeneratePublishConditional().

#define KME_MAN_ROLL_REQUIRED   (KME_BASE + 33) /* INFO: Manual rollover due for %s of zone %s */

Definition at line 81 of file kmedef.h.

Referenced by KsmRequestKeysByType().

#define KME_NEW_DS   (KME_BASE + 38) /* INFO: New DS records needed for the zone %s; details will follow */

Definition at line 86 of file kmedef.h.

Referenced by KsmRequestChangeState().

#define KME_NOREADYKEY   (KME_BASE + 11) /* WARNING: %s rollover for zone '%s' not completed as there are no keys in the 'ready' state; ods-enforcerd will try again when it runs next */

Definition at line 59 of file kmedef.h.

Referenced by KsmRequestKeysByType().

#define KME_NOSUCHPAR   (KME_BASE + 12) /* ERROR: no such parameter with name %s */

Definition at line 60 of file kmedef.h.

Referenced by KsmParameterValue().

#define KME_NOTFOUND   (KME_BASE + 13) /* ERROR: unable to find object '%s' */

Definition at line 61 of file kmedef.h.

#define KME_NOTIMPL   (KME_BASE + 14) /* WARNING: Command not implemented yet */

Definition at line 62 of file kmedef.h.

#define KME_NOTZONE   (KME_BASE + 15) /* ERROR: %s is not a zone */

Definition at line 63 of file kmedef.h.

#define KME_PERMANENT   (KME_BASE + 16) /* ERROR: it is not permitted to delete the permanent object %s */

Definition at line 64 of file kmedef.h.

#define KME_PROM_PUB   (KME_BASE + 25) /* INFO: Promoting %s from publish to active as this is the first pass for the zone */

Definition at line 73 of file kmedef.h.

Referenced by KsmRequestKeysByType().

#define KME_READYCNT   (KME_BASE + 17) /* INFO: %d %ss in the 'ready' state */

Definition at line 65 of file kmedef.h.

Referenced by KsmRequestCountReadyKey().

#define KME_REMAINACT   (KME_BASE + 18) /* INFO: %d %ss remaining in 'active' state */

Definition at line 66 of file kmedef.h.

Referenced by KsmRequestCheckActiveKey().

#define KME_REQKEYTYPE   (KME_BASE + 19) /* INFO: requesting issue of %s signing keys */

Definition at line 67 of file kmedef.h.

Referenced by KsmRequestKeysByType().

#define KME_RETIRECNT   (KME_BASE + 20) /* INFO: %d 'active' keys will be retiring in the immediate future */

Definition at line 68 of file kmedef.h.

Referenced by KsmRequestChangeStateGeneratePublishConditional().

#define KME_ROLL_POLICY   (KME_BASE + 31) /* INFO: %s has been rolled for %s (and any zones sharing keys with %s) */

Definition at line 79 of file kmedef.h.

#define KME_ROLL_ZONE   (KME_BASE + 30) /* INFO: %s has been rolled for %s */

Definition at line 78 of file kmedef.h.

Referenced by KsmRequestKeysByType().

#define KME_SQLFAIL   (KME_BASE + 21) /* ERROR: database operation failed - %s */
#define KME_SUCCESS   0 /* Successful completion */

Definition at line 44 of file kmedef.h.

#define KME_TIMESHIFT   (KME_BASE + 32) /* DEBUG: Timeshift in operation; ENFORCER_TIMESHIFT set to %s */

Definition at line 80 of file kmedef.h.

Referenced by DtNow().

#define KME_UNKEYTYPE   (KME_BASE + 22) /* ERROR: unknown key type, code %d */

Definition at line 70 of file kmedef.h.

Referenced by KsmKeyPredict(), and KsmRequestKeysByType().

#define KME_UNRCONCOD   (KME_BASE + 23) /* WARNING: unrecognised condition code %d: code ignored */

Definition at line 71 of file kmedef.h.

Referenced by KsmKeyInit().

#define KME_UNRKEYSTA   (KME_BASE + 24) /* WARNING: key ID %d is in unrecognised state %d */

Definition at line 72 of file kmedef.h.

Referenced by KsmUpdateKey().

#define KME_WRONG_DB_VER   (KME_BASE + 34) /* ERROR: database version number incompatible with software; require %d, found %d. Please run the migration scripts */

Definition at line 82 of file kmedef.h.

Referenced by db_version_check().