summaryrefslogtreecommitdiff
path: root/source4/lib/socket
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-03-19 00:45:36 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-03-19 03:20:05 +0100
commitbd0eced7d586a1648c9c429b5ac6aeec8256e4c6 (patch)
tree19c9f106948f4b7e6899dd5da07adfa6af9c9145 /source4/lib/socket
parentfc720be5a2a178ea9b85cac9a9f8649158e96121 (diff)
downloadsamba-bd0eced7d586a1648c9c429b5ac6aeec8256e4c6.tar.gz
samba-bd0eced7d586a1648c9c429b5ac6aeec8256e4c6.tar.bz2
samba-bd0eced7d586a1648c9c429b5ac6aeec8256e4c6.zip
source4/lib: Fix prototypes for all functions.
Diffstat (limited to 'source4/lib/socket')
-rw-r--r--source4/lib/socket/socket_ip.c3
-rw-r--r--source4/lib/socket/socket_unix.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/socket/socket_ip.c b/source4/lib/socket/socket_ip.c
index 9a02f0184c..4e66653252 100644
--- a/source4/lib/socket/socket_ip.c
+++ b/source4/lib/socket/socket_ip.c
@@ -27,6 +27,9 @@
#include "system/network.h"
#include "lib/util/util_net.h"
+_PUBLIC_ const struct socket_ops *socket_ipv4_ops(enum socket_type type);
+_PUBLIC_ const struct socket_ops *socket_ipv6_ops(enum socket_type type);
+
static NTSTATUS ipv4_init(struct socket_context *sock)
{
int type;
diff --git a/source4/lib/socket/socket_unix.c b/source4/lib/socket/socket_unix.c
index af7d2bb79f..f1fa0a3a30 100644
--- a/source4/lib/socket/socket_unix.c
+++ b/source4/lib/socket/socket_unix.c
@@ -25,6 +25,7 @@
#include "system/network.h"
#include "system/filesys.h"
+_PUBLIC_ const struct socket_ops *socket_unixdom_ops(enum socket_type type);
/*