summaryrefslogtreecommitdiff
path: root/source4/lib/events
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-12-16 19:57:09 +0100
committerStefan Metzmacher <metze@samba.org>2008-12-17 13:31:29 +0100
commit46eda790905e0ca70d9ecd2822578dbfde456e63 (patch)
tree142d4b85c91416c02b107ed41ec3232697b4c06e /source4/lib/events
parent504f8816e3058b9358a18ef42e442753fe2657ba (diff)
downloadsamba-46eda790905e0ca70d9ecd2822578dbfde456e63.tar.gz
samba-46eda790905e0ca70d9ecd2822578dbfde456e63.tar.bz2
samba-46eda790905e0ca70d9ecd2822578dbfde456e63.zip
s4:lib/tevent: add lib/events/ compat and let things compile
metze
Diffstat (limited to 'source4/lib/events')
-rw-r--r--source4/lib/events/config.mk7
-rw-r--r--source4/lib/events/events.h1
-rw-r--r--source4/lib/events/events_dummy.c4
-rw-r--r--source4/lib/events/events_internal.h1
4 files changed, 13 insertions, 0 deletions
diff --git a/source4/lib/events/config.mk b/source4/lib/events/config.mk
new file mode 100644
index 0000000000..b9d6879b3c
--- /dev/null
+++ b/source4/lib/events/config.mk
@@ -0,0 +1,7 @@
+[SUBSYSTEM::LIBEVENTS]
+PUBLIC_DEPENDENCIES = LIBTEVENT
+CFLAGS = -Ilib/events
+
+LIBEVENTS_OBJ_FILES = $(addprefix $(libeventssrcdir)/, events_dummy.o)
+
+PUBLIC_HEADERS += $(addprefix $(libeventssrcdir)/, events.h events_internal.h)
diff --git a/source4/lib/events/events.h b/source4/lib/events/events.h
new file mode 100644
index 0000000000..d2e81f5279
--- /dev/null
+++ b/source4/lib/events/events.h
@@ -0,0 +1 @@
+#include <tevent.h>
diff --git a/source4/lib/events/events_dummy.c b/source4/lib/events/events_dummy.c
new file mode 100644
index 0000000000..15bb25e953
--- /dev/null
+++ b/source4/lib/events/events_dummy.c
@@ -0,0 +1,4 @@
+void __events_dummy(void)
+{
+}
+
diff --git a/source4/lib/events/events_internal.h b/source4/lib/events/events_internal.h
new file mode 100644
index 0000000000..308587ce2f
--- /dev/null
+++ b/source4/lib/events/events_internal.h
@@ -0,0 +1 @@
+#include <tevent_internal.h>