summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-04-11 16:32:05 +0200
committerChristian Grothoff <christian@grothoff.org>2015-04-11 16:32:05 +0200
commit929a99cdbb579e53fe458752b147c10344c92aca (patch)
treea33c062018672c6693f6ad246e4ca5a195196673
parent45a0c893161d7d0abd950a303f6e2fdc6df880d4 (diff)
downloadexchange-929a99cdbb579e53fe458752b147c10344c92aca.tar.gz
exchange-929a99cdbb579e53fe458752b147c10344c92aca.tar.bz2
exchange-929a99cdbb579e53fe458752b147c10344c92aca.zip
more complete documentation
-rw-r--r--src/mint/taler-mint-httpd_parsing.c4
-rw-r--r--src/mint/taler-mint-httpd_parsing.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/mint/taler-mint-httpd_parsing.c b/src/mint/taler-mint-httpd_parsing.c
index ad307dd45..c492eccef 100644
--- a/src/mint/taler-mint-httpd_parsing.c
+++ b/src/mint/taler-mint-httpd_parsing.c
@@ -887,7 +887,9 @@ TMH_PARSE_release_data (struct TMH_PARSE_FieldSpecification *spec)
/**
- * Parse absolute time specified in JSON format.
+ * Parse absolute time specified in JSON format. The JSON format is
+ * "/TIMEVAL/" where TIMEVAL is in milliseconds. Additionally, we
+ * support "/forever/" to represent the end of time.
*
* @param connection the MHD connection (to report errors)
* @param f json specification of the amount
diff --git a/src/mint/taler-mint-httpd_parsing.h b/src/mint/taler-mint-httpd_parsing.h
index 0a61d0770..4714ab6a0 100644
--- a/src/mint/taler-mint-httpd_parsing.h
+++ b/src/mint/taler-mint-httpd_parsing.h
@@ -323,7 +323,9 @@ TMH_PARSE_amount_json (struct MHD_Connection *connection,
/**
- * Parse absolute time specified in JSON format.
+ * Parse absolute time specified in JSON format. The JSON format is
+ * "/TIMEVAL/" where TIMEVAL is in milliseconds. Additionally, we
+ * support "/forever/" to represent the end of time.
*
* @param connection the MHD connection (to report errors)
* @param f json specification of the amount