summaryrefslogtreecommitdiff
path: root/lib/tevent/tevent.h
AgeCommit message (Collapse)AuthorFilesLines
2009-02-18tevent: add tevent_wakeup_send/recv()Stefan Metzmacher1-0/+4
This can be used as tevent_req based timer event. metze
2009-02-18tevent: rename tevent_req_set_timeout() => tevent_req_set_endtime()Stefan Metzmacher1-1/+1
This makes more clear what the function does. metze
2009-02-17tevent: Rename ev_timeval* functions to tevent_timeval, export them.Kai Blin1-0/+19
Also add tevent_timeval_add() and tevent_timeval_current_ofs() to help not depending on lub/util/time.c for things that just need tevent
2009-02-16lib/tevent: change to LGPLv3+Stefan Metzmacher1-12/+16
metze
2009-02-14Add missing prototype for "tevent_req_print"Volker Lendecke1-0/+2
2009-02-13lib/tevent: add tevent_req infrastructureStefan Metzmacher1-0/+163
This is almost a copy of the async_req code, which will be removed later. metze
2009-02-13lib/tevent: remove broken tevent_aio supportStefan Metzmacher1-22/+0
It makes no sense to support aio events because, the current implementation was based on IOCB_CMD_EPOLL_WAIT which never made it into the main kernel tree. The native linux aio can be used with select/epoll using eventfd(), which means we can implement aio with fd events and implement aio outside of tevent. metze
2009-01-05Attempt to fix the build on netbsd5Volker Lendecke1-0/+1
2009-01-05tevent: fix tevent_add_timer() and tevent_add_aio() macrosStefan Metzmacher1-2/+2
metze
2009-01-03tevent: remove TEVENT_FD_AUTOCLOSE featureStefan Metzmacher1-2/+0
TEVENT_FD_AUTOCLOSE adds a dependency to SOCKET_WRAPPER, which is bad. Callers should use tevent_fd_set_close_fn() now. metze
2009-01-03tevent: add tevent_fd_set_auto_close()Stefan Metzmacher1-0/+1
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/+6
Let callers specify a close function as an alternative to TEVENT_FD_AUTOCLOSE. metze
2009-01-03tevent: specify argument names for the event handlersStefan Metzmacher1-12/+18
metze
2009-01-02tevent: only provide compat macros if the caller wants themStefan Metzmacher1-5/+0
metze
2009-01-02tevent: rename ev_debug_ops => tevent_debug_opsStefan Metzmacher1-0/+28
And related changes, but we keep compat macros metze
2009-01-02tevent: make tevent_add_*() macros arround _tevent_add_*()Stefan Metzmacher1-22/+44
This passes some additional debug information into the events system to make it easier to find bugs. metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-7/+4
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-49/+127
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/+98
This commit will not compile on its own. metze