From 0e4a4c8b19c9962fc8cbdb407ccd7e9a3e7bc536 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 12 Jul 2011 16:03:11 +1000 Subject: s4-param finish services hooks for s4->s3 loadparm context --- source3/include/proto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/include/proto.h') 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); -- cgit