Changeset View
Changeset View
Standalone View
Standalone View
src/status-table.c
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | static struct status_table_s status_table[] = | ||||
{ "BEGIN_ENCRYPTION", GPGME_STATUS_BEGIN_ENCRYPTION }, | { "BEGIN_ENCRYPTION", GPGME_STATUS_BEGIN_ENCRYPTION }, | ||||
{ "BEGIN_SIGNING", GPGME_STATUS_BEGIN_SIGNING }, | { "BEGIN_SIGNING", GPGME_STATUS_BEGIN_SIGNING }, | ||||
{ "BEGIN_STREAM", GPGME_STATUS_BEGIN_STREAM }, | { "BEGIN_STREAM", GPGME_STATUS_BEGIN_STREAM }, | ||||
{ "CARDCTRL", GPGME_STATUS_CARDCTRL }, | { "CARDCTRL", GPGME_STATUS_CARDCTRL }, | ||||
{ "DECRYPTION_FAILED", GPGME_STATUS_DECRYPTION_FAILED }, | { "DECRYPTION_FAILED", GPGME_STATUS_DECRYPTION_FAILED }, | ||||
{ "DECRYPTION_INFO", GPGME_STATUS_DECRYPTION_INFO }, | { "DECRYPTION_INFO", GPGME_STATUS_DECRYPTION_INFO }, | ||||
{ "DECRYPTION_OKAY", GPGME_STATUS_DECRYPTION_OKAY }, | { "DECRYPTION_OKAY", GPGME_STATUS_DECRYPTION_OKAY }, | ||||
{ "DELETE_PROBLEM", GPGME_STATUS_DELETE_PROBLEM }, | { "DELETE_PROBLEM", GPGME_STATUS_DELETE_PROBLEM }, | ||||
{ "DECRYPTION_COMPLIANCE_MODE", GPGME_STATUS_DECRYPTION_COMPLIANCE_MODE }, | |||||
{ "ENC_TO", GPGME_STATUS_ENC_TO }, | { "ENC_TO", GPGME_STATUS_ENC_TO }, | ||||
{ "END_DECRYPTION", GPGME_STATUS_END_DECRYPTION }, | { "END_DECRYPTION", GPGME_STATUS_END_DECRYPTION }, | ||||
{ "END_ENCRYPTION", GPGME_STATUS_END_ENCRYPTION }, | { "END_ENCRYPTION", GPGME_STATUS_END_ENCRYPTION }, | ||||
{ "END_STREAM", GPGME_STATUS_END_STREAM }, | { "END_STREAM", GPGME_STATUS_END_STREAM }, | ||||
{ "ENTER", GPGME_STATUS_ENTER }, | { "ENTER", GPGME_STATUS_ENTER }, | ||||
{ "ERRMDC", GPGME_STATUS_ERRMDC }, | { "ERRMDC", GPGME_STATUS_ERRMDC }, | ||||
{ "ERROR", GPGME_STATUS_ERROR }, | { "ERROR", GPGME_STATUS_ERROR }, | ||||
{ "ERRSIG", GPGME_STATUS_ERRSIG }, | { "ERRSIG", GPGME_STATUS_ERRSIG }, | ||||
▲ Show 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | static struct status_table_s status_table[] = | ||||
{ "TRUST_FULLY", GPGME_STATUS_TRUST_FULLY }, | { "TRUST_FULLY", GPGME_STATUS_TRUST_FULLY }, | ||||
{ "TRUST_MARGINAL", GPGME_STATUS_TRUST_MARGINAL }, | { "TRUST_MARGINAL", GPGME_STATUS_TRUST_MARGINAL }, | ||||
{ "TRUST_NEVER", GPGME_STATUS_TRUST_NEVER }, | { "TRUST_NEVER", GPGME_STATUS_TRUST_NEVER }, | ||||
{ "TRUST_ULTIMATE", GPGME_STATUS_TRUST_ULTIMATE }, | { "TRUST_ULTIMATE", GPGME_STATUS_TRUST_ULTIMATE }, | ||||
{ "TRUST_UNDEFINED", GPGME_STATUS_TRUST_UNDEFINED }, | { "TRUST_UNDEFINED", GPGME_STATUS_TRUST_UNDEFINED }, | ||||
{ "UNEXPECTED", GPGME_STATUS_UNEXPECTED }, | { "UNEXPECTED", GPGME_STATUS_UNEXPECTED }, | ||||
{ "USERID_HINT", GPGME_STATUS_USERID_HINT }, | { "USERID_HINT", GPGME_STATUS_USERID_HINT }, | ||||
{ "VALIDSIG", GPGME_STATUS_VALIDSIG }, | { "VALIDSIG", GPGME_STATUS_VALIDSIG }, | ||||
{ "VERIFICATION_COMPLIANCE_MODE", GPGME_STATUS_VERIFICATION_COMPLIANCE_MODE }, | |||||
{NULL, 0} | {NULL, 0} | ||||
}; | }; | ||||
static int | static int | ||||
status_cmp (const void *ap, const void *bp) | status_cmp (const void *ap, const void *bp) | ||||
{ | { | ||||
const struct status_table_s *a = ap; | const struct status_table_s *a = ap; | ||||
Show All 36 Lines |