summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * lib/tsocket: add a tsocket_guide.txt with a description of the designStefan Metzmacher2009-03-191-0/+282
| | | | | | | | metze
| * lib/tsocket: add some useful helper functionsStefan Metzmacher2009-03-193-1/+183
| | | | | | | | metze
| * lib/tsocket: add generic socket abstraction layerStefan Metzmacher2009-03-194-0/+518
| | | | | | | | | | | | This will replace source4/lib/socket/. metze
| * tevent: fix the nesting logicStefan Metzmacher2009-03-191-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | Only tevent_loop_once and tevent_loop_until() should care about the nesting level. This fixes the samba3 printing code where we use tevent_loop_wait() and don't allow nested events. We still call the nesting hook for all levels, we need to decide if we really want this... metze
| * fixed a logic bug in the tevent nesting codeAndrew Tridgell2009-03-191-1/+13
| | | | | | | | | | | | | | | | | | | | The event nesting code never triggered as nesting.level was never greater than 1. The main event loop needs to increase the nesting level by 1. I also added a paranoia check to the nesting setup call. The API as currently written cannot support multiple nesting hooks, so we need to abort if multiple hooks are tried.
| * build: fix detection of netinet/ip.h on FreeBSDTimur2009-03-171-0/+1
| | | | | | | | Signed-off-by: Michael Adam <obnox@samba.org>
| * build: format the header check for netinet/ip.h more nicelyTimur2009-03-171-6/+8
| | | | | | | | Signed-off-by: Michael Adam <obnox@samba.org>
| * tevent: change version to 0.9.5 after the ABI has changedStefan Metzmacher2009-03-171-1/+1
| | | | | | | | metze
| * tevent: store the location where a request was finishedStefan Metzmacher2009-03-173-19/+48
| | | | | | | | | | | | | | | | | | 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
| * tevent: use an immediate event as trigger for tevent_queueStefan Metzmacher2009-03-172-42/+60
| | | | | | | | metze
| * tevent: use an immediate event fot tevent_req_post()Stefan Metzmacher2009-03-172-19/+13
| | | | | | | | | | | | Now tevent_req_post() never fails metze
| * tevent: use TALLOC_FREE() in tevent_req.cStefan Metzmacher2009-03-171-9/+5
| | | | | | | | metze
| * tevent: add support for immediate eventsStefan Metzmacher2009-03-178-34/+295
| | | | | | | | | | | | | | | | They're like directly triggered timed events, but you can preallocated them and scheduling them will not fail. metze
| * tevent: add tevent_common_loop_wait() helper function and use itStefan Metzmacher2009-03-175-55/+33
| | | | | | | | | | | | | | tevent_loop_wait should do the same for all backends. It should loop as long as we have pending events. metze
| * tevent: check signal events first in event_loop_onceStefan Metzmacher2009-03-173-0/+15
| | | | | | | | | | | | | | We also check for signal events directly before and after the select/epoll calls. metze
| * tevent: let tevent_loop_once() just run one fd eventStefan Metzmacher2009-03-173-45/+7
| | | | | | | | | | | | | | | | | | | | This makes the logic much simpler for the callers, and matches the samba3 behavior. If needed we can add performance tunning for tevent_loop_wait() later. metze
| * Remove some transitional code in writev_sendVolker Lendecke2009-03-171-17/+1
| |
| * Remove some unused code from async_req.[ch]Volker Lendecke2009-03-162-51/+0
| |
| * talloc: change version to 1.3.0Stefan Metzmacher2009-03-161-1/+1
| | | | | | | | metze
| * talloc: add useful talloc_array_length() macroStefan Metzmacher2009-03-161-0/+1
| | | | | | | | metze
| * talloc: add TALLOC_ZERO()Stefan Metzmacher2009-03-161-0/+2
| | | | | | | | metze
| * lib/replace: use AC_TRY_LINK() to verify that getifaddrs() and freeifaddrs() ↵Stefan Metzmacher2009-03-161-1/+1
| | | | | | | | | | | | are available metze
* | Strip /usr/include from include flags, so we don't end up includingJelmer Vernooij2009-03-151-0/+2
|/ | | | the system tevent if it's too old.
* Merge branch 'tdr' of /home/jelmer/samba4Jelmer Vernooij2009-03-156-0/+660
|\
| * Remove -L/usr/lib from a couple more make variables.Jelmer Vernooij2009-03-151-0/+1
| |
| * tdr: Remove dependency on lp_* so it can be used in both Samba 3 andJelmer Vernooij2009-03-151-10/+9
| | | | | | | | Samba 4.
| * Move tdr to top-level.Jelmer Vernooij2009-03-145-0/+660
| |
* | tevent: change version to 0.9.4 as the ABI has changedStefan Metzmacher2009-03-131-1/+1
| | | | | | | | metze
* | tevent: Fix might be unitialized warningTim Prouty2009-03-121-1/+1
| |
* | tevent: add tevent_loop_until()Stefan Metzmacher2009-03-122-0/+68
| | | | | | | | | | | | | | This is only a hack for samba4 and should not be used in new code. metze
* | tevent: add tevent_loop_set_nesting_hook()Stefan Metzmacher2009-03-123-1/+50
| | | | | | | | | | | | | | This is an ugly hack to let the s4 server work arround some bugs related to nested events and uid changing. metze
* | tevent: don't allow nested tevent_loop_once() anymoreStefan Metzmacher2009-03-123-1/+53
| | | | | | | | | | | | | | Incompatible caller should use tevent_loop_allow_nesting() function. metze
* | tevent: pass __location__ to tevent_loop_once/wait()Stefan Metzmacher2009-03-126-17/+22
| | | | | | | | metze
* | tevent: add tevent_set_abort_fn()Stefan Metzmacher2009-03-122-0/+21
| | | | | | | | metze
* | tevent: add tevent_signal_support()Stefan Metzmacher2009-03-122-0/+10
| | | | | | | | | | | | Not every tevent backend supports signal events. metze
* | talloc: add talloc_set_abort_fn()Stefan Metzmacher2009-03-122-4/+33
| | | | | | | | metze
* | async_sock: fix truncating of the temporary iovec in writev_send/recv()Stefan Metzmacher2009-03-111-1/+1
| | | | | | | | | | | | Volker: please check! metze
* | lib/replace: make sure we include <sys/uio.h> before socket_wrapper.hStefan Metzmacher2009-03-112-0/+5
|/ | | | | | This should fix the build on some hosts. metze
* tevent: add tevent_req_callback_data_void() macroStefan Metzmacher2009-03-101-0/+2
| | | | | | | Callers can use it instead of tevent_req_callback_data() if they use a non talloc private pointer. metze
* tevent: add tevent_req_received() functionStefan Metzmacher2009-03-103-2/+29
| | | | | | | This function can be called as last action of a _recv() function, it destroys the data attached to the tevent_req. metze
* socket_wrapper: wrap readv() and writev()Stefan Metzmacher2009-03-102-7/+137
| | | | metze
* Fix prototype mismatch.Jelmer Vernooij2009-03-091-1/+1
|
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2009-03-093-17/+93
|\
| * socket_wrapper: try to make ipv6 support more portableStefan Metzmacher2009-03-091-9/+22
| | | | | | | | | | | | The internal structure of in6_addr isn't always the same. metze
| * socket_wrapper: downgrade ipv6 sockets to ipv4 is in connect() if the dest ↵Stefan Metzmacher2009-03-081-5/+13
| | | | | | | | | | | | | | | | is ipv4 We only do this if the socket isn't explicit bound yet. metze
| * socket_wrapper: correctly handle connected dgram socketsStefan Metzmacher2009-03-081-0/+26
| | | | | | | | metze
| * socket_wrapper: make it possible to bind to '::'Stefan Metzmacher2009-03-081-1/+3
| | | | | | | | metze
| * Add "queue" to writev_sendVolker Lendecke2009-03-082-3/+30
| | | | | | | | | | Unless higher levels queue themselves somehow, writev will *always* be queued. So the queueing should be done at the right level.
* | Revert accidental reintroduction of void ** bug.Jelmer Vernooij2009-03-082-5/+7
|/
* Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-develAndrew Bartlett2009-03-052-28/+4
|\