summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-12 16:03:11 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-07-14 15:06:45 +1000
commit0e4a4c8b19c9962fc8cbdb407ccd7e9a3e7bc536 (patch)
tree5a0eae5ff1a8dd55d2d12ccace8b6458b1b9c630 /source3/include/proto.h
parent07f14aa3a7431ee1bd2994db84e32afddcaaf8dd (diff)
downloadsamba-0e4a4c8b19c9962fc8cbdb407ccd7e9a3e7bc536.tar.gz
samba-0e4a4c8b19c9962fc8cbdb407ccd7e9a3e7bc536.tar.bz2
samba-0e4a4c8b19c9962fc8cbdb407ccd7e9a3e7bc536.zip
s4-param finish services hooks for s4->s3 loadparm context
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 5d15e4e77a..c3e680d8b6 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1577,6 +1577,8 @@ const char *lp_ldap_idmap_suffix(void);
struct parm_struct;
/* Return a pointer to a service by name. */
struct loadparm_service *lp_service(const char *pszServiceName);
+struct loadparm_service *lp_servicebynum(int snum);
+struct loadparm_service *lp_default_loadparm_service(void);
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);