diff options
author | Ryan Bloom <rbb@apache.org> | 1999-09-14 13:37:37 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 1999-09-14 13:37:37 +0000 |
commit | 32101a0c1fbb26796b787bc9d6570c3df5d18348 (patch) | |
tree | 631f5e29a3dd1d4ac3dbd89cbf9ab60dfbff0a90 /test/ab_apr.c | |
parent | 76ce9e5584a7110f729b460e36ab25d9cfdf8fde (diff) | |
download | apr-32101a0c1fbb26796b787bc9d6570c3df5d18348.tar.gz |
A change to how APR uses user data. Now, user data is a linked list that
is retreivable using a char string. Basically, you provide a string that
will be used as a key when you store the data. If the key was used before,
we will overwrite the old data. When you want to retreive your data, pass
in the same key, and we will find the data you care about. This also makes
it harder to put user data in when creating a context, so that option has
disappeared. It is also impossible to inherit user data from parent contexts.
This option may be added in later. I will be documenting this VERY soon.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59223 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/ab_apr.c')
-rw-r--r-- | test/ab_apr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ab_apr.c b/test/ab_apr.c index ddfcd3d8e..8ae41bf05 100644 --- a/test/ab_apr.c +++ b/test/ab_apr.c @@ -893,7 +893,7 @@ int main(int argc, char **argv) trstring = ""; tdstring = "bgcolor=white"; - ap_create_context(NULL, NULL, &cntxt); + ap_create_context(NULL, &cntxt); ap_make_time(cntxt, &start); ap_make_time(cntxt, &endtime); |