summaryrefslogtreecommitdiff
path: root/source4/lib/events
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-12-24 13:52:57 +0100
committerStefan Metzmacher <metze@samba.org>2008-12-29 08:42:00 +0100
commit7bf5768a523082d5d47140155824f24689009e55 (patch)
treeeecc1b7cf6e1223535b5107d7af6d74eebc440ff /source4/lib/events
parent9a90e4cecb2ab4afe54d2354fb9b6e985eeb245f (diff)
downloadsamba-7bf5768a523082d5d47140155824f24689009e55.tar.gz
samba-7bf5768a523082d5d47140155824f24689009e55.tar.bz2
samba-7bf5768a523082d5d47140155824f24689009e55.zip
lib/tevent: rename event_* => tevent_* in the header file
We have compat macros to keep the callers happy. metze
Diffstat (limited to 'source4/lib/events')
-rw-r--r--source4/lib/events/events.h6
-rw-r--r--source4/lib/events/events_internal.h4
2 files changed, 10 insertions, 0 deletions
diff --git a/source4/lib/events/events.h b/source4/lib/events/events.h
index 9c6e8252e1..803cba8456 100644
--- a/source4/lib/events/events.h
+++ b/source4/lib/events/events.h
@@ -1 +1,7 @@
+#ifndef __LIB_EVENTS_H__
+#define __LIB_EVENTS_H__
+#define TEVENT_COMPAT_DEFINES 1
#include <../lib/tevent/tevent.h>
+struct event_context *s4_event_context_init(TALLOC_CTX *mem_ctx);
+struct event_context *event_context_find(TALLOC_CTX *mem_ctx);
+#endif /* __LIB_EVENTS_H__ */
diff --git a/source4/lib/events/events_internal.h b/source4/lib/events/events_internal.h
index e0928310f9..055bfe1a92 100644
--- a/source4/lib/events/events_internal.h
+++ b/source4/lib/events/events_internal.h
@@ -1 +1,5 @@
+#ifndef __LIB_EVENTS_INTERNAL_H__
+#define __LIB_EVENTS_INTERNAL_H__
+#define TEVENT_COMPAT_DEFINES 1
#include <../lib/tevent/tevent_internal.h>
+#endif /* __LIB_EVENTS_INTERNAL_H__ */