summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorBo Yang <boyang@novell.com>2009-01-05 19:47:45 +0800
committerStefan Metzmacher <metze@samba.org>2009-01-05 15:07:31 +0100
commit022e2f81991f12637ca0eeb3a030d4cec69d6fb9 (patch)
tree47f153de1292b5b75d602f0a21428eb75510cac5 /source3/include
parent73875cd344608b591fa884ab99b5f3a10550c149 (diff)
downloadsamba-022e2f81991f12637ca0eeb3a030d4cec69d6fb9.tar.gz
samba-022e2f81991f12637ca0eeb3a030d4cec69d6fb9.tar.bz2
samba-022e2f81991f12637ca0eeb3a030d4cec69d6fb9.zip
clean event context after child is forked.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 6238ba3d00..a361c62f75 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -534,6 +534,7 @@ bool run_events(struct event_context *event_ctx,
struct timeval *get_timed_events_timeout(struct event_context *event_ctx,
struct timeval *to_ret);
int event_loop_once(struct event_context *ev);
+void event_context_reinit(struct event_context *ev);
struct event_context *event_context_init(TALLOC_CTX *mem_ctx);
int set_event_dispatch_time(struct event_context *event_ctx,
const char *event_name, struct timeval when);
@@ -1183,6 +1184,7 @@ int set_blocking(int fd, bool set);
void smb_msleep(unsigned int t);
void become_daemon(bool Fork, bool no_process_group);
bool reinit_after_fork(struct messaging_context *msg_ctx,
+ struct event_context *ev_ctx,
bool parent_longlived);
bool yesno(const char *p);
void *malloc_(size_t size);