aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-09-01 07:47:38 +0000
committerWerner Koch <[email protected]>2016-09-01 07:47:38 +0000
commitbc3e817bd7e671975f94bae20cbbf9a91fe3353b (patch)
tree45ae66b22705553e9f731ff30f348d9687fe0740
parentNew error code GPG_ERR_ENGINE_TOO_OLD (diff)
downloadlibgpg-error-bc3e817bd7e671975f94bae20cbbf9a91fe3353b.tar.gz
libgpg-error-bc3e817bd7e671975f94bae20cbbf9a91fe3353b.zip
Add error WINDOW_TOO_SMALL, WINDOW_TOO_LARGE, and MISSING_ENVVAR.
Signed-off-by: Werner Koch <[email protected]>
-rw-r--r--NEWS5
-rw-r--r--doc/errorref.txt39
-rw-r--r--src/err-codes.h.in6
3 files changed, 48 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 31b2b75..f7e1af6 100644
--- a/NEWS
+++ b/NEWS
@@ -3,7 +3,10 @@ Noteworthy changes in version 1.25 (unreleased) [C19/A19/R_)
* Interface changes relative to the 1.23 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- GPG_ERR_ENGINE_TOO_OLD NEW.
+ GPG_ERR_ENGINE_TOO_OLD NEW.
+ GPG_ERR_WINDOW_TOO_SMALL NEW.
+ GPG_ERR_WINDOW_TOO_LARGE NEW.
+ GPG_ERR_MISSING_ENVVAR NEW.
Noteworthy changes in version 1.24 (2016-07-14) [C19/A19/R1)
diff --git a/doc/errorref.txt b/doc/errorref.txt
index 5044572..b943c67 100644
--- a/doc/errorref.txt
+++ b/doc/errorref.txt
@@ -805,6 +805,45 @@ GPG_ERR_FALSE False
Used to return the boolean value False.
+
+GPG_ERR_ASS_GENERAL (257) General IPC error
+GPG_ERR_ASS_ACCEPT_FAILED (258) IPC accept call failed
+GPG_ERR_ASS_CONNECT_FAILED (259) IPC connect call failed
+GPG_ERR_ASS_INV_RESPONSE (260) Invalid IPC response
+GPG_ERR_ASS_INV_VALUE (261) Invalid value passed to IPC
+GPG_ERR_ASS_INCOMPLETE_LINE (262) Incomplete line passed to IPC
+GPG_ERR_ASS_LINE_TOO_LONG (263) Line passed to IPC too long
+GPG_ERR_ASS_NESTED_COMMANDS (264) Nested IPC commands
+GPG_ERR_ASS_NO_DATA_CB (265) No data callback in IPC
+GPG_ERR_ASS_NO_INQUIRE_CB (266) No inquire callback in IPC
+GPG_ERR_ASS_NOT_A_SERVER (267) Not an IPC server
+GPG_ERR_ASS_NOT_A_CLIENT (268) Not an IPC client
+GPG_ERR_ASS_SERVER_START (269) Problem starting IPC server
+GPG_ERR_ASS_READ_ERROR (270) IPC read error
+GPG_ERR_ASS_WRITE_ERROR (271) IPC write error
+GPG_ERR_ASS_TOO_MUCH_DATA (273) Too much data for IPC layer
+GPG_ERR_ASS_UNEXPECTED_CMD (274) Unexpected IPC command
+GPG_ERR_ASS_UNKNOWN_CMD (275) Unknown IPC command
+GPG_ERR_ASS_SYNTAX (276) IPC syntax error
+GPG_ERR_ASS_CANCELED (277) IPC call has been cancelled
+GPG_ERR_ASS_NO_INPUT (278) No input source for IPC
+GPG_ERR_ASS_NO_OUTPUT (279) No output source for IPC
+GPG_ERR_ASS_PARAMETER (280) IPC parameter error
+GPG_ERR_ASS_UNKNOWN_INQUIRE (281) Unknown IPC inquire
+
+
+GPG_ERR_ENGINE_TOO_OLD (300) Crypto engine too old
+
+GPG_ERR_WINDOW_TOO_SMALL(301) Screen or window too small
+
+ Pinentry: - The size of the screen is too small.
+
+GPG_ERR_WINDOW_TOO_LARGE (302) Screen or window too large
+
+GPG_ERR_MISSING_ENVVAR (303) Required environment variable not set
+
+ Pinentry: - The size of the screen can't be determined.
+
GPG_ERR_LDAP_GENERAL LDAP General error
Catch all error for LDAP. Use if if can't map an erro rocde to an
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index b44ac3f..dcbc0a3 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -320,7 +320,11 @@
# 282 to 299 are reserved for future assuan codes.
300 GPG_ERR_ENGINE_TOO_OLD Crypto engine too old
-# 301 to 720 are free to be used.
+301 GPG_ERR_WINDOW_TOO_SMALL Screen or window too small
+302 GPG_ERR_WINDOW_TOO_LARGE Screen or window too large
+303 GPG_ERR_MISSING_ENVVAR Required environment variable not set
+
+# This range is free for use.
#
# Mapping of LDAP error codes