From 7626b96d37ca125d8b9bf34db7b0305f11d02361 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 13 Dec 2020 12:07:10 +0100 Subject: generate logic to lookup HTTP status code by ec --- gnu-taler-error-codes/c.header | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gnu-taler-error-codes/c.header') 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 +/** + * 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; }; -- cgit v1.2.3