summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-02-12 16:24:26 +0100
committerStefan Metzmacher <metze@samba.org>2014-04-17 14:56:06 +0200
commita9c1d5bd636c5d87a0e165361038671cead58550 (patch)
tree0b575b50340c7d9d08ec7669f80ed6d8c98a2ea8
parent5de011be3f0ebb527678d681573f4def8335f6d4 (diff)
downloadsamba-a9c1d5bd636c5d87a0e165361038671cead58550.tar.gz
samba-a9c1d5bd636c5d87a0e165361038671cead58550.tar.xz
samba-a9c1d5bd636c5d87a0e165361038671cead58550.zip
replace: Add socket_wrapper_enabled().
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--lib/replace/cwrap.c5
-rw-r--r--lib/replace/replace.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/replace/cwrap.c b/lib/replace/cwrap.c
index 19658748b9..adc5c1e2a3 100644
--- a/lib/replace/cwrap.c
+++ b/lib/replace/cwrap.c
@@ -35,6 +35,11 @@ bool nss_wrapper_hosts_enabled(void)
return false;
}
+bool socket_wrapper_enabled(void)
+{
+ return false;
+}
+
bool uid_wrapper_enabled(void)
{
return false;
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index 754ce864b9..f940898e4b 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -901,6 +901,7 @@ void rep_setproctitle(const char *fmt, ...) PRINTF_ATTRIBUTE(1, 2);
bool nss_wrapper_enabled(void);
bool nss_wrapper_hosts_enabled(void);
+bool socket_wrapper_enabled(void);
bool uid_wrapper_enabled(void);
#endif /* _LIBREPLACE_REPLACE_H */