diff options
Diffstat (limited to 'gnu-taler-error-codes/h.footer')
-rw-r--r-- | gnu-taler-error-codes/h.footer | 10 |
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 * | |||
13 | TALER_ErrorCode_get_hint (enum TALER_ErrorCode ec); | 13 | TALER_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 | */ | ||
22 | const unsigned int | ||
23 | TALER_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 |