From dfb206f47e8b9bcf81493e7cb6aed7859fb54042 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 18 May 2010 22:10:13 +1000 Subject: s3:param Put 'server_role' functions in another file. Andrew Bartlett Signed-off-by: Stefan Metzmacher --- source3/include/proto.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 7af8035126..240c95f3a0 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4281,7 +4281,6 @@ struct share_params *next_share(struct share_iterator *list); struct share_params *next_printer(struct share_iterator *list); struct share_params *snum2params_static(int snum); const char *volume_label(int snum); -int lp_server_role(void); bool lp_domain_master(void); bool lp_domain_master_true_or_auto(void); bool lp_preferred_master(void); @@ -4311,6 +4310,11 @@ char* lp_perfcount_module(void); void lp_set_passdb_backend(const char *backend); void widelinks_warning(int snum); +/* The following definitions come from param/loadparm_server_role.c */ + +int lp_server_role(void); +void set_server_role(void); + /* The following definitions come from param/util.c */ uint32 get_int_param( const char* param ); -- cgit