summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-06-29 09:52:46 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-29 03:26:21 +0200
commite63d5d2cd56cda2a01aace7c93dcae18dc80df5c (patch)
tree178db02095f9239592ae183daf4e8463e7868dde /source3/include
parent4f64ba6ce1b775a72cfc906dfbdd5567e2e3e6d6 (diff)
downloadsamba-e63d5d2cd56cda2a01aace7c93dcae18dc80df5c.tar.gz
samba-e63d5d2cd56cda2a01aace7c93dcae18dc80df5c.tar.bz2
samba-e63d5d2cd56cda2a01aace7c93dcae18dc80df5c.zip
s3-param use lp_parm_ptr() rather than parm.ptr directly
This will help with a change from .ptr to .offset Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 29 03:26:21 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h3
-rw-r--r--source3/include/smb.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 90dbafc96c..20b5c0e2a7 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1577,7 +1577,8 @@ const char *lp_ldap_machine_suffix(void);
const char *lp_ldap_user_suffix(void);
const char *lp_ldap_group_suffix(void);
const char *lp_ldap_idmap_suffix(void);
-void *lp_local_ptr_by_snum(int snum, void *ptr);
+void *lp_parm_ptr(struct loadparm_service *service, struct parm_struct *parm);
+void *lp_local_ptr_by_snum(int snum, struct parm_struct *parm);
bool lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue);
bool lp_set_cmdline(const char *pszParmName, const char *pszParmValue);
bool lp_set_option(const char *option);
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 589dfd78c3..f46a58ef11 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -725,6 +725,8 @@ struct enum_list {
const char *name;
};
+struct loadparm_service;
+
struct parm_struct {
const char *label;
parm_type type;