diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-12-13 12:07:10 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-12-13 12:07:10 +0100 |
commit | 7626b96d37ca125d8b9bf34db7b0305f11d02361 (patch) | |
tree | 6bbdca97fdd4d34fed40922915d0833f24da594b /gnu-taler-error-codes/c.header | |
parent | 1e1a13c64febaf890617e59cc0f41cb9c17a025b (diff) |
generate logic to lookup HTTP status code by ec
Diffstat (limited to 'gnu-taler-error-codes/c.header')
-rw-r--r-- | gnu-taler-error-codes/c.header | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu-taler-error-codes/c.header b/gnu-taler-error-codes/c.header index 7b446aa..fb37b22 100644 --- a/gnu-taler-error-codes/c.header +++ b/gnu-taler-error-codes/c.header @@ -23,6 +23,10 @@ #include "taler_error_codes.h" #include <stddef.h> +/** + * MHD does not define our value for 0 (client-side generated code). + */ +#define MHD_HTTP_UNINITIALIZED 0 /** * A pair containing an error code and its hint. @@ -38,6 +42,11 @@ struct ErrorCodeAndHint * The hint. */ const char *hint; + + /** + * The HTTP status code. + */ + unsigned int http_status; }; |