summaryrefslogtreecommitdiffstats
path: root/contrib/apr/include/apr_tables.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2014-08-12 01:40:11 +0000
committerpeter <peter@FreeBSD.org>2014-08-12 01:40:11 +0000
commit72d63a715ab3bb85109696154deb9b90d0495852 (patch)
treece225c894795f3e26aadf9170baf8fd0556c18d2 /contrib/apr/include/apr_tables.h
parentd307c6d3b7fc94a241aab28f56b9e92a10d98bee (diff)
downloadFreeBSD-src-72d63a715ab3bb85109696154deb9b90d0495852.zip
FreeBSD-src-72d63a715ab3bb85109696154deb9b90d0495852.tar.gz
MFC r266728,266731,266735,266736,268135,268960,269833
Update apr 1.4.8 -> 1.5.1 Update apr-util 1.5.2 -> 1.5.3 Update serf 1.3.4 -> 1.3.7 Update svnlite 1.8.8 -> 1.8.10 Deal with svnlite.1 manpage.
Diffstat (limited to 'contrib/apr/include/apr_tables.h')
-rw-r--r--contrib/apr/include/apr_tables.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/apr/include/apr_tables.h b/contrib/apr/include/apr_tables.h
index 1e7a57d..194af02 100644
--- a/contrib/apr/include/apr_tables.h
+++ b/contrib/apr/include/apr_tables.h
@@ -268,6 +268,18 @@ APR_DECLARE(void) apr_table_clear(apr_table_t *t);
APR_DECLARE(const char *) apr_table_get(const apr_table_t *t, const char *key);
/**
+ * Get values associated with a given key from the table. If more than one
+ * value exists, return a comma separated list of values. After this call, the
+ * data is still in the table.
+ * @param p The pool to allocate the combined value from, if necessary
+ * @param t The table to search for the key
+ * @param key The key to search for (case does not matter)
+ * @return The value associated with the key, or NULL if the key does not exist.
+ */
+APR_DECLARE(const char *) apr_table_getm(apr_pool_t *p, const apr_table_t *t,
+ const char *key);
+
+/**
* Add a key/value pair to a table. If another element already exists with the
* same key, this will overwrite the old data.
* @param t The table to add the data to.
OpenPOWER on IntegriCloud