summaryrefslogtreecommitdiff
path: root/include/apr_tables.h
diff options
context:
space:
mode:
authorJustin Erenkrantz <jerenkrantz@apache.org>2002-09-02 09:27:57 +0000
committerJustin Erenkrantz <jerenkrantz@apache.org>2002-09-02 09:27:57 +0000
commit8a3c9639c9f8f1541309f22ab67bf17ba3d9623d (patch)
tree0ec67f9d83da6509c013de05f962671dee8025d5 /include/apr_tables.h
parentb6793bef385640821670959cc1979ae9b90ae5c3 (diff)
downloadapr-8a3c9639c9f8f1541309f22ab67bf17ba3d9623d.tar.gz
Add apr_array_pop() function to apr_array_header_t.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63848 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_tables.h')
-rw-r--r--include/apr_tables.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/apr_tables.h b/include/apr_tables.h
index 852a48ac3..1e5404002 100644
--- a/include/apr_tables.h
+++ b/include/apr_tables.h
@@ -161,6 +161,14 @@ APR_DECLARE(apr_array_header_t *) apr_array_make(apr_pool_t *p,
APR_DECLARE(void *) apr_array_push(apr_array_header_t *arr);
/**
+ * Remove an element from an array
+ * @param arr The array to remove an element from.
+ * @return Location of the element in the array.
+ * @remark If there are no elements in the array, NULL is returned.
+ */
+APR_DECLARE(void *) apr_array_pop(apr_array_header_t *arr);
+
+/**
* Concatenate two arrays together
* @param dst The destination array, and the one to go first in the combined
* array