1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

A small step for GnuPG but a huge leap for error codes.

(Sorry, it does not build currently - I need to check it in to avoid
duplicate work.)
This commit is contained in:
Werner Koch 2003-06-05 07:14:21 +00:00
parent 7250331472
commit b7b07d36e8
11 changed files with 514 additions and 12 deletions

View file

@ -17,8 +17,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifndef G10_ERRORS_H
#define G10_ERRORS_H
#ifndef GNUPG_INCLUDE_ERRORS_H
#define GNUPG_INCLUDE_ERRORS_H
#if 0
#error Remove this file after replacing all error codes with those
#error from libgpg-error. The numerical values are identical, though.
#endif
#define G10ERR_GENERAL 1
#define G10ERR_UNKNOWN_PACKET 2
@ -81,4 +86,4 @@
char *strerror( int n );
#endif
#endif /*G10_ERRORS_H*/
#endif /*GNUPG_INCLUDE_ERRORS_H*/