aboutsummaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd.h
diff options
context:
space:
mode:
authorpriscilla <priscilla.huang@efrei.net>2023-01-31 07:37:56 -0500
committerpriscilla <priscilla.huang@efrei.net>2023-02-20 12:17:09 -0500
commit3e6a6f0ee66f5b47841c5352da503ab298598cc3 (patch)
tree70ac60361f87f9e9262d130798f3fed65757f26e /src/exchange/taler-exchange-httpd.h
parentb43cf6f97ffdbc9ad92f4933ccae6b10bd4423e0 (diff)
update
Diffstat (limited to 'src/exchange/taler-exchange-httpd.h')
-rw-r--r--src/exchange/taler-exchange-httpd.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/exchange/taler-exchange-httpd.h b/src/exchange/taler-exchange-httpd.h
index 96003626..5ab0ea92 100644
--- a/src/exchange/taler-exchange-httpd.h
+++ b/src/exchange/taler-exchange-httpd.h
@@ -247,17 +247,6 @@ struct TEH_RequestHandler
} handler;
/**
- * Number of arguments this handler expects in the @a args array.
- */
- unsigned int nargs;
-
- /**
- * Is the number of arguments given in @e nargs only an upper bound,
- * and calling with fewer arguments could be OK?
- */
- bool nargs_is_upper_bound;
-
- /**
* Mime type to use in reply (hint, can be NULL).
*/
const char *mime_type;
@@ -276,6 +265,17 @@ struct TEH_RequestHandler
* Default response code. 0 for none provided.
*/
unsigned int response_code;
+
+ /**
+ * Number of arguments this handler expects in the @a args array.
+ */
+ unsigned int nargs;
+
+ /**
+ * Is the number of arguments given in @e nargs only an upper bound,
+ * and calling with fewer arguments could be OK?
+ */
+ bool nargs_is_upper_bound;
};