summaryrefslogtreecommitdiff
path: root/source3/lib/socket_wrapper/socket_wrapper.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-06-10 08:53:34 +0200
committerStefan Metzmacher <metze@samba.org>2008-06-10 11:36:38 +0200
commitbd793fb235cd18da8e9d779c767cac81fa3f758e (patch)
tree084190f420be5321633164b54b7d2b7593c2dee6 /source3/lib/socket_wrapper/socket_wrapper.h
parent1410d8e7992112a4c07c6ef8e80b49be492a50c7 (diff)
downloadsamba-bd793fb235cd18da8e9d779c767cac81fa3f758e.tar.gz
samba-bd793fb235cd18da8e9d779c767cac81fa3f758e.tar.bz2
samba-bd793fb235cd18da8e9d779c767cac81fa3f758e.zip
r21671: Add initial simple tests for socket wrapper
(partly cherry picked from commit 872e2ad541478597191ca9e31872d5c8e2bbb832) metze (This used to be commit 8003f00a28bb7237ec1b1f4eb9687c542a86c2b2)
Diffstat (limited to 'source3/lib/socket_wrapper/socket_wrapper.h')
-rw-r--r--source3/lib/socket_wrapper/socket_wrapper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/socket_wrapper/socket_wrapper.h b/source3/lib/socket_wrapper/socket_wrapper.h
index 1d8dac1763..fd1e48610b 100644
--- a/source3/lib/socket_wrapper/socket_wrapper.h
+++ b/source3/lib/socket_wrapper/socket_wrapper.h
@@ -36,6 +36,7 @@
#ifndef __SOCKET_WRAPPER_H__
#define __SOCKET_WRAPPER_H__
+const char *socket_wrapper_dir(void);
int swrap_socket(int family, int type, int protocol);
int swrap_accept(int s, struct sockaddr *addr, socklen_t *addrlen);
int swrap_connect(int s, const struct sockaddr *serv_addr, socklen_t addrlen);