summaryrefslogtreecommitdiff
path: root/lib/tevent
AgeCommit message (Collapse)AuthorFilesLines
2009-01-30lib/tevent: include replace.h in pytevent.cStefan Metzmacher1-0/+1
This fixes the build on Tru64. metze
2009-01-30Fix standalone configure scriptsSimo Sorce1-0/+1
2009-01-27tevent: change SA_INFO_QUEUE_COUNT from 10 to 100Stefan Metzmacher1-1/+1
The samba3 aio code requires lp_max_mux() with a default of 50 and the samba3 linux oplock code requires 100. May we could make the size dynamic later. metze
2009-01-20tevent: rename signal handler functions to start with tevent_common_Stefan Metzmacher1-5/+6
This makes debugging with gdb easier. metze
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-08Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij1-1/+6
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-07s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty1-1/+1
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-06Add dependency to talloc in tevent pc file.Jelmer Vernooij1-0/+1
2009-01-06Ensure libreplace is included into the tevent python bindingsAndrew Bartlett1-1/+1
Without this, the samba4.tevent.python test fails Andrew Bartlett
2009-01-06py: Properly increase the reference counter of Py_None.Jelmer Vernooij1-1/+1
2009-01-05tevent: add some debugging for timer events, that mostly matches samba3Stefan Metzmacher1-0/+12
metze
2009-01-05tevent: add tevent_context destructor that unlinks the events from the contextStefan Metzmacher2-0/+33
metze
2009-01-05tevent: don't crash if te->event_ctx is NULLStefan Metzmacher1-3/+3
metze
2009-01-05tevent: keep a linked list of fd_eventsStefan Metzmacher6-142/+116
metze
2009-01-05tevent: keep a linked list of signal eventsStefan Metzmacher6-21/+57
metze
2009-01-05tevent: make tevent_debug() a noop if ev is NULLStefan Metzmacher1-0/+3
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-04tevent: move samba4 stuff from libtevent.m4 to samba.m4Stefan Metzmacher4-66/+32
metze
2009-01-04tevent: completely initialize tevent_fd structsStefan Metzmacher4-0/+6
This fixes crash bugs... I forgot to commit and squash this to commit e45ed828d042acca09cb1ed5b6dd7a24eb5e7ffd metze
2009-01-03tevent: raise version to 0.9.2 after AUTOCLOSE changesStefan Metzmacher1-1/+1
metze
2009-01-03tevent: remove TEVENT_FD_AUTOCLOSE featureStefan Metzmacher5-14/+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: remove dependency to SOCKET_WRAPPER via "system/network.h"Stefan Metzmacher4-4/+0
metze
2009-01-03tevent: add tevent_fd_set_auto_close()Stefan Metzmacher3-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
2009-01-03tevent: add tevent_fd_set_close_fn()Stefan Metzmacher8-5/+48
Let callers specify a close function as an alternative to TEVENT_FD_AUTOCLOSE. metze
2009-01-03tevent: move some common tevent_fd related functions into tevent_fd.cStefan Metzmacher8-59/+47
metze
2009-01-03tevent: specify argument names for the event handlersStefan Metzmacher1-12/+18
metze
2009-01-03tevent: fix standalone make testStefan Metzmacher1-5/+6
metze
2009-01-03tevent: raise version to 0.9.1Stefan Metzmacher1-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
2009-01-02tevent: only provide compat macros if the caller wants themStefan Metzmacher1-5/+0
metze
2009-01-02tevent: change pytevent to tevent_*Stefan Metzmacher2-23/+24
metze
2009-01-02tevent: use TEVENT_FD_* instead of EVENT_FD_*Stefan Metzmacher4-43/+43
metze
2009-01-02tevent: rename ev_debug_ops => tevent_debug_opsStefan Metzmacher7-42/+69
And related changes, but we keep compat macros metze
2009-01-02tevent: rename events => tevent in tevent.pcStefan Metzmacher1-1/+1
metze
2009-01-02tevent: pass down handler_name and location to the backend layerStefan Metzmacher8-102/+154
metze
2009-01-02tevent: make tevent_add_*() macros arround _tevent_add_*()Stefan Metzmacher2-42/+77
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 Metzmacher4-8/+6
metze
2009-01-02tevent: rename event_register_backend() => tevent_register_backend()Stefan Metzmacher6-23/+22
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-02tevent: use libreplace headers instead of system headersStefan Metzmacher4-9/+6
metze
2009-01-02s4:tevent: move event_context_find() to tevent_s4.cStefan Metzmacher1-18/+0
metze
2008-12-30lib/tevent: fix standalone make distclean realdistcleanStefan Metzmacher1-2/+2
Bug report by Brad Hards <bradh@frogmouth.net>. metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher13-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
2008-12-29lib/tevent: rename event_* => tevent_* in the header fileStefan Metzmacher9-117/+198
We have compat macros to keep the callers happy. metze