diff options
author | Simo Sorce <idra@samba.org> | 2008-06-14 11:23:31 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2008-06-14 11:59:19 -0400 |
commit | 2aba4107915611b223daa8c27c52352f57b25bbc (patch) | |
tree | b97a1f2408c3101ca8e66faa6851848d829e4f5f /source4/lib/events/events.h | |
parent | 3443954c2bf971c3506aa40667989a10d5769706 (diff) | |
download | samba-2aba4107915611b223daa8c27c52352f57b25bbc.tar.gz samba-2aba4107915611b223daa8c27c52352f57b25bbc.tar.bz2 samba-2aba4107915611b223daa8c27c52352f57b25bbc.zip |
This patch make it possible to build the events library completely
standalone with no ties to internal samba4 functions
Samba4 itself just uses the plain library, compatibility glue is
in events_s4.c only
(This used to be commit 7109b6a5a19eb2dbef4259104858b171298bad6e)
Diffstat (limited to 'source4/lib/events/events.h')
-rw-r--r-- | source4/lib/events/events.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/events/events.h b/source4/lib/events/events.h index 2868fefc38..750cdfee05 100644 --- a/source4/lib/events/events.h +++ b/source4/lib/events/events.h @@ -42,6 +42,11 @@ typedef void (*event_signal_handler_t)(struct event_context *, struct signal_eve typedef void (*event_aio_handler_t)(struct event_context *, struct aio_event *, int, void *); +#ifdef _SAMBA_BUILD_ +struct event_context *s4_event_context_init_byname(TALLOC_CTX *mem_ctx, const char *name); +struct event_context *s4_event_context_init(TALLOC_CTX *mem_ctx); +#endif + struct event_context *event_context_init(TALLOC_CTX *mem_ctx); struct event_context *event_context_init_byname(TALLOC_CTX *mem_ctx, const char *name); const char **event_backend_list(TALLOC_CTX *mem_ctx); |