1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/lib/tevent
Simo Sorce 67d41d0fc7 Make struct tevent_req opaque
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-02 11:02:09 -05:00
..
autogen.sh Stop using SWIG for ldb Python bindings. 2008-12-20 19:54:13 +01:00
build_macros.m4 Fix standalone configure scripts 2009-01-30 01:02:23 -05:00
config.guess Add missing files for standalone build. 2008-12-20 18:06:31 +01:00
config.sub Add missing files for standalone build. 2008-12-20 18:06:31 +01:00
configure.ac tevent: raise version to 0.9.3 2009-02-13 18:55:21 +01:00
install-sh Add missing files for standalone build. 2008-12-20 18:06:31 +01:00
libtalloc.m4 s4:lib/events: move to toplevel directory as lib/tevent/ 2008-12-17 13:31:28 +01:00
libtevent.m4 tevent: add tevent_queue infrastructure 2009-02-26 14:22:12 +01:00
Makefile.in lib/tevent: fix standalone make distclean realdistclean 2008-12-30 08:58:52 +01:00
pkg.m4 s4:lib/events: move to toplevel directory as lib/tevent/ 2008-12-17 13:31:28 +01:00
pytevent.c Avoid using tevent_util.h, which won't be available if we use the system 2009-03-01 16:38:07 +01:00
python.mk lib/tevent: the python bindings don't use swig anymore 2009-02-02 15:16:08 +01:00
rules.mk Fix standalone compilation of events library. 2008-12-20 19:23:30 +01:00
samba.m4 tevent: move samba4 stuff from libtevent.m4 to samba.m4 2009-01-04 18:57:18 +01:00
tests.py lib/tevent: change to LGPLv3+ 2009-02-16 08:53:25 +01:00
testsuite.c lib/tevent: change to LGPLv3+ 2009-02-16 08:53:25 +01:00
tevent_debug.c lib/tevent: change to LGPLv3+ 2009-02-16 08:53:25 +01:00
tevent_epoll.c tevent: Rename ev_timeval* functions to tevent_timeval, export them. 2009-02-17 09:19:31 +01:00
tevent_fd.c lib/tevent: change to LGPLv3+ 2009-02-16 08:53:25 +01:00
tevent_internal.h Make struct tevent_req opaque 2009-03-02 11:02:09 -05:00
tevent_liboop.c lib/tevent: change to LGPLv3+ 2009-02-16 08:53:25 +01:00
tevent_queue.c tevent: add tevent_queue infrastructure 2009-02-26 14:22:12 +01:00
tevent_req.c Make struct tevent_req opaque 2009-03-02 11:02:09 -05:00
tevent_select.c tevent: Rename ev_timeval* functions to tevent_timeval, export them. 2009-02-17 09:19:31 +01:00
tevent_signal.c lib/tevent: change to LGPLv3+ 2009-02-16 08:53:25 +01:00
tevent_standard.c tevent: Rename ev_timeval* functions to tevent_timeval, export them. 2009-02-17 09:19:31 +01:00
tevent_timed.c tevent: Rename ev_timeval* functions to tevent_timeval, export them. 2009-02-17 09:19:31 +01:00
tevent_util.c lib/tevent: change to LGPLv3+ 2009-02-16 08:53:25 +01:00
tevent_util.h Stop using SWIG for ldb Python bindings. 2008-12-20 19:54:13 +01:00
tevent_wakeup.c tevent: add tevent_wakeup_send/recv() 2009-02-18 10:31:36 +01:00
tevent.c lib/tevent: change to LGPLv3+ 2009-02-16 08:53:25 +01:00
tevent.h Make struct tevent_req opaque 2009-03-02 11:02:09 -05:00
tevent.mk Do not install private headers 2009-01-30 20:12:50 -05:00
tevent.pc.in Add dependency to talloc in tevent pc file. 2009-01-06 15:53:50 +01:00