Use gpgme interface for error handling to avoid linking with gpg-error.
[gpgme.git] / src / extra-stati.h
1 /* extra-stati.lst - Extra GnuPG status codes.
2    Copyright 2011 g10 Code GmbH
3
4    This file is free software; as a special exception the author gives
5    unlimited permission to copy and/or distribute it, with or without
6    modifications, as long as this notice is preserved.
7
8    This file is distributed in the hope that it will be useful, but
9    WITHOUT ANY WARRANTY, to the extent permitted by law; without even
10    the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11    PURPOSE.  */
12
13 /* A list of internal status code to be processed by mkstatus.  Those
14  * status codes are not part of the API but internally required by
15  * gpgme.  We use a second enum type here but make sure that the
16  * values don't clash with those of gpgme_status_code_t.
17  */
18
19 enum
20   {
21     /* This value is the first used one.  It needs to be larger than
22        the last value of gpgme_status_code_t.  There is no need to
23        explictly list the values because they are internal only.  */
24     _GPGME_STATUS_FIRST_EXTRA = 192,
25
26     GPGME_STATUS_DECRYPTION_INFO,
27
28     _GPGME_STATUS_LAST_EXTRA
29   };