summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
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
2009-03-04socket_wrapper: prepare pcap support for ipv6 trafficStefan Metzmacher1-148/+170
metze
2009-03-04socket_wrapper: don't crash if we get EAGAIN from real_recv()Stefan Metzmacher1-1/+1
This fixes a crash in the ldaps tests with socket wrapper pcap support. metze
2009-03-03lib/util: remove samba specific talloc_get_type_abort()Stefan Metzmacher2-22/+0
metze
2009-03-03talloc: add talloc_get_type_abort()Stefan Metzmacher2-0/+26
metze
2009-03-02Make struct tevent_req opaqueSimo Sorce4-120/+157
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-02Import ISO-8859-1, 646 from Samba 3 iconv.Jelmer Vernooij1-0/+29
2009-03-01Use common header file for character set handling in Samba 3 and Samba 4.Jelmer Vernooij3-38/+122
2009-03-01s4: Use same function signature for convert_* as s3.Jelmer Vernooij4-46/+77
2009-03-01Merge branch 'master' of git://git.samba.org/samba into convenienceJelmer Vernooij3-2/+117
2009-03-01Merge branch 'master' of git://git.samba.org/samba into teventfixJelmer Vernooij23-576/+1022
Conflicts: lib/tevent/pytevent.c
2009-03-01Avoid using tevent_util.h, which won't be available if we use the systemJelmer Vernooij1-2/+2
tevent.
2009-03-01Move next_token_talloc to util.c, as util_str.c is only compiled inside samba 4.Jelmer Vernooij2-100/+100
2009-03-01Move next_token_talloc() to top-level.Jelmer Vernooij2-0/+115
2009-03-01Sync smb_iconv_t type, convert_string return type with Samba 3 equivalents.Jelmer Vernooij2-2/+3
2009-03-01Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij4-23/+31
consistency with Samba 3.
2009-02-28Simplify async_connect_send slightlyVolker Lendecke1-9/+6
2009-02-26lib/torture: fix depency to map_nt_error_from_unix()Stefan Metzmacher1-1/+3
This should fix the build on Mac OS 10 metze
2009-02-26tevent: add tevent_queue infrastructureStefan Metzmacher3-1/+221
metze
2009-02-26Add tevent_ntstatusVolker Lendecke2-0/+83
2009-02-26s3:libsmbconf: add transactions to the libsmbconf apiMichael Adam4-0/+39
This is useful for wrapping higher level aggregate operations in transactions. The text backend implementations just return WERR_OK, the registry backend implementatoins use the regdb_transaction_start|commit|cancel routines just added. Michael
2009-02-26Speed up "net conf list"Volker Lendecke1-4/+0
With 1000 shares in the registry, this changed the time of "net conf list" from 1.1 seconds to .6 seconds. Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-26libreplace: make it possible to disable socket_wrapper via ↵Stefan Metzmacher1-2/+4
-DSOCKET_WRAPPER_DISABLE=1 metze
2009-02-25lib/tdb: if we know pwrite and pread are thread/fork safe tdb_reopen_all() ↵Stefan Metzmacher1-0/+5
should be a noop The reason for tdb_reopen_all() is that the seek pointer on fds are shared between parent and child. metze
2009-02-25tevent: add private_print function feature to tevent_reqStefan Metzmacher2-3/+35
metze
2009-02-25tevent: add tevent_req_poll() functionStefan Metzmacher2-0/+18
metze
2009-02-25Remove async_req based async_sendVolker Lendecke2-240/+0
2009-02-25Remove async_req based async_recvVolker Lendecke2-71/+0
2009-02-25Attempt to fix the OpenChange build -- sorry for the breakVolker Lendecke1-1/+1
2009-02-24Add more conventional async_recvVolker Lendecke2-0/+72
2009-02-24Add more conventional async_sendVolker Lendecke2-0/+73
2009-02-24Remove unused param_connect structVolker Lendecke1-11/+0
2009-02-24Remove unused recvallVolker Lendecke2-115/+0
2009-02-24Add async read_packetVolker Lendecke2-0/+128
2009-02-24Fix async writevVolker Lendecke1-1/+1