aboutsummaryrefslogtreecommitdiff
path: root/gnu-taler-error-codes/c.template
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/c.template
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/c.template')
-rw-r--r--gnu-taler-error-codes/c.template3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu-taler-error-codes/c.template b/gnu-taler-error-codes/c.template
index 02c39ed..a32b3e6 100644
--- a/gnu-taler-error-codes/c.template
+++ b/gnu-taler-error-codes/c.template
@@ -1,5 +1,6 @@
1 1
2 { 2 {
3 .ec = TALER_EC_{{Name}}, 3 .ec = TALER_EC_{{Name}},
4 .hint = "{{Description}}" 4 .hint = "{{Description}}",
5 .http_code = MHD_HTTP_{{HttpStatus_Identifier}}
5 }, 6 },