00001 #ifndef KSM_KMEMSG_H
00002 #define KSM_KMEMSG_H
00003
00004
00005
00006 #define KME_MIN_VALUE (KME_BASE)
00007 #define KME_MAX_VALUE (KME_BASE + 38)
00008 #define KME_ARRAY_SIZE (39)
00009
00010 static const char* m_messages[] = {
00011 "INFO: %d keys in 'active' state will have their expected retire date modified",
00012 "INFO: %d keys current in 'publish', 'ready' and 'active' states",
00013 "ERROR: internal error, buffer overflow in %s",
00014 "ERROR: unable to delete %s because child objects are associated with it",
00015 "ERROR: failed to create '%s'",
00016 "ERROR: object with name '%s' already exists",
00017 "ERROR: program error - number of fields returned did not match number expected",
00018 "INFO: %d %ss available in 'generate' state",
00019 "INFO: %d %ss available in 'generate' state (need %d) - unable to promote until more keys generated",
00020 "INFO: moving %d key(s) from '%s' state to '%s' state",
00021 "INFO: %d keys required, therefore %d new keys need to be put in 'publish' state",
00022 "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",
00023 "ERROR: no such parameter with name %s",
00024 "ERROR: unable to find object '%s'",
00025 "WARNING: Command not implemented yet",
00026 "ERROR: %s is not a zone",
00027 "ERROR: it is not permitted to delete the permanent object %s",
00028 "INFO: %d %ss in the 'ready' state",
00029 "INFO: %d %ss remaining in 'active' state",
00030 "INFO: requesting issue of %s signing keys",
00031 "INFO: %d 'active' keys will be retiring in the immediate future",
00032 "ERROR: database operation failed - %s",
00033 "ERROR: unknown key type, code %d",
00034 "WARNING: unrecognised condition code %d: code ignored",
00035 "WARNING: key ID %d is in unrecognised state %d",
00036 "INFO: Promoting %s from publish to active as this is the first pass for the zone",
00037 "ERROR: Trying to make non-backed up %s active when RequireBackup flag is set",
00038 "WARNING: Making non-backed up %s active, PLEASE make sure that you know the potential problems of using keys which are not recoverable",
00039 "INFO: Old DS record for %s can now be removed (key moved from retired to dead state)",
00040 "INFO: Old DS record for %s and all zones on its policy can now be removed (key moved from retired to dead state)",
00041 "INFO: %s has been rolled for %s ",
00042 "INFO: %s has been rolled for %s (and any zones sharing keys with %s)",
00043 "DEBUG: Timeshift in operation; ENFORCER_TIMESHIFT set to %s",
00044 "INFO: Manual rollover due for %s of zone %s",
00045 "ERROR: database version number incompatible with software; require %d, found %d. Please run the migration scripts",
00046 "ERROR: Too many rows returned from dbadmin table; there should be only one.",
00047 "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.",
00048 "ERROR: Key %s in DB but not repository.",
00049 "INFO: New DS records needed for the zone %s; details will follow",
00050
00051
00052
00053 NULL
00054 };
00055 #endif