aboutsummaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_parsing.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-07-08 09:40:13 +0200
committerChristian Grothoff <christian@grothoff.org>2015-07-08 09:40:13 +0200
commitea5c1233f13ad3128207b6b84401d8638dbc43e5 (patch)
tree4ee2fc37580df6079af9acb339de804ee38846d7 /src/mint/taler-mint-httpd_parsing.h
parent296e27b92ab0367f414dc0e98b185531c8df06f3 (diff)
nicer error reporting
Diffstat (limited to 'src/mint/taler-mint-httpd_parsing.h')
-rw-r--r--src/mint/taler-mint-httpd_parsing.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/mint/taler-mint-httpd_parsing.h b/src/mint/taler-mint-httpd_parsing.h
index 7d37bb18..2e036f32 100644
--- a/src/mint/taler-mint-httpd_parsing.h
+++ b/src/mint/taler-mint-httpd_parsing.h
@@ -353,42 +353,6 @@ TMH_PARSE_member_time_abs (const char *field,
/**
- * Parse amount specified in JSON format.
- *
- * @param connection the MHD connection (to report errors)
- * @param f json specification of the amount
- * @param[out] amount set to the amount specified in @a f
- * @return
- * #GNUNET_YES if parsing was successful
- * #GNUNET_NO if json is malformed, error response was generated
- * #GNUNET_SYSERR on internal error, error response was not generated
- */
-int
-TMH_PARSE_amount_json (struct MHD_Connection *connection,
- json_t *f,
- struct TALER_Amount *amount);
-
-
-/**
- * Parse absolute time specified in JSON format. The JSON format is
- * "/TIMEVAL/" where TIMEVAL is in seconds. Additionally, we
- * support "/forever/" and "/never/" to represent the end of time.
- *
- * @param connection the MHD connection (to report errors)
- * @param f json specification of the amount
- * @param[out] time set to the time specified in @a f
- * @return
- * #GNUNET_YES if parsing was successful
- * #GNUNET_NO if json is malformed, error response was generated
- * #GNUNET_SYSERR on internal error, error response was not generated
- */
-int
-TMH_PARSE_time_abs_json (struct MHD_Connection *connection,
- json_t *f,
- struct GNUNET_TIME_Absolute *time);
-
-
-/**
* Extraxt fixed-size base32crockford encoded data from request.
*
* Queues an error response to the connection if the parameter is missing or