From e3884dde5c96bc3e53c3e17e35cc66abb23eb72e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 3 Feb 2004 12:39:52 +0000 Subject: Added GPG_ERR_NOT_LOCKED. --- ChangeLog | 4 ++++ NEWS | 2 ++ src/err-codes.h.in | 1 + src/gpg-error.h | 3 ++- 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 323ae24..6e26a9f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-02-03 Werner Koch + + * src/gpg-error.h: Added GPG_ERR_NOT_LOCKED. + 2003-12-22 Werner Koch * src/gpg-error.h: Added GPG_ERR_LOCALE_PROBLEM. diff --git a/NEWS b/NEWS index 496743a..8215fe0 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,8 @@ Noteworthy changes in version 0.7 (unreleased) * Interface changes relative to the 0.6 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GPG_ERR_LOCALE_PROBLEM NEW. +GPG_ERR_NOT_LOCKED NEW. + Noteworthy changes in version 0.6 (2003-11-14) ---------------------------------------------- diff --git a/src/err-codes.h.in b/src/err-codes.h.in index 3463be1..0e28f55 100644 --- a/src/err-codes.h.in +++ b/src/err-codes.h.in @@ -194,6 +194,7 @@ 164 Invalid certificate object 165 Unknown name 166 A locale function failed +167 Not locked 199 Buffer too short 201 Invalid length specifier in S-expression 202 String too long in S-expression diff --git a/src/gpg-error.h b/src/gpg-error.h index 431bbaf..f5571d5 100644 --- a/src/gpg-error.h +++ b/src/gpg-error.h @@ -269,8 +269,9 @@ typedef enum GPG_ERR_INV_CERT_OBJ = 164, GPG_ERR_UNKNOWN_NAME = 165, GPG_ERR_LOCALE_PROBLEM = 166, /* A problem with the locale occured. */ + GPG_ERR_NOT_LOCKED = 167, /* Expected lock not held. */ - /* 167 to 199 are free to be used. */ + /* 168 to 199 are free to be used. */ GPG_ERR_BUFFER_TOO_SHORT = 200, -- cgit v1.2.3