summaryrefslogtreecommitdiff
path: root/lib/tevent/tevent_internal.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-03-12 10:23:30 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-12 14:21:26 +0100
commit7142ef49bdc5fe731c9140641e8e938ee999327d (patch)
treeae46a42c2bbafd310f7dd0d2c74455175b1d69c8 /lib/tevent/tevent_internal.h
parenta3d5d8378c8edb6baa9ab42b02cee4711a58840b (diff)
downloadsamba-7142ef49bdc5fe731c9140641e8e938ee999327d.tar.gz
samba-7142ef49bdc5fe731c9140641e8e938ee999327d.tar.bz2
samba-7142ef49bdc5fe731c9140641e8e938ee999327d.zip
tevent: add tevent_loop_set_nesting_hook()
This is an ugly hack to let the s4 server work arround some bugs related to nested events and uid changing. metze
Diffstat (limited to 'lib/tevent/tevent_internal.h')
-rw-r--r--lib/tevent/tevent_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tevent/tevent_internal.h b/lib/tevent/tevent_internal.h
index 475d00661a..f10485398f 100644
--- a/lib/tevent/tevent_internal.h
+++ b/lib/tevent/tevent_internal.h
@@ -238,6 +238,8 @@ struct tevent_context {
struct {
bool allowed;
uint32_t level;
+ tevent_nesting_hook hook_fn;
+ void *hook_private;
} nesting;
};