summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-05-16 04:14:21 +0200
committerKarolin Seeger <kseeger@samba.org>2009-09-09 12:45:01 +0200
commit3405c58d507b14b0be4aadd29d5d4bfa0d67e24c (patch)
treec603f6829629fd9f7ba286e340ccb3a2c65e385b
parent9af470e45b5171d934155e75658816337e917bed (diff)
downloadsamba-3405c58d507b14b0be4aadd29d5d4bfa0d67e24c.tar.gz
tevent: Install tevent_internal.h in the standalone build.
This is not ideal, but at least it fixes the build of samba-gtk for now. I've also added a warning about API guarantees at the top of the header. (cherry picked from commit 857c3f8322005efd460c2f516a9486a2de059e9f) (cherry picked from commit 30acc30ce5c01a30a96a6ce80ab99576574d8196)
-rw-r--r--lib/tevent/tevent.mk1
-rw-r--r--lib/tevent/tevent_internal.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/tevent/tevent.mk b/lib/tevent/tevent.mk
index ac5710ff059..ff01bd9808d 100644
--- a/lib/tevent/tevent.mk
+++ b/lib/tevent/tevent.mk
@@ -22,6 +22,7 @@ installdirs::
installheaders:: installdirs
cp $(srcdir)/tevent.h $(DESTDIR)$(includedir)
+ cp $(srcdir)/tevent_internal.h $(DESTDIR)$(includedir)
installlibs:: installdirs
cp tevent.pc $(DESTDIR)$(libdir)/pkgconfig
diff --git a/lib/tevent/tevent_internal.h b/lib/tevent/tevent_internal.h
index eebf7670677..54368e2aca0 100644
--- a/lib/tevent/tevent_internal.h
+++ b/lib/tevent/tevent_internal.h
@@ -3,7 +3,9 @@
generalised event loop handling
- Internal structs
+ INTERNAL STRUCTS. THERE ARE NO API GUARANTEES.
+ External users should only ever have to include this header when
+ implementing new tevent backends.
Copyright (C) Stefan Metzmacher 2005-2009