summaryrefslogtreecommitdiffstats
path: root/lib/tevent
Commit message (Collapse)AuthorAgeFilesLines
* tevent: rename signal handler functions to start with tevent_common_Stefan Metzmacher2009-01-201-5/+6
| | | | | | This makes debugging with gdb easier. metze
* tevent: use for() loops instead of while() loopsStefan Metzmacher2009-01-121-12/+9
| | | | metze
* tevent: Fix build breakTim Prouty2009-01-111-1/+1
|
* Fix tevent_common_context_destructor to remove all events instead of just ↵Bo Yang2009-01-111-4/+10
| | | | | | | the first one Signed-off-by: Bo Yang <boyang@novell.com> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij2009-01-081-1/+6
| | | | since this will not be shipped with talloc/tdb/tevent/etc.
* s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty2009-01-071-1/+1
|
* tevent: don't try to dereference fde->event_ctx when the event context ↵Stefan Metzmacher2009-01-071-0/+3
| | | | | | doesn't exists anymore metze
* Add dependency to talloc in tevent pc file.Jelmer Vernooij2009-01-061-0/+1
|
* Ensure libreplace is included into the tevent python bindingsAndrew Bartlett2009-01-061-1/+1
| | | | | | Without this, the samba4.tevent.python test fails Andrew Bartlett
* py: Properly increase the reference counter of Py_None.Jelmer Vernooij2009-01-061-1/+1
|
* tevent: add some debugging for timer events, that mostly matches samba3Stefan Metzmacher2009-01-051-0/+12
| | | | metze
* tevent: add tevent_context destructor that unlinks the events from the contextStefan Metzmacher2009-01-052-0/+33
| | | | metze
* tevent: don't crash if te->event_ctx is NULLStefan Metzmacher2009-01-051-3/+3
| | | | metze
* tevent: keep a linked list of fd_eventsStefan Metzmacher2009-01-056-142/+116
| | | | metze
* tevent: keep a linked list of signal eventsStefan Metzmacher2009-01-056-21/+57
| | | | metze
* tevent: make tevent_debug() a noop if ev is NULLStefan Metzmacher2009-01-051-0/+3
| | | | metze
* Attempt to fix the build on netbsd5Volker Lendecke2009-01-051-0/+1
|
* tevent: fix tevent_add_timer() and tevent_add_aio() macrosStefan Metzmacher2009-01-051-2/+2
| | | | metze
* tevent: move samba4 stuff from libtevent.m4 to samba.m4Stefan Metzmacher2009-01-044-66/+32
| | | | metze
* tevent: completely initialize tevent_fd structsStefan Metzmacher2009-01-044-0/+6
| | | | | | | This fixes crash bugs... I forgot to commit and squash this to commit e45ed828d042acca09cb1ed5b6dd7a24eb5e7ffd metze
* tevent: raise version to 0.9.2 after AUTOCLOSE changesStefan Metzmacher2009-01-031-1/+1
| | | | metze
* tevent: remove TEVENT_FD_AUTOCLOSE featureStefan Metzmacher2009-01-035-14/+0
| | | | | | | TEVENT_FD_AUTOCLOSE adds a dependency to SOCKET_WRAPPER, which is bad. Callers should use tevent_fd_set_close_fn() now. metze
* tevent: remove dependency to SOCKET_WRAPPER via "system/network.h"Stefan Metzmacher2009-01-034-4/+0
| | | | metze
* tevent: add tevent_fd_set_auto_close()Stefan Metzmacher2009-01-033-1/+17
| | | | | | | | tevent_fd_set_auto_close() is a simple wrapper arround tevent_fd_set_close_fn() with a callback that uses plain close(2). metze
* tevent: add tevent_fd_set_close_fn()Stefan Metzmacher2009-01-038-5/+48
| | | | | | | Let callers specify a close function as an alternative to TEVENT_FD_AUTOCLOSE. metze
* tevent: move some common tevent_fd related functions into tevent_fd.cStefan Metzmacher2009-01-038-59/+47
| | | | metze
* tevent: specify argument names for the event handlersStefan Metzmacher2009-01-031-12/+18
| | | | metze
* tevent: fix standalone make testStefan Metzmacher2009-01-031-5/+6
| | | | metze
* tevent: raise version to 0.9.1Stefan Metzmacher2009-01-031-1/+1
| | | | | | | | This 0.9.1 isn't compatible with 0.9.0, but it makes only sense to raise the major version after we have reached 1.0.0. metze
* tevent: only provide compat macros if the caller wants themStefan Metzmacher2009-01-021-5/+0
| | | | metze
* tevent: change pytevent to tevent_*Stefan Metzmacher2009-01-022-23/+24
| | | | metze
* tevent: use TEVENT_FD_* instead of EVENT_FD_*Stefan Metzmacher2009-01-024-43/+43
| | | | metze
* tevent: rename ev_debug_ops => tevent_debug_opsStefan Metzmacher2009-01-027-42/+69
| | | | | | And related changes, but we keep compat macros metze
* tevent: rename events => tevent in tevent.pcStefan Metzmacher2009-01-021-1/+1
| | | | metze
* tevent: pass down handler_name and location to the backend layerStefan Metzmacher2009-01-028-102/+154
| | | | metze
* tevent: make tevent_add_*() macros arround _tevent_add_*()Stefan Metzmacher2009-01-022-42/+77
| | | | | | | This passes some additional debug information into the events system to make it easier to find bugs. metze
* tevent: use HAVE_EPOLL instead of HAVE_EVENTS_EPOLLStefan Metzmacher2009-01-024-8/+6
| | | | metze
* tevent: rename event_register_backend() => tevent_register_backend()Stefan Metzmacher2009-01-026-23/+22
| | | | | | And fix the callers and there init functions. metze
* tevent: rename event_context_init* => tevent_context_init*()Stefan Metzmacher2009-01-021-25/+26
| | | | metze
* tevent: rename event_[s|g]et_fd_flags => tevent_fd_[s|g]et_flagsStefan Metzmacher2009-01-021-2/+2
| | | | metze
* tevent: rename event_loop_* => tevent_loop_*Stefan Metzmacher2009-01-021-4/+4
| | | | metze
* tevent: rename event_set_default_backend() => tevent_set_default_backend()Stefan Metzmacher2009-01-021-5/+6
| | | | metze
* tevent: use libreplace headers instead of system headersStefan Metzmacher2009-01-024-9/+6
| | | | metze
* s4:tevent: move event_context_find() to tevent_s4.cStefan Metzmacher2009-01-021-18/+0
| | | | metze
* lib/tevent: fix standalone make distclean realdistcleanStefan Metzmacher2008-12-301-2/+2
| | | | | | Bug report by Brad Hards <bradh@frogmouth.net>. metze
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-2913-150/+147
| | | | | | | | | | | | | | | | | | | | 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
* lib/tevent: rename event_* => tevent_* in the header fileStefan Metzmacher2008-12-299-117/+198
| | | | | | We have compat macros to keep the callers happy. metze
* lib/tevent: libtevent will change a lot until it's version 1.0.0Stefan Metzmacher2008-12-241-1/+1
| | | | metze
* Fix more compiler warnings.Jelmer Vernooij2008-12-231-0/+1
|
* Fix more compiler warnings in various places.Jelmer Vernooij2008-12-231-1/+1
|