summaryrefslogtreecommitdiff
path: root/source4/lib/socket
diff options
context:
space:
mode:
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);
/*