aboutsummaryrefslogtreecommitdiffstats
path: root/gpgme/gpgme.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpgme/gpgme.h')
-rw-r--r--gpgme/gpgme.h49
1 files changed, 24 insertions, 25 deletions
diff --git a/gpgme/gpgme.h b/gpgme/gpgme.h
index 9d395951..4a718f11 100644
--- a/gpgme/gpgme.h
+++ b/gpgme/gpgme.h
@@ -73,31 +73,30 @@ typedef struct gpgme_trust_item_s *GpgmeTrustItem;
/* The error numbers used by GPGME. */
typedef enum
{
- GPGME_EOF = -1,
- GPGME_No_Error = 0,
- GPGME_General_Error = 1,
- GPGME_Out_Of_Core = 2,
- GPGME_Invalid_Value = 3,
- GPGME_Busy = 4,
- GPGME_No_Request = 5,
- GPGME_Exec_Error = 6,
- GPGME_Too_Many_Procs = 7,
- GPGME_Pipe_Error = 8,
- GPGME_No_Recipients = 9,
- GPGME_No_Data = 10,
- GPGME_Conflict = 11,
- GPGME_Not_Implemented = 12,
- GPGME_Read_Error = 13,
- GPGME_Write_Error = 14,
- GPGME_Invalid_Type = 15,
- GPGME_Invalid_Mode = 16,
- GPGME_File_Error = 17, /* errno is set in this case. */
- GPGME_Decryption_Failed = 18,
- GPGME_No_Passphrase = 19,
- GPGME_Canceled = 20,
- GPGME_Invalid_Key = 21,
- GPGME_Invalid_Engine = 22,
- GPGME_Invalid_Recipients = 23
+ GPGME_EOF = -1,
+ GPGME_No_Error = 0x0000,
+ GPGME_General_Error = 0x0001,
+ GPGME_Out_Of_Core = 0x0002,
+ GPGME_Invalid_Value = 0x0003,
+ GPGME_No_Request = 0x0004,
+ GPGME_Exec_Error = 0x0005,
+ GPGME_Too_Many_Procs = 0x0006,
+ GPGME_Pipe_Error = 0x0007,
+ GPGME_No_Data = 0x0008,
+ GPGME_Conflict = 0x0009,
+ GPGME_Not_Implemented = 0x000a,
+ GPGME_Read_Error = 0x000b,
+ GPGME_Write_Error = 0x000c,
+ GPGME_Invalid_Type = 0x000d,
+ GPGME_Invalid_Mode = 0x000e,
+ GPGME_File_Error = 0x000f, /* errno is set in this case. */
+ GPGME_Decryption_Failed = 0x0010,
+ GPGME_Bad_Passphrase = 0x0011,
+ GPGME_Canceled = 0x0012,
+ GPGME_Invalid_Key = 0x0013,
+ GPGME_Invalid_Engine = 0x0014,
+ GPGME_No_UserID = 0x0015,
+ GPGME_Invalid_UserID = 0x0016,
}
GpgmeError;