Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-11-17 | tevent: Fix docstring, tevent_req_is_in_progress does not destroy private data | Kai Blin | 1 | -2/+0 | |
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed Nov 17 07:23:51 UTC 2010 on sn-devel-104 | |||||
2010-05-10 | tevent: Added a description for tevent queue. | Andreas Schneider | 1 | -0/+9 | |
2010-05-05 | tevent: Document the tevent_queue functions. | Andreas Schneider | 1 | -0/+68 | |
2010-05-05 | tevent: Document the tevent helper functions. | Andreas Schneider | 1 | -0/+67 | |
2010-05-05 | tevent: Document missing callback typedefs. | Andreas Schneider | 1 | -2/+36 | |
2010-05-05 | tevent: Document the missing tevent async request callback functions. | Andreas Schneider | 1 | -1/+144 | |
2010-05-05 | tevent: Create a typedef for the debug function callback. | Andreas Schneider | 1 | -6/+20 | |
2010-05-05 | tevent: Added more documentation. | Stephen Gallagher | 1 | -11/+247 | |
2010-05-05 | tevent: Remove erroneous comments about TEVENT_FD_AUTOCLOSE | Stephen Gallagher | 1 | -3/+0 | |
There is no such flag. | |||||
2010-05-05 | tevent: Added basic doxygen documentation. | Andreas Schneider | 1 | -15/+375 | |
2010-03-26 | tevent: added tevent_re_initialise() | Andrew Tridgell | 1 | -0/+2 | |
This allows us to re-initialise a tevent context without destroying the pointer. That means that if someone keeps a long term ptr to the event context across a fork it will still work. This also brings the memory handling in single and standard process models much closer together, which means less bugs that we don't find with make test. | |||||
2010-02-22 | Spelling fixes for tevent. | Brad Hards | 1 | -1/+1 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2009-08-17 | tevent: add tevent_req_cancel() infrastructure | Stefan Metzmacher | 1 | -0/+8 | |
This offers a generic way for callers to cancel an async request. metze | |||||
2009-07-03 | Expose functions need by backend writers | Simo Sorce | 1 | -0/+64 | |
move publicly needed structures and functions in the public header. Stop installing internal headers. Update the signature and exports files with the new exposed function. | |||||
2009-06-04 | Add tevent_req_notify_callback | Volker Lendecke | 1 | -0/+4 | |
This is necessary for requests that have multiple results. Examples would be SMBEcho and ldap_search. | |||||
2009-03-17 | tevent: store the location where a request was finished | Stefan Metzmacher | 1 | -7/+16 | |
This is very useful to find bugs. You can use 'p *req' in gdb to show where tevent_req_done(), tevent_req_error() or tevent_req_nomem() was called. metze | |||||
2009-03-17 | tevent: use an immediate event as trigger for tevent_queue | Stefan Metzmacher | 1 | -2/+1 | |
metze | |||||
2009-03-17 | tevent: add support for immediate events | Stefan Metzmacher | 1 | -0/+19 | |
They're like directly triggered timed events, but you can preallocated them and scheduling them will not fail. metze | |||||
2009-03-12 | tevent: add tevent_loop_until() | Stefan Metzmacher | 1 | -0/+6 | |
This is only a hack for samba4 and should not be used in new code. metze | |||||
2009-03-12 | tevent: add tevent_loop_set_nesting_hook() | Stefan Metzmacher | 1 | -0/+9 | |
This is an ugly hack to let the s4 server work arround some bugs related to nested events and uid changing. metze | |||||
2009-03-12 | tevent: don't allow nested tevent_loop_once() anymore | Stefan Metzmacher | 1 | -0/+11 | |
Incompatible caller should use tevent_loop_allow_nesting() function. metze | |||||
2009-03-12 | tevent: pass __location__ to tevent_loop_once/wait() | Stefan Metzmacher | 1 | -2/+7 | |
metze | |||||
2009-03-12 | tevent: add tevent_set_abort_fn() | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2009-03-12 | tevent: add tevent_signal_support() | Stefan Metzmacher | 1 | -0/+2 | |
Not every tevent backend supports signal events. metze | |||||
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 | 1 | -1/+7 | |
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 | 1 | -89/+13 | |
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-02-26 | tevent: add tevent_queue infrastructure | Stefan Metzmacher | 1 | -0/+22 | |
metze | |||||
2009-02-25 | tevent: add private_print function feature to tevent_req | Stefan Metzmacher | 1 | -0/+11 | |
metze | |||||
2009-02-25 | tevent: add tevent_req_poll() function | Stefan Metzmacher | 1 | -0/+3 | |
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-18 | tevent: add tevent_wakeup_send/recv() | Stefan Metzmacher | 1 | -0/+4 | |
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 | 1 | -1/+1 | |
This makes more clear what the function does. metze | |||||
2009-02-17 | tevent: Rename ev_timeval* functions to tevent_timeval, export them. | Kai Blin | 1 | -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-16 | lib/tevent: change to LGPLv3+ | Stefan Metzmacher | 1 | -12/+16 | |
metze | |||||
2009-02-14 | Add missing prototype for "tevent_req_print" | Volker Lendecke | 1 | -0/+2 | |
2009-02-13 | lib/tevent: add tevent_req infrastructure | Stefan Metzmacher | 1 | -0/+163 | |
This is almost a copy of the async_req code, which will be removed later. metze | |||||
2009-02-13 | lib/tevent: remove broken tevent_aio support | Stefan Metzmacher | 1 | -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-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-03 | tevent: remove TEVENT_FD_AUTOCLOSE feature | Stefan Metzmacher | 1 | -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-03 | tevent: add tevent_fd_set_auto_close() | Stefan Metzmacher | 1 | -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-03 | tevent: add tevent_fd_set_close_fn() | Stefan Metzmacher | 1 | -0/+6 | |
Let callers specify a close function as an alternative to TEVENT_FD_AUTOCLOSE. metze | |||||
2009-01-03 | tevent: specify argument names for the event handlers | Stefan Metzmacher | 1 | -12/+18 | |
metze | |||||
2009-01-02 | tevent: only provide compat macros if the caller wants them | Stefan Metzmacher | 1 | -5/+0 | |
metze | |||||
2009-01-02 | tevent: rename ev_debug_ops => tevent_debug_ops | Stefan Metzmacher | 1 | -0/+28 | |
And related changes, but we keep compat macros metze | |||||
2009-01-02 | tevent: make tevent_add_*() macros arround _tevent_add_*() | Stefan Metzmacher | 1 | -22/+44 | |
This passes some additional debug information into the events system to make it easier to find bugs. metze | |||||
2008-12-29 | s4:lib/tevent: rename structs | Stefan Metzmacher | 1 | -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-29 | lib/tevent: rename event_* => tevent_* in the header file | Stefan Metzmacher | 1 | -49/+127 | |
We have compat macros to keep the callers happy. metze |