diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 1999-09-14 13:37:37 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 1999-09-14 13:37:37 +0000 |
commit | 09add1be5178bca15fca7aca6c4e7dafb75bb4a9 (patch) | |
tree | 631f5e29a3dd1d4ac3dbd89cbf9ab60dfbff0a90 /test/testargs.c | |
parent | 78ef0ea48829bb72a4f38b447063bfdbfe19c31d (diff) | |
download | libapr-09add1be5178bca15fca7aca6c4e7dafb75bb4a9.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: http://svn.apache.org/repos/asf/apr/apr/trunk@59223 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testargs.c')
-rw-r--r-- | test/testargs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testargs.c b/test/testargs.c index 5b03876bd..1282885ff 100644 --- a/test/testargs.c +++ b/test/testargs.c @@ -69,7 +69,7 @@ int main(int argc, char * const argv[]) ap_context_t *context; ap_int32_t data; - ap_create_context(NULL, NULL, &context); + ap_create_context(NULL, &context); while (ap_getopt(context, argc, argv, "abc:d::", &data) == APR_SUCCESS) { switch(data) { |