From 75cd8aeaa82bcf37f55bd301bcf091cfb663e977 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 30 Jan 2001 14:46:01 +0000 Subject: [PATCH] Removed files which are build by scripts --- gpgme/errors.c | 52 -------------------------------- gpgme/status-table.h | 71 -------------------------------------------- 2 files changed, 123 deletions(-) delete mode 100644 gpgme/errors.c delete mode 100644 gpgme/status-table.h diff --git a/gpgme/errors.c b/gpgme/errors.c deleted file mode 100644 index f07d0861..00000000 --- a/gpgme/errors.c +++ /dev/null @@ -1,52 +0,0 @@ -/* Generated automatically by mkerrors */ -/* Do not edit! */ - -#include -#include "gpgme.h" - -/** - * gpgme_strerror: - * @err: Error code - * - * This function returns a textual representaion of the given - * errocode. If this is an unknown value, a string with the value - * is returned (which is hold in a static buffer). - * - * Return value: String with the error description. - **/ -const char * -gpgme_strerror (GpgmeError err) -{ - const char *s; - static char buf[25]; - - switch (err) { - case GPGME_No_Error: s="No Error"; break; - case GPGME_General_Error: s="General Error"; break; - case GPGME_Out_Of_Core: s="Out Of Core"; break; - case GPGME_Invalid_Value: s="Invalid Value"; break; - case GPGME_Busy: s="Busy"; break; - case GPGME_No_Request: s="No Request"; break; - case GPGME_Exec_Error: s="Exec Error"; break; - case GPGME_Too_Many_Procs: s="Too Many Procs"; break; - case GPGME_Pipe_Error: s="Pipe Error"; break; - case GPGME_No_Recipients: s="No Recipients"; break; - case GPGME_No_Data: s="No Data"; break; - case GPGME_Conflict: s="Conflict"; break; - case GPGME_Not_Implemented: s="Not Implemented"; break; - case GPGME_Read_Error: s="Read Error"; break; - case GPGME_Write_Error: s="Write Error"; break; - case GPGME_Invalid_Type: s="Invalid Type"; break; - case GPGME_Invalid_Mode: s="Invalid Mode"; break; - case GPGME_File_Error: s="File Error"; break; - case GPGME_Decryption_Failed: s="Decryption Failed"; break; - case GPGME_No_Passphrase: s="No Passphrase"; break; - case GPGME_Canceled: s="Canceled"; break; - case GPGME_Invalid_Key: s="Invalid Key"; break; - case GPGME_Invalid_Engine: s="Invalid Engine"; break; - default: sprintf (buf, "ec=%d", err ); s=buf; break; -} - -return s; -} - diff --git a/gpgme/status-table.h b/gpgme/status-table.h deleted file mode 100644 index c55e34c0..00000000 --- a/gpgme/status-table.h +++ /dev/null @@ -1,71 +0,0 @@ -/* Generated automatically by mkstatus */ -/* Do not edit! */ - -struct status_table_s { - const char *name; - GpgStatusCode code; -}; - -static struct status_table_s status_table[] = -{ - { "ABORT", STATUS_ABORT }, - { "BADARMOR", STATUS_BADARMOR }, - { "BADMDC", STATUS_BADMDC }, - { "BADSIG", STATUS_BADSIG }, - { "BAD_PASSPHRASE", STATUS_BAD_PASSPHRASE }, - { "BEGIN_DECRYPTION", STATUS_BEGIN_DECRYPTION }, - { "BEGIN_ENCRYPTION", STATUS_BEGIN_ENCRYPTION }, - { "BEGIN_STREAM", STATUS_BEGIN_STREAM }, - { "DECRYPTION_FAILED", STATUS_DECRYPTION_FAILED }, - { "DECRYPTION_OKAY", STATUS_DECRYPTION_OKAY }, - { "DELETE_PROBLEM", STATUS_DELETE_PROBLEM }, - { "ENC_TO", STATUS_ENC_TO }, - { "END_DECRYPTION", STATUS_END_DECRYPTION }, - { "END_ENCRYPTION", STATUS_END_ENCRYPTION }, - { "END_STREAM", STATUS_END_STREAM }, - { "ENTER", STATUS_ENTER }, - { "ERRMDC", STATUS_ERRMDC }, - { "ERRSIG", STATUS_ERRSIG }, - { "FILE_DONE", STATUS_FILE_DONE }, - { "FILE_ERROR", STATUS_FILE_ERROR }, - { "FILE_START", STATUS_FILE_START }, - { "GET_BOOL", STATUS_GET_BOOL }, - { "GET_HIDDEN", STATUS_GET_HIDDEN }, - { "GET_LINE", STATUS_GET_LINE }, - { "GOODMDC", STATUS_GOODMDC }, - { "GOODSIG", STATUS_GOODSIG }, - { "GOOD_PASSPHRASE", STATUS_GOOD_PASSPHRASE }, - { "GOT_IT", STATUS_GOT_IT }, - { "IMPORTED", STATUS_IMPORTED }, - { "IMPORT_RES", STATUS_IMPORT_RES }, - { "KEYREVOKED", STATUS_KEYREVOKED }, - { "LEAVE", STATUS_LEAVE }, - { "MISSING_PASSPHRASE", STATUS_MISSING_PASSPHRASE }, - { "NEED_PASSPHRASE", STATUS_NEED_PASSPHRASE }, - { "NEED_PASSPHRASE_SYM,", STATUS_NEED_PASSPHRASE_SYM, }, - { "NODATA", STATUS_NODATA }, - { "NOTATION_DATA", STATUS_NOTATION_DATA }, - { "NOTATION_NAME", STATUS_NOTATION_NAME }, - { "NO_PUBKEY", STATUS_NO_PUBKEY }, - { "NO_SECKEY", STATUS_NO_SECKEY }, - { "POLICY_URL", STATUS_POLICY_URL }, - { "PROGRESS", STATUS_PROGRESS }, - { "RSA_OR_IDEA", STATUS_RSA_OR_IDEA }, - { "SESSION_KEY", STATUS_SESSION_KEY }, - { "SHM_GET", STATUS_SHM_GET }, - { "SHM_GET_BOOL", STATUS_SHM_GET_BOOL }, - { "SHM_GET_HIDDEN", STATUS_SHM_GET_HIDDEN }, - { "SHM_INFO", STATUS_SHM_INFO }, - { "SIGEXPIRED", STATUS_SIGEXPIRED }, - { "SIG_CREATED", STATUS_SIG_CREATED }, - { "SIG_ID", STATUS_SIG_ID }, - { "TRUST_FULLY", STATUS_TRUST_FULLY }, - { "TRUST_MARGINAL", STATUS_TRUST_MARGINAL }, - { "TRUST_NEVER", STATUS_TRUST_NEVER }, - { "TRUST_ULTIMATE", STATUS_TRUST_ULTIMATE }, - { "TRUST_UNDEFINED", STATUS_TRUST_UNDEFINED }, - { "USERID_HINT", STATUS_USERID_HINT }, - { "VALIDSIG", STATUS_VALIDSIG }, - {NULL, 0} -}; -