core: Sort the status table.
authorJustus Winter <justus@g10code.com>
Tue, 30 May 2017 10:09:23 +0000 (12:09 +0200)
committerJustus Winter <justus@g10code.com>
Tue, 30 May 2017 12:38:29 +0000 (14:38 +0200)
--
Signed-off-by: Justus Winter <justus@g10code.com>
src/status-table.c

index c9bf357..6451134 100644 (file)
@@ -43,10 +43,10 @@ static struct status_table_s status_table[] =
   { "ALREADY_SIGNED", GPGME_STATUS_ALREADY_SIGNED },
   { "ATTRIBUTE",         GPGME_STATUS_ATTRIBUTE        },
   { "BACKUP_KEY_CREATED", GPGME_STATUS_BACKUP_KEY_CREATED },
-  { "BAD_PASSPHRASE", GPGME_STATUS_BAD_PASSPHRASE },
   { "BADARMOR", GPGME_STATUS_BADARMOR },
   { "BADMDC", GPGME_STATUS_BADMDC },
   { "BADSIG", GPGME_STATUS_BADSIG },
+  { "BAD_PASSPHRASE", GPGME_STATUS_BAD_PASSPHRASE },
   { "BEGIN_DECRYPTION", GPGME_STATUS_BEGIN_DECRYPTION },
   { "BEGIN_ENCRYPTION", GPGME_STATUS_BEGIN_ENCRYPTION },
   { "BEGIN_SIGNING",     GPGME_STATUS_BEGIN_SIGNING    },
@@ -73,22 +73,22 @@ static struct status_table_s status_table[] =
   { "GET_BOOL", GPGME_STATUS_GET_BOOL },
   { "GET_HIDDEN", GPGME_STATUS_GET_HIDDEN },
   { "GET_LINE", GPGME_STATUS_GET_LINE },
-  { "GOOD_PASSPHRASE", GPGME_STATUS_GOOD_PASSPHRASE },
   { "GOODMDC", GPGME_STATUS_GOODMDC },
   { "GOODSIG", GPGME_STATUS_GOODSIG },
+  { "GOOD_PASSPHRASE", GPGME_STATUS_GOOD_PASSPHRASE },
   { "GOT_IT", GPGME_STATUS_GOT_IT },
+  { "IMPORTED", GPGME_STATUS_IMPORTED },
   { "IMPORT_OK", GPGME_STATUS_IMPORT_OK },
   { "IMPORT_PROBLEM", GPGME_STATUS_IMPORT_PROBLEM },
   { "IMPORT_RES", GPGME_STATUS_IMPORT_RES },
-  { "IMPORTED", GPGME_STATUS_IMPORTED },
   { "INQUIRE_MAXLEN", GPGME_STATUS_INQUIRE_MAXLEN },
   { "INV_RECP", GPGME_STATUS_INV_RECP },
   { "INV_SGNR", GPGME_STATUS_INV_SGNR },
+  { "KEYEXPIRED", GPGME_STATUS_KEYEXPIRED },
+  { "KEYREVOKED", GPGME_STATUS_KEYREVOKED },
   { "KEY_CONSIDERED", GPGME_STATUS_KEY_CONSIDERED },
   { "KEY_CREATED", GPGME_STATUS_KEY_CREATED },
   { "KEY_NOT_CREATED",   GPGME_STATUS_KEY_NOT_CREATED  },
-  { "KEYEXPIRED", GPGME_STATUS_KEYEXPIRED },
-  { "KEYREVOKED", GPGME_STATUS_KEYREVOKED },
   { "LEAVE", GPGME_STATUS_LEAVE },
   { "MISSING_PASSPHRASE", GPGME_STATUS_MISSING_PASSPHRASE },
   { "MOUNTPOINT",        GPGME_STATUS_MOUNTPOINT       },
@@ -96,14 +96,14 @@ static struct status_table_s status_table[] =
   { "NEED_PASSPHRASE_PIN", GPGME_STATUS_NEED_PASSPHRASE_PIN },
   { "NEED_PASSPHRASE_SYM", GPGME_STATUS_NEED_PASSPHRASE_SYM },
   { "NEWSIG", GPGME_STATUS_NEWSIG },
-  { "NO_PUBKEY", GPGME_STATUS_NO_PUBKEY },
-  { "NO_RECP", GPGME_STATUS_NO_RECP },
-  { "NO_SECKEY", GPGME_STATUS_NO_SECKEY },
-  { "NO_SGNR", GPGME_STATUS_NO_SGNR },
   { "NODATA", GPGME_STATUS_NODATA },
   { "NOTATION_DATA", GPGME_STATUS_NOTATION_DATA },
   { "NOTATION_FLAGS", GPGME_STATUS_NOTATION_FLAGS },
   { "NOTATION_NAME", GPGME_STATUS_NOTATION_NAME },
+  { "NO_PUBKEY", GPGME_STATUS_NO_PUBKEY },
+  { "NO_RECP", GPGME_STATUS_NO_RECP },
+  { "NO_SECKEY", GPGME_STATUS_NO_SECKEY },
+  { "NO_SGNR", GPGME_STATUS_NO_SGNR },
   { "PINENTRY_LAUNCHED", GPGME_STATUS_PINENTRY_LAUNCHED},
   { "PKA_TRUST_BAD", GPGME_STATUS_PKA_TRUST_BAD },
   { "PKA_TRUST_GOOD", GPGME_STATUS_PKA_TRUST_GOOD },
@@ -120,10 +120,10 @@ static struct status_table_s status_table[] =
   { "SHM_GET_BOOL", GPGME_STATUS_SHM_GET_BOOL },
   { "SHM_GET_HIDDEN", GPGME_STATUS_SHM_GET_HIDDEN },
   { "SHM_INFO", GPGME_STATUS_SHM_INFO },
+  { "SIGEXPIRED", GPGME_STATUS_SIGEXPIRED },
   { "SIG_CREATED", GPGME_STATUS_SIG_CREATED },
   { "SIG_ID", GPGME_STATUS_SIG_ID },
   { "SIG_SUBPACKET", GPGME_STATUS_SIG_SUBPACKET },
-  { "SIGEXPIRED", GPGME_STATUS_SIGEXPIRED },
   { "SUCCESS", GPGME_STATUS_SUCCESS },
   { "TOFU_STATS", GPGME_STATUS_TOFU_STATS },
   { "TOFU_STATS_LONG", GPGME_STATUS_TOFU_STATS_LONG },