aboutsummaryrefslogtreecommitdiff
path: root/gnu-taler-error-codes/h.footer
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-13 12:07:10 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-13 12:07:10 +0100
commit7626b96d37ca125d8b9bf34db7b0305f11d02361 (patch)
tree6bbdca97fdd4d34fed40922915d0833f24da594b /gnu-taler-error-codes/h.footer
parent1e1a13c64febaf890617e59cc0f41cb9c17a025b (diff)
downloadgana-7626b96d37ca125d8b9bf34db7b0305f11d02361.tar.gz
gana-7626b96d37ca125d8b9bf34db7b0305f11d02361.zip
generate logic to lookup HTTP status code by ec
Diffstat (limited to 'gnu-taler-error-codes/h.footer')
-rw-r--r--gnu-taler-error-codes/h.footer10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu-taler-error-codes/h.footer b/gnu-taler-error-codes/h.footer
index 6c32dbd..67d90c8 100644
--- a/gnu-taler-error-codes/h.footer
+++ b/gnu-taler-error-codes/h.footer
@@ -13,6 +13,16 @@ const char *
13TALER_ErrorCode_get_hint (enum TALER_ErrorCode ec); 13TALER_ErrorCode_get_hint (enum TALER_ErrorCode ec);
14 14
15 15
16/**
17 * Return HTTP status for a given error code.
18 *
19 * @param ec the error code.
20 * @return the HTTP status code for the given @a ec, UINT_MAX if not found
21 */
22const unsigned int
23TALER_ErrorCode_get_http_status (enum TALER_ErrorCode ec);
24
25
16#if 0 /* keep Emacsens' auto-indent happy */ 26#if 0 /* keep Emacsens' auto-indent happy */
17{ 27{
18#endif 28#endif