diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-09-13 20:40:19 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-09-13 20:42:01 +0200 |
commit | f1b21bee16258a85ab9a12a6a56a1cedda0955e1 (patch) | |
tree | 6b7a3c43c34e8f062b2ed21cacace56057470c6b | |
parent | 95a0b6830f00c8949b2d8eee73db38d238275262 (diff) | |
download | samba-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.
-rw-r--r-- | source4/param/param.h | 6 | ||||
-rw-r--r-- | source4/param/wscript_build | 2 |
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', ) |