diff options
author | fanf <fanf@13f79535-47bb-0310-9956-ffa450edef68> | 2000-05-09 18:56:12 +0000 |
---|---|---|
committer | fanf <fanf@13f79535-47bb-0310-9956-ffa450edef68> | 2000-05-09 18:56:12 +0000 |
commit | ca8b2fc8ab2f244cea359af987d1bf8f9d487359 (patch) | |
tree | f1f6bc1b3d4595a377becf1889d2b1f5f3d5a5be /include/apr_hash.h | |
parent | 96ea6a2d5dcef3b22f513457d7ac3c9c0e381ab5 (diff) | |
download | libapr-ca8b2fc8ab2f244cea359af987d1bf8f9d487359.tar.gz |
Make the hash API nicer when dealing with nul-terminated strings.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60031 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_hash.h')
-rw-r--r-- | include/apr_hash.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/apr_hash.h b/include/apr_hash.h index f93c4b06a..bba7680f9 100644 --- a/include/apr_hash.h +++ b/include/apr_hash.h @@ -92,6 +92,7 @@ B<Associate a value with a key in a hash table.> arg 1) The hash table arg 2) Pointer to the key arg 3) Length of the key + If the length is 0 it is assumed to be strlen(key)+1 arg 4) Value to associate with the key If the value is NULL the hash entry is deleted. @@ -109,6 +110,7 @@ B<Look up the value associated with a key in a hash table.> arg 1) The hash table arg 2) Pointer to the key arg 3) Length of the key + If the length is 0 it is assumed to be strlen(key)+1 Returns NULL if the key is not present. |