summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-03-21ReformattingVolker Lendecke1-5/+10
2009-03-21Add some initial hook to the front pageVolker Lendecke1-0/+3
2009-03-21Add a default "undocumented" moduleVolker Lendecke1-0/+9
2009-03-21Delete talloc_guide.txtVolker Lendecke1-694/+0
2009-03-21Convert the contents of talloc_guide.txt to doxygen-style talloc.h commentsVolker Lendecke1-1/+1023
talloc_guide.txt was partly outdated, and as going through talloc.h now shows it was incomplete.
2009-03-21Add a basic Doxyfile for tallocVolker Lendecke1-0/+8
2009-03-21socket_wrapper: fix connect() for dgram sockets, if the destination isn't ↵Stefan Metzmacher1-3/+7
there yet metze
2009-03-20Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysecJelmer Vernooij30-292/+4029
2009-03-19lib/util: build tevent_unix.o and tevent_ntstatus.o as UTIL_TEVENT subsystemStefan Metzmacher1-1/+8
metze
2009-03-19lib/tsocket: add tsocket_guide.txt section with specific details about bsd ↵Stefan Metzmacher1-0/+79
style sockets metze
2009-03-19lib/tsocket: add a fast path to tsocket_writev_send/recv()Stefan Metzmacher1-0/+10
This is similar to the tsocket_sendto_send/recv() fast path. metze
2009-03-19lib/tsocket: add a fast path to tsocket_sendto_send/recv()Stefan Metzmacher1-0/+10
By first trying to send data without waiting for the socket to become writeable we gain about 10-20% performance in the LDAP-BENCH-CLDAP test. metze
2009-03-19lib/tsocket: add tsocket_guide.txt section about the async _send/recv() ↵Stefan Metzmacher1-0/+142
helper functions metze
2009-03-19lib/tsocket: add tsocket_readv_send/recv()Stefan Metzmacher3-1/+235
metze
2009-03-19lib/tsocket: add tsocket_writev_queue_send/recv()Stefan Metzmacher2-0/+126
metze
2009-03-19lib/tsocket: add tsocket_writev_send/recv()Stefan Metzmacher3-1/+195
metze
2009-03-19lib/tsocket: add tsocket_connect_send/recv()Stefan Metzmacher3-1/+129
metze
2009-03-19lib/tsocket: add tsocket_sendto_queue_send/recv()Stefan Metzmacher2-0/+133
metze
2009-03-19lib/tsocket: add tsocket_sendto_send/recv()Stefan Metzmacher3-1/+145
metze
2009-03-19lib/tsocket: add tsocket_recvfrom_send/recv()Stefan Metzmacher3-2/+178
metze
2009-03-19lib/tsocket: add an implementation for bsd style sockets.Stefan Metzmacher3-1/+1169
metze
2009-03-19lib/tsocket: add a tsocket_guide.txt with a description of the designStefan Metzmacher1-0/+282
metze
2009-03-19lib/tsocket: add some useful helper functionsStefan Metzmacher3-1/+183
metze
2009-03-19lib/tsocket: add generic socket abstraction layerStefan Metzmacher4-0/+518
This will replace source4/lib/socket/. metze
2009-03-19tevent: fix the nesting logicStefan Metzmacher1-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
2009-03-19fixed a logic bug in the tevent nesting codeAndrew Tridgell1-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.
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-15Strip /usr/include from include flags, so we don't end up includingJelmer Vernooij1-0/+2
the system tevent if it's too old.
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