aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-02-03 12:39:52 +0000
committerWerner Koch <[email protected]>2004-02-03 12:39:52 +0000
commite3884dde5c96bc3e53c3e17e35cc66abb23eb72e (patch)
treea0fdec7c0c322971e9651c8dfb402820218179f5
parentAdded GPG_ERR_LOCALE_PROBLEM. (diff)
downloadlibgpg-error-e3884dde5c96bc3e53c3e17e35cc66abb23eb72e.tar.gz
libgpg-error-e3884dde5c96bc3e53c3e17e35cc66abb23eb72e.zip
Added GPG_ERR_NOT_LOCKED.
-rw-r--r--ChangeLog4
-rw-r--r--NEWS2
-rw-r--r--src/err-codes.h.in1
-rw-r--r--src/gpg-error.h3
4 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 323ae24..6e26a9f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-02-03 Werner Koch <[email protected]>
+
+ * src/gpg-error.h: Added GPG_ERR_NOT_LOCKED.
+
2003-12-22 Werner Koch <[email protected]>
* 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,