summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-01 13:13:33 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-01 13:13:33 +0100
commitf979ee9acaa69bfb26973db43c1c82f704f6b01d (patch)
treec04dede1a244ebd75ad789b6d54afea5f29b8a10 /src/include
parentd11a13c825a169e3cc42efa8dca679c14e627d40 (diff)
downloadexchange-f979ee9acaa69bfb26973db43c1c82f704f6b01d.tar.gz
exchange-f979ee9acaa69bfb26973db43c1c82f704f6b01d.tar.bz2
exchange-f979ee9acaa69bfb26973db43c1c82f704f6b01d.zip
add ENABLE_SANITY_CHECKS #define instead of using '1'
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_util.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/taler_util.h b/src/include/taler_util.h
index f64ab342..71000e8e 100644
--- a/src/include/taler_util.h
+++ b/src/include/taler_util.h
@@ -171,6 +171,10 @@ TALER_mhd_is_https (struct MHD_Connection *connection);
/**
* Make an absolute URL with query parameters.
*
+ * If a 'value' is given as NULL, both the key and the value are skipped. Note
+ * that a NULL value does not terminate the list, only a NULL key signals the
+ * end of the list of arguments.
+ *
* @param base_url absolute base URL to use
* @param path path of the url
* @param ... NULL-terminated key-value pairs (char *) for query parameters,
@@ -186,6 +190,10 @@ TALER_url_join (const char *base_url,
/**
* Make an absolute URL for the given parameters.
*
+ * If a 'value' is given as NULL, both the key and the value are skipped. Note
+ * that a NULL value does not terminate the list, only a NULL key signals the
+ * end of the list of arguments.
+ *
* @param proto protocol for the URL (typically https)
* @param host hostname for the URL
* @param prefix prefix for the URL
@@ -205,6 +213,10 @@ TALER_url_absolute_raw (const char *proto,
/**
* Make an absolute URL for the given parameters.
*
+ * If a 'value' is given as NULL, both the key and the value are skipped. Note
+ * that a NULL value does not terminate the list, only a NULL key signals the
+ * end of the list of arguments.
+ *
* @param proto protocol for the URL (typically https)
* @param host hostname for the URL
* @param prefix prefix for the URL