Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-03-10 | tevent: add tevent_req_callback_data_void() macro | Stefan Metzmacher | 1 | -0/+2 | |
Callers can use it instead of tevent_req_callback_data() if they use a non talloc private pointer. metze | |||||
2009-03-10 | tevent: add tevent_req_received() function | Stefan Metzmacher | 3 | -2/+29 | |
This function can be called as last action of a _recv() function, it destroys the data attached to the tevent_req. metze | |||||
2009-03-02 | Make struct tevent_req opaque | Simo Sorce | 3 | -100/+137 | |
Move struct tevent_req in tevent_internal, and ad getters and setters for private data and the callback function. This patch also renames 'private_state' into 'data'. What is held in this pointer is in fact data and not a state like enum tevent_req_state. Calling it 'state' is confusing. The functions addedd are: tevent_req_set_callback() - sets req->async.fn and req->async.private_data tevent_req_set_print_fn() - sets req->private_print tevent_req_callback_data() - gets req->async.private_data tevent_req_data() - gets rea->data This way it is much simpler to keep API/ABI compatibility in the future. | |||||
2009-03-01 | Merge branch 'master' of git://git.samba.org/samba into teventfix | Jelmer Vernooij | 4 | -4/+275 | |
Conflicts: lib/tevent/pytevent.c | |||||
2009-03-01 | Avoid using tevent_util.h, which won't be available if we use the system | Jelmer Vernooij | 1 | -2/+2 | |
tevent. | |||||
2009-02-26 | tevent: add tevent_queue infrastructure | Stefan Metzmacher | 3 | -1/+221 | |
metze | |||||
2009-02-25 | tevent: add private_print function feature to tevent_req | Stefan Metzmacher | 2 | -3/+35 | |
metze | |||||
2009-02-25 | tevent: add tevent_req_poll() function | Stefan Metzmacher | 2 | -0/+18 | |
metze | |||||
2009-02-25 | Attempt to fix the OpenChange build -- sorry for the break | Volker Lendecke | 1 | -1/+1 | |
2009-02-24 | tevent.h requires bool and uint[16|32|64]_t | Volker Lendecke | 1 | -0/+1 | |
2009-02-21 | pytevent: Fix include path - tevent_util is not installed. | Jelmer Vernooij | 1 | -1/+1 | |
2009-02-18 | tevent: add tevent_wakeup_send/recv() | Stefan Metzmacher | 3 | -1/+76 | |
This can be used as tevent_req based timer event. metze | |||||
2009-02-18 | tevent: rename tevent_req_set_timeout() => tevent_req_set_endtime() | Stefan Metzmacher | 2 | -2/+2 | |
This makes more clear what the function does. metze | |||||
2009-02-17 | tevent: Rename ev_timeval* functions to tevent_timeval, export them. | Kai Blin | 7 | -23/+61 | |
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-16 | tevent: fix compiler warning in pytevent.c | Stefan Metzmacher | 1 | -1/+3 | |
metze | |||||
2009-02-16 | lib/tevent: change to LGPLv3+ | Stefan Metzmacher | 16 | -188/+253 | |
metze | |||||
2009-02-14 | Add missing prototype for "tevent_req_print" | Volker Lendecke | 1 | -0/+2 | |
2009-02-14 | Fix a warning and a bug: pipe(2) can fail | Volker Lendecke | 1 | -1/+4 | |
2009-02-14 | Add two variable assignments to shut up gcc | Volker Lendecke | 1 | -2/+4 | |
2009-02-13 | tevent: raise version to 0.9.3 | Stefan Metzmacher | 1 | -1/+1 | |
- aio events are removed - tevent_req infrastructure was added metze | |||||
2009-02-13 | lib/tevent: add tevent_req infrastructure | Stefan Metzmacher | 4 | -202/+303 | |
This is almost a copy of the async_req code, which will be removed later. metze | |||||
2009-02-13 | lib/tevent: add tevent_req.c as copy of lib/async_req/async_req.c | Stefan Metzmacher | 1 | -0/+338 | |
metze | |||||
2009-02-13 | lib/tevent: expose ev_timeval_zero() for internal usage | Stefan Metzmacher | 2 | -1/+2 | |
metze | |||||
2009-02-13 | lib/tevent: remove broken tevent_aio support | Stefan Metzmacher | 5 | -610/+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-02-02 | lib/tevent: the python bindings don't use swig anymore | Stefan Metzmacher | 1 | -7/+2 | |
metze | |||||
2009-02-02 | lib/tevent: s/private/private_data | Stefan Metzmacher | 1 | -6/+6 | |
metze | |||||
2009-01-30 | Do not install private headers | Simo Sorce | 1 | -2/+0 | |
2009-01-30 | lib/tevent: include replace.h in pytevent.c | Stefan Metzmacher | 1 | -0/+1 | |
This fixes the build on Tru64. metze | |||||
2009-01-30 | Fix standalone configure scripts | Simo Sorce | 1 | -0/+1 | |
2009-01-27 | tevent: change SA_INFO_QUEUE_COUNT from 10 to 100 | Stefan Metzmacher | 1 | -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-20 | tevent: rename signal handler functions to start with tevent_common_ | Stefan Metzmacher | 1 | -5/+6 | |
This makes debugging with gdb easier. metze | |||||
2009-01-12 | tevent: use for() loops instead of while() loops | Stefan Metzmacher | 1 | -12/+9 | |
metze | |||||
2009-01-11 | tevent: Fix build break | Tim Prouty | 1 | -1/+1 | |
2009-01-11 | Fix tevent_common_context_destructor to remove all events instead of just ↵ | Bo Yang | 1 | -4/+10 | |
the first one Signed-off-by: Bo Yang <boyang@novell.com> Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-01-08 | Avoid using a utility header for Python replacements included in Samba, | Jelmer Vernooij | 1 | -1/+6 | |
since this will not be shipped with talloc/tdb/tevent/etc. | |||||
2009-01-07 | s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4 | Tim Prouty | 1 | -1/+1 | |
2009-01-07 | tevent: don't try to dereference fde->event_ctx when the event context ↵ | Stefan Metzmacher | 1 | -0/+3 | |
doesn't exists anymore metze | |||||
2009-01-06 | Add dependency to talloc in tevent pc file. | Jelmer Vernooij | 1 | -0/+1 | |
2009-01-06 | Ensure libreplace is included into the tevent python bindings | Andrew Bartlett | 1 | -1/+1 | |
Without this, the samba4.tevent.python test fails Andrew Bartlett | |||||
2009-01-06 | py: Properly increase the reference counter of Py_None. | Jelmer Vernooij | 1 | -1/+1 | |
2009-01-05 | tevent: add some debugging for timer events, that mostly matches samba3 | Stefan Metzmacher | 1 | -0/+12 | |
metze | |||||
2009-01-05 | tevent: add tevent_context destructor that unlinks the events from the context | Stefan Metzmacher | 2 | -0/+33 | |
metze | |||||
2009-01-05 | tevent: don't crash if te->event_ctx is NULL | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2009-01-05 | tevent: keep a linked list of fd_events | Stefan Metzmacher | 6 | -142/+116 | |
metze | |||||
2009-01-05 | tevent: keep a linked list of signal events | Stefan Metzmacher | 6 | -21/+57 | |
metze | |||||
2009-01-05 | tevent: make tevent_debug() a noop if ev is NULL | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2009-01-05 | Attempt to fix the build on netbsd5 | Volker Lendecke | 1 | -0/+1 | |
2009-01-05 | tevent: fix tevent_add_timer() and tevent_add_aio() macros | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2009-01-04 | tevent: move samba4 stuff from libtevent.m4 to samba.m4 | Stefan Metzmacher | 4 | -66/+32 | |
metze | |||||
2009-01-04 | tevent: completely initialize tevent_fd structs | Stefan Metzmacher | 4 | -0/+6 | |
This fixes crash bugs... I forgot to commit and squash this to commit e45ed828d042acca09cb1ed5b6dd7a24eb5e7ffd metze |