mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
3892086589
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-on: https://gerrit.samba.org/102 Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
22 lines
894 B
C
22 lines
894 B
C
#ifndef __S3_PARAM_H__
|
|
#define __S3_PARAM_H__
|
|
|
|
struct loadparm_s3_helpers
|
|
{
|
|
const char * (*get_parametric)(struct loadparm_service *, const char *type, const char *option);
|
|
struct parm_struct * (*get_parm_struct)(const char *param_name);
|
|
void * (*get_parm_ptr)(struct loadparm_service *service, struct parm_struct *parm);
|
|
struct loadparm_service * (*get_service)(const char *service_name);
|
|
struct loadparm_service * (*get_default_loadparm_service)(void);
|
|
struct loadparm_service * (*get_servicebynum)(int snum);
|
|
int (*get_numservices)(void);
|
|
bool (*load)(const char *filename);
|
|
bool (*set_cmdline)(const char *pszParmName, const char *pszParmValue);
|
|
void (*dump)(FILE *f, bool show_defaults, int maxtoprint);
|
|
char * (*lp_string)(TALLOC_CTX *ctx, const char *in);
|
|
bool (*lp_string_set)(char **dest, const char *src);
|
|
struct loadparm_global *globals;
|
|
};
|
|
|
|
#endif /* __S3_PARAM_H__ */
|