diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-03-12 09:51:33 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-03-12 12:14:18 +0100 |
commit | 06f88fe7a2f9ce93f8cdbec0910cc8471c12b1c3 (patch) | |
tree | 7633f8ab8db558ee6f1b449e6e5f58db27397e54 /lib/tevent/tevent_internal.h | |
parent | bd0f14c1d782b6afe9455e61819caeb2d480af1e (diff) | |
download | samba-06f88fe7a2f9ce93f8cdbec0910cc8471c12b1c3.tar.gz samba-06f88fe7a2f9ce93f8cdbec0910cc8471c12b1c3.tar.bz2 samba-06f88fe7a2f9ce93f8cdbec0910cc8471c12b1c3.zip |
tevent: don't allow nested tevent_loop_once() anymore
Incompatible caller should use tevent_loop_allow_nesting()
function.
metze
Diffstat (limited to 'lib/tevent/tevent_internal.h')
-rw-r--r-- | lib/tevent/tevent_internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/tevent/tevent_internal.h b/lib/tevent/tevent_internal.h index 151a34fc42..475d00661a 100644 --- a/lib/tevent/tevent_internal.h +++ b/lib/tevent/tevent_internal.h @@ -233,6 +233,12 @@ struct tevent_context { /* debugging operations */ struct tevent_debug_ops debug_ops; + + /* info about the nesting status */ + struct { + bool allowed; + uint32_t level; + } nesting; }; |