summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-09-13 20:40:19 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-09-13 20:42:01 +0200
commitf1b21bee16258a85ab9a12a6a56a1cedda0955e1 (patch)
tree6b7a3c43c34e8f062b2ed21cacace56057470c6b /source4
parent95a0b6830f00c8949b2d8eee73db38d238275262 (diff)
downloadsamba-f1b21bee16258a85ab9a12a6a56a1cedda0955e1.tar.gz
samba-f1b21bee16258a85ab9a12a6a56a1cedda0955e1.tar.bz2
samba-f1b21bee16258a85ab9a12a6a56a1cedda0955e1.zip
param: Only include param_proto.h for Samba builds, provide those
prototypes necessary for external users (OpenChange) manually.
Diffstat (limited to 'source4')
-rw-r--r--source4/param/param.h6
-rw-r--r--source4/param/wscript_build2
2 files changed, 7 insertions, 1 deletions
diff --git a/source4/param/param.h b/source4/param/param.h
index 7441493d0a..93c759451b 100644
--- a/source4/param/param.h
+++ b/source4/param/param.h
@@ -69,7 +69,13 @@ struct smbcli_options;
struct smbcli_session_options;
struct gensec_settings;
+#ifdef CONFIG_H_IS_FROM_SAMBA
#include "param/param_proto.h"
+#endif
+
+const char **lpcfg_interfaces(struct loadparm_context *);
+const char *lpcfg_realm(struct loadparm_context *);
+const char *lpcfg_netbios_name(struct loadparm_context *);
void reload_charcnv(struct loadparm_context *lp_ctx);
diff --git a/source4/param/wscript_build b/source4/param/wscript_build
index 0f0f1d0c04..749aab36e2 100644
--- a/source4/param/wscript_build
+++ b/source4/param/wscript_build
@@ -7,7 +7,7 @@ bld.SAMBA_LIBRARY('LIBSAMBA-HOSTCONFIG',
deps='DYNCONFIG CHARSET',
public_deps='LIBSAMBA-UTIL',
public_headers='param.h',
- autoproto='param_proto.h'
+ autoproto='param_proto.h',
)