diff options
author | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2006-02-25 14:47:18 +0000 |
---|---|---|
committer | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2006-02-25 14:47:18 +0000 |
commit | 2e0343545f6d5f6e0d5fbb71b0cf63586832086d (patch) | |
tree | 74605fef04c322dbda544c90927e658f1c14e360 /src/ne_request.h | |
parent | 8f81dc406c1fca4bdfa88f3d3f60016d6cbaaac2 (diff) | |
download | neon-2e0343545f6d5f6e0d5fbb71b0cf63586832086d.tar.gz |
* src/ne_request.h: Clarify exactly what is unsafe.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@941 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'src/ne_request.h')
-rw-r--r-- | src/ne_request.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ne_request.h b/src/ne_request.h index af72226..c00eac2 100644 --- a/src/ne_request.h +++ b/src/ne_request.h @@ -277,10 +277,8 @@ void ne_hook_destroy_session(ne_session *sess, * function 'fn', and userdata pointer 'userdata', then it will be * removed from the hooks list. * - * It is unsafe to call any of these functions from a corresponding - * hook function (i.e. calling ne_unhook_create_request from a hook - * registered with ne_hook_create_request), except for - * ne_unhook_destroy_request. */ + * It is unsafe to use any of these functions from a hook function to + * unregister itself, except for ne_unhook_destroy_request. */ void ne_unhook_create_request(ne_session *sess, ne_create_request_fn fn, void *userdata); void ne_unhook_pre_send(ne_session *sess, ne_pre_send_fn fn, void *userdata); |