summaryrefslogtreecommitdiff
path: root/lib/tevent/tevent.c
AgeCommit message (Collapse)AuthorFilesLines
2009-01-12tevent: use for() loops instead of while() loopsStefan Metzmacher1-12/+9
metze
2009-01-11tevent: Fix build breakTim Prouty1-1/+1
2009-01-11Fix tevent_common_context_destructor to remove all events instead of just ↵Bo Yang1-4/+10
the first one Signed-off-by: Bo Yang <boyang@novell.com> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-01-07tevent: don't try to dereference fde->event_ctx when the event context ↵Stefan Metzmacher1-0/+3
doesn't exists anymore metze
2009-01-05tevent: add tevent_context destructor that unlinks the events from the contextStefan Metzmacher1-0/+31
metze
2009-01-03tevent: add tevent_fd_set_auto_close()Stefan Metzmacher1-0/+14
tevent_fd_set_auto_close() is a simple wrapper arround tevent_fd_set_close_fn() with a callback that uses plain close(2). metze
2009-01-03tevent: add tevent_fd_set_close_fn()Stefan Metzmacher1-0/+10
Let callers specify a close function as an alternative to TEVENT_FD_AUTOCLOSE. metze
2009-01-02tevent: pass down handler_name and location to the backend layerStefan Metzmacher1-4/+8
metze
2009-01-02tevent: make tevent_add_*() macros arround _tevent_add_*()Stefan Metzmacher1-20/+33
This passes some additional debug information into the events system to make it easier to find bugs. metze
2009-01-02tevent: use HAVE_EPOLL instead of HAVE_EVENTS_EPOLLStefan Metzmacher1-2/+2
metze
2009-01-02tevent: rename event_register_backend() => tevent_register_backend()Stefan Metzmacher1-5/+5
And fix the callers and there init functions. metze
2009-01-02tevent: rename event_context_init* => tevent_context_init*()Stefan Metzmacher1-25/+26
metze
2009-01-02tevent: rename event_[s|g]et_fd_flags => tevent_fd_[s|g]et_flagsStefan Metzmacher1-2/+2
metze
2009-01-02tevent: rename event_loop_* => tevent_loop_*Stefan Metzmacher1-4/+4
metze
2009-01-02tevent: rename event_set_default_backend() => tevent_set_default_backend()Stefan Metzmacher1-5/+6
metze
2009-01-02s4:tevent: move event_context_find() to tevent_s4.cStefan Metzmacher1-18/+0
metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-16/+16
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-29lib/tevent: rename event_* => tevent_* in the header fileStefan Metzmacher1-1/+1
We have compat macros to keep the callers happy. metze
2008-12-17s4:lib/tevent: add lib/events/ compat and let things compileStefan Metzmacher1-3/+3
metze
2008-12-17s4:lib/events: move to toplevel directory as lib/tevent/Stefan Metzmacher1-0/+310
This commit will not compile on its own. metze