summaryrefslogtreecommitdiff
path: root/source4/lib/socket/socket.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-02-10 06:59:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:39 -0500
commitbed7c9ec32b7d4083ba4ed2abbf3b6126bee7a25 (patch)
tree2ade02d10d5e24190eecea9c25a3d159bad35643 /source4/lib/socket/socket.c
parent8fb475f626c61b977d6dcd3b20b3495fd9d0b95d (diff)
downloadsamba-bed7c9ec32b7d4083ba4ed2abbf3b6126bee7a25.tar.gz
samba-bed7c9ec32b7d4083ba4ed2abbf3b6126bee7a25.tar.bz2
samba-bed7c9ec32b7d4083ba4ed2abbf3b6126bee7a25.zip
r5304: removed lib/socket/socket.h from includes.h
(This used to be commit b902ea546d2d1327b23f40ddaeeaa8e7e3662454)
Diffstat (limited to 'source4/lib/socket/socket.c')
-rw-r--r--source4/lib/socket/socket.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/socket/socket.c b/source4/lib/socket/socket.c
index 109a7cadc0..ddc2097f42 100644
--- a/source4/lib/socket/socket.c
+++ b/source4/lib/socket/socket.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "lib/socket/socket.h"
#include "system/filesys.h"
/*
@@ -326,6 +327,10 @@ NTSTATUS socket_dup(struct socket_context *sock)
const struct socket_ops *socket_getops_byname(const char *name, enum socket_type type)
{
+ extern const struct socket_ops *socket_ipv4_ops(enum socket_type );
+ extern const struct socket_ops *socket_ipv6_ops(enum socket_type );
+ extern const struct socket_ops *socket_unixdom_ops(enum socket_type );
+
if (strcmp("ip", name) == 0 ||
strcmp("ipv4", name) == 0) {
return socket_ipv4_ops(type);