summaryrefslogtreecommitdiffstats
path: root/lib/tsocket/tsocket.h
Commit message (Collapse)AuthorAgeFilesLines
* tsocket: Add some constVolker Lendecke2013-06-141-2/+2
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* lib/tsocket: disable the syscall optimization for recvfrom/readv by defaultStefan Metzmacher2012-11-051-0/+42
| | | | | | | | | We only do the optimization on recvfrom/readv if the caller asked for it. This is needed because in most cases we preferr to flush send buffers before receiving incoming requests. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* tsocket: let tstream_inet_tcp_connect_recv() optionally return the used ↵Stefan Metzmacher2010-10-231-4/+9
| | | | | | | | | | | | local address tstream_inet_tcp_connect_send() usually only gets no local port number and it may use the wildcard address '0.0.0.0' or '::'. tstream_inet_tcp_connect_recv() provides the used local address and port which are used on the wire. metze
* Revert "lib/tsocket: sa_socklen is a macro on irix, so better use sasocklen"Stefan Metzmacher2010-08-281-8/+8
| | | | | | | | This reverts commit 3d4fb698660381e650d7caeb5b7cff12847c0fb8. This was wrong... The problem was in the caller, sa_len is a macro on irix metze
* lib/tsocket: sa_socklen is a macro on irix, so better use sasocklenStefan Metzmacher2010-08-271-8/+8
| | | | metze
* s3: Fix a typoVolker Lendecke2010-08-151-1/+1
|
* tsocket: Added the warning again to tsocket_address_bsd_sockaddr.Andreas Schneider2010-05-051-0/+3
|
* tsocket: Fixed the documentation of tsocket_address_bsd_sockaddr.Andreas Schneider2010-05-031-6/+13
|
* lib/tsocket: add tsocket_address_is_unix() functionStefan Metzmacher2010-04-271-0/+12
| | | | metze
* lib/tsocket: add tsocket_address_is_inet() functionStefan Metzmacher2010-04-271-0/+17
| | | | metze
* tsocket: Improve the tsocket_address_bsd_sockaddr documentation.Andreas Schneider2010-02-261-1/+3
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Spelling fixes for tsocket API documentation.Brad Hards2010-02-221-14/+14
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
* tsocket: Fix the description of tstream_writev_queue_send/recvKai Blin2010-01-281-6/+6
|
* tsocket: Fix description for tstream_readv_pdu_queue_send/recvKai Blin2010-01-281-7/+6
|
* tsocket: Added complete doxygen documentation.Andreas Schneider2010-01-111-11/+834
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* tsocket: Fixed typo in LGPL header.Andreas Schneider2009-12-151-1/+1
|
* tsocket: add tsocket_address_bsd_sockaddr() and ↵Stefan Metzmacher2009-12-151-0/+15
| | | | | | tsocket_address_bsd_from_sockaddr() metze
* tsocket: remove prototype of non-existing tsocket_address_inet_set_broadcast()Stefan Metzmacher2009-11-031-2/+0
| | | | metze
* tsocket: add tstream_readv_pdu_queue_send/recv()Stefan Metzmacher2009-05-011-0/+8
| | | | metze
* tsocket: add tstream_writev_queue_send/recv()Stefan Metzmacher2009-05-011-0/+8
| | | | metze
* tsocket: add tstream_readv_pdu_send/recv()Stefan Metzmacher2009-05-011-1/+13
| | | | metze
* tsocket: add tstream implementation for bsd sockets (inet and unix)Stefan Metzmacher2009-05-011-0/+43
| | | | metze
* tsocket: add tstream_context infrastructure similar to tdgram_contextStefan Metzmacher2009-05-011-0/+28
| | | | metze
* tsocket: rename tdgram_unix_dgram_socket() => tdgram_unix_socket()Stefan Metzmacher2009-05-011-7/+7
| | | | metze
* tsocket: remove tsocket_context related stuffStefan Metzmacher2009-05-011-112/+3
| | | | | | It will be replaced by tdgram_context and tstream_context. metze
* tsocket: remove DGRAM support from tsocket_contextStefan Metzmacher2009-04-021-32/+0
| | | | metze
* tsocket: add tdgram_sendto_queue_send/recv()Stefan Metzmacher2009-04-021-0/+13
| | | | metze
* tsocket: split out a smaller tdgram_context abstractionStefan Metzmacher2009-04-021-0/+43
| | | | | | | The idea is to have a tdgram and a tstream abstraction which only provide tevent_req based io functions. metze
* lib/tsocket: add tsocket_readv_send/recv()Stefan Metzmacher2009-03-191-0/+11
| | | | metze
* lib/tsocket: add tsocket_writev_queue_send/recv()Stefan Metzmacher2009-03-191-0/+7
| | | | metze
* lib/tsocket: add tsocket_writev_send/recv()Stefan Metzmacher2009-03-191-0/+6
| | | | metze
* lib/tsocket: add tsocket_connect_send/recv()Stefan Metzmacher2009-03-191-0/+5
| | | | metze
* lib/tsocket: add tsocket_sendto_queue_send/recv()Stefan Metzmacher2009-03-191-0/+8
| | | | metze
* lib/tsocket: add tsocket_sendto_send/recv()Stefan Metzmacher2009-03-191-0/+7
| | | | metze
* lib/tsocket: add tsocket_recvfrom_send/recv()Stefan Metzmacher2009-03-191-1/+12
| | | | metze
* lib/tsocket: add an implementation for bsd style sockets.Stefan Metzmacher2009-03-191-0/+41
| | | | metze
* lib/tsocket: add generic socket abstraction layerStefan Metzmacher2009-03-191-0/+124
This will replace source4/lib/socket/. metze