1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

684 Commits

Author SHA1 Message Date
Stefan Metzmacher
4f04b06ac2 tevent: rename ev_debug_ops => tevent_debug_ops
And related changes, but we keep compat macros

metze
2009-01-02 18:16:53 +01:00
Stefan Metzmacher
d79fc2ffcd tevent: rename events => tevent in tevent.pc
metze
2009-01-02 18:16:52 +01:00
Stefan Metzmacher
227f799dee tevent: pass down handler_name and location to the backend layer
metze
2009-01-02 18:16:52 +01:00
Stefan Metzmacher
49acf9799a tevent: make tevent_add_*() macros arround _tevent_add_*()
This passes some additional debug information into
the events system to make it easier to find bugs.

metze
2009-01-02 18:16:52 +01:00
Stefan Metzmacher
b12e78e645 tevent: use HAVE_EPOLL instead of HAVE_EVENTS_EPOLL
metze
2009-01-02 18:16:51 +01:00
Stefan Metzmacher
d9529a331a tevent: rename event_register_backend() => tevent_register_backend()
And fix the callers and there init functions.

metze
2009-01-02 18:16:51 +01:00
Stefan Metzmacher
0a73e8b334 tevent: rename event_context_init* => tevent_context_init*()
metze
2009-01-02 18:16:50 +01:00
Stefan Metzmacher
7db6399069 tevent: rename event_[s|g]et_fd_flags => tevent_fd_[s|g]et_flags
metze
2009-01-02 18:16:50 +01:00
Stefan Metzmacher
d33b6aeff3 tevent: rename event_loop_* => tevent_loop_*
metze
2009-01-02 18:16:50 +01:00
Stefan Metzmacher
8bdc947993 tevent: rename event_set_default_backend() => tevent_set_default_backend()
metze
2009-01-02 18:16:49 +01:00
Stefan Metzmacher
0ffed7d992 tevent: use libreplace headers instead of system headers
metze
2009-01-02 18:16:49 +01:00
Stefan Metzmacher
3f8f99eaec s4:tevent: move event_context_find() to tevent_s4.c
metze
2009-01-02 18:16:48 +01:00
Stefan Metzmacher
c2dc2e0b46 lib/tevent: fix standalone make distclean realdistclean
Bug report by Brad Hards <bradh@frogmouth.net>.

metze
2008-12-30 08:58:52 +01:00
Stefan Metzmacher
183c379fe5 s4:lib/tevent: rename structs
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"

for s in $list; do
	o=`echo $s | cut -d ':' -f1`
	n=`echo $s | cut -d ':' -f2`
	r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
	files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
	for f in $files; do
		cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
		mv $f.tmp $f
	done
done

metze
2008-12-29 20:46:40 +01:00
Stefan Metzmacher
7bf5768a52 lib/tevent: rename event_* => tevent_* in the header file
We have compat macros to keep the callers happy.

metze
2008-12-29 08:42:00 +01:00
Stefan Metzmacher
83bcc4e027 lib/tevent: libtevent will change a lot until it's version 1.0.0
metze
2008-12-24 13:59:00 +01:00
Jelmer Vernooij
dcc4081f75 Fix more compiler warnings. 2008-12-23 23:22:57 +01:00
Jelmer Vernooij
bd64688c6a Fix more compiler warnings in various places. 2008-12-23 22:57:11 +01:00
Jelmer Vernooij
32e03f9fa5 Install tevent_internal.h, as Samba 4 needs it. 2008-12-23 22:57:00 +01:00
Jelmer Vernooij
31dc07ee28 pytevent: Add missing file. 2008-12-23 20:13:17 +01:00
Jelmer Vernooij
8b24da201b Allow using external libtevent. 2008-12-23 19:59:57 +01:00
Jelmer Vernooij
22703bf3ff standalone: Use more variables, preparing to include these files from main
Samba 4 makefile.
2008-12-23 19:44:11 +01:00
Jelmer Vernooij
465f78021e Move Samba4-specific file out of common libtevent. 2008-12-23 19:28:22 +01:00
Jelmer Vernooij
998d588192 python/tevent: Remove use of pytalloc.h. 2008-12-23 03:25:51 +01:00
Jelmer Vernooij
e9deb75759 Fix installation of standalone tevent Python module. 2008-12-22 23:55:01 +01:00
Jelmer Vernooij
50b0c5325e Never build tevent modules as shared objects. 2008-12-22 17:56:28 +01:00
Jelmer Vernooij
29dd98be09 Remove unused Samba4-specific init functions for libtevent. 2008-12-22 17:43:46 +01:00
Jelmer Vernooij
6efb7ff981 Fix various Python-related bugs. 2008-12-21 07:34:27 +01:00
Jelmer Vernooij
ec80992ef5 Fix tevent python module build as part of samba 4. 2008-12-20 21:19:48 +01:00
Jelmer Vernooij
28f80dbb7c Stop using SWIG for ldb Python bindings. 2008-12-20 19:54:13 +01:00
Jelmer Vernooij
1f4bd4b82c Fix standalone compilation of events library. 2008-12-20 19:23:30 +01:00
Jelmer Vernooij
383e7c4d16 Add missing files for standalone build. 2008-12-20 18:06:31 +01:00
Stefan Metzmacher
46eda79090 s4:lib/tevent: add lib/events/ compat and let things compile
metze
2008-12-17 13:31:29 +01:00
Stefan Metzmacher
504f8816e3 s4:lib/events: move to toplevel directory as lib/tevent/
This commit will not compile on its own.

metze
2008-12-17 13:31:28 +01:00