diff options
author | gilles <gilles@poolp.org> | 2016-07-06 09:51:02 +0200 |
---|---|---|
committer | gilles <gilles@poolp.org> | 2016-07-06 09:51:02 +0200 |
commit | 37bfa7be9319b2e54128644e533513bc1aff4f80 (patch) | |
tree | 06708092d6b17c8614657ab8e2224e02ffe456f0 | |
parent | merge parse_response in proceed (diff) | |
download | OpenSMTPD-extras-37bfa7be9319b2e54128644e533513bc1aff4f80.tar.xz OpenSMTPD-extras-37bfa7be9319b2e54128644e533513bc1aff4f80.zip |
set_udata / get_udata are deprecated now that we have session/transaction allocators
-rw-r--r-- | extras/filters/filter_api.3 | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/extras/filters/filter_api.3 b/extras/filters/filter_api.3 index c80a1cc..035bb03 100644 --- a/extras/filters/filter_api.3 +++ b/extras/filters/filter_api.3 @@ -36,8 +36,6 @@ .Nm filter_api_setugid , .Nm filter_api_set_chroot , .Nm filter_api_no_chroot , -.Nm filter_api_set_udata , -.Nm filter_api_get_udata , .Nm filter_api_timer , .Nm filter_api_sockaddr_to_text , .Nm filter_api_mailaddr_to_text @@ -84,10 +82,6 @@ .Fn filter_api_set_chroot "const char *rootpath" .Ft void .Fn filter_api_no_chroot "void" -.Ft void -.Fn filter_api_set_udata "uint64_t id" "void *data" -.Ft void * -.Fn filter_api_get_udata "uint64_t id" .Ft void * .Fn filter_api_timer "uint64_t id" "uint32_t tmo" \ "void (*cb)(uint64_t, void *)" "void *arg" @@ -238,21 +232,6 @@ The function can be called to disable chroot for the filter. .Pp The function -.Fn filter_api_set_udata -can be called for the current message with the given -.Fa id -to set a user data pointer -.Fa data -from within a callback function. -.Pp -The function -.Fn filter_api_get_udata -can be called to get the user data pointer for the current message with the -given -.Fa id -from within a callback function. -.Pp -The function .Fn filter_api_timer can be called to set up a timeout .Fa tmo |