summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-03-17build: fix detection of netinet/ip.h on FreeBSDTimur1-0/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17build: format the header check for netinet/ip.h more nicelyTimur1-6/+8
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17tevent: change version to 0.9.5 after the ABI has changedStefan Metzmacher1-1/+1
metze
2009-03-17tevent: store the location where a request was finishedStefan Metzmacher3-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
2009-03-17tevent: use an immediate event as trigger for tevent_queueStefan Metzmacher2-42/+60
metze
2009-03-17tevent: use an immediate event fot tevent_req_post()Stefan Metzmacher2-19/+13
Now tevent_req_post() never fails metze
2009-03-17tevent: use TALLOC_FREE() in tevent_req.cStefan Metzmacher1-9/+5
metze
2009-03-17tevent: add support for immediate eventsStefan Metzmacher8-34/+295
They're like directly triggered timed events, but you can preallocated them and scheduling them will not fail. metze
2009-03-17tevent: add tevent_common_loop_wait() helper function and use itStefan Metzmacher5-55/+33
tevent_loop_wait should do the same for all backends. It should loop as long as we have pending events. metze
2009-03-17tevent: check signal events first in event_loop_onceStefan Metzmacher3-0/+15
We also check for signal events directly before and after the select/epoll calls. metze
2009-03-17tevent: let tevent_loop_once() just run one fd eventStefan Metzmacher3-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
2009-03-17Remove some transitional code in writev_sendVolker Lendecke1-17/+1
2009-03-16Remove some unused code from async_req.[ch]Volker Lendecke2-51/+0
2009-03-16talloc: change version to 1.3.0Stefan Metzmacher1-1/+1
metze
2009-03-16talloc: add useful talloc_array_length() macroStefan Metzmacher1-0/+1
metze
2009-03-16talloc: add TALLOC_ZERO()Stefan Metzmacher1-0/+2
metze
2009-03-16lib/replace: use AC_TRY_LINK() to verify that getifaddrs() and freeifaddrs() ↵Stefan Metzmacher1-1/+1
are available metze
2009-03-15Merge branch 'tdr' of /home/jelmer/samba4Jelmer Vernooij6-0/+660
2009-03-15Remove -L/usr/lib from a couple more make variables.Jelmer Vernooij1-0/+1
2009-03-15tdr: Remove dependency on lp_* so it can be used in both Samba 3 andJelmer Vernooij1-10/+9
Samba 4.
2009-03-14Move tdr to top-level.Jelmer Vernooij5-0/+660
2009-03-13tevent: change version to 0.9.4 as the ABI has changedStefan Metzmacher1-1/+1
metze
2009-03-12tevent: Fix might be unitialized warningTim Prouty1-1/+1
2009-03-12tevent: add tevent_loop_until()Stefan Metzmacher2-0/+68
This is only a hack for samba4 and should not be used in new code. metze
2009-03-12tevent: add tevent_loop_set_nesting_hook()Stefan Metzmacher3-1/+50
This is an ugly hack to let the s4 server work arround some bugs related to nested events and uid changing. metze
2009-03-12tevent: don't allow nested tevent_loop_once() anymoreStefan Metzmacher3-1/+53
Incompatible caller should use tevent_loop_allow_nesting() function. metze
2009-03-12tevent: pass __location__ to tevent_loop_once/wait()Stefan Metzmacher6-17/+22
metze
2009-03-12tevent: add tevent_set_abort_fn()Stefan Metzmacher2-0/+21
metze
2009-03-12tevent: add tevent_signal_support()Stefan Metzmacher2-0/+10
Not every tevent backend supports signal events. metze
2009-03-12talloc: add talloc_set_abort_fn()Stefan Metzmacher2-4/+33
metze
2009-03-11async_sock: fix truncating of the temporary iovec in writev_send/recv()Stefan Metzmacher1-1/+1
Volker: please check! metze
2009-03-11lib/replace: make sure we include <sys/uio.h> before socket_wrapper.hStefan Metzmacher2-0/+5
This should fix the build on some hosts. metze
2009-03-10tevent: add tevent_req_callback_data_void() macroStefan Metzmacher1-0/+2
Callers can use it instead of tevent_req_callback_data() if they use a non talloc private pointer. metze
2009-03-10tevent: add tevent_req_received() functionStefan Metzmacher3-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-10socket_wrapper: wrap readv() and writev()Stefan Metzmacher2-7/+137
metze
2009-03-09Fix prototype mismatch.Jelmer Vernooij1-1/+1
2009-03-09Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij3-17/+93
2009-03-09socket_wrapper: try to make ipv6 support more portableStefan Metzmacher1-9/+22
The internal structure of in6_addr isn't always the same. metze
2009-03-08socket_wrapper: downgrade ipv6 sockets to ipv4 is in connect() if the dest ↵Stefan Metzmacher1-5/+13
is ipv4 We only do this if the socket isn't explicit bound yet. metze
2009-03-08socket_wrapper: correctly handle connected dgram socketsStefan Metzmacher1-0/+26
metze
2009-03-08socket_wrapper: make it possible to bind to '::'Stefan Metzmacher1-1/+3
metze
2009-03-08Add "queue" to writev_sendVolker Lendecke2-3/+30
Unless higher levels queue themselves somehow, writev will *always* be queued. So the queueing should be done at the right level.
2009-03-08Revert accidental reintroduction of void ** bug.Jelmer Vernooij2-5/+7
2009-03-05Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-develAndrew Bartlett2-28/+4
2009-03-05Update talloc version so we don't fail on system talloc 1.2.0Andrew Bartlett1-1/+1
The problem is that talloc in the Samba tree now includes talloc_get_type_abort(), which is not present on Fedora 10 or ubuntu's talloc 1.2.0. Andrew Bartlett
2009-03-04s3:smbconf: move smbconf_share_exists checks into backendMichael Adam1-24/+0
Michael
2009-03-04socket wrapper: Fix 'might be used uninitialized' warningTim Prouty1-4/+4
2009-03-04socket_wrapper: add multiple interface support for ipv6Stefan Metzmacher1-10/+39
We use FD00::5357:5FXX in the same way we use 127.0.0.XX metze
2009-03-04socket_wrapper: add ipv6 pcap supportStefan Metzmacher1-3/+87
metze
2009-03-04socket_wrapper: pass down sockaddr instead of sockaddr_in to prepare pcap ↵Stefan Metzmacher1-78/+100
support for ipv6 metze