param: include set_netbios_aliases in s3 helpers
[Samba.git] / lib / param / s3_param.h
blobf5a2420d62a2b7f494530190cecc2c6fca0169ff
1 #ifndef __S3_PARAM_H__
2 #define __S3_PARAM_H__
4 struct loadparm_s3_helpers
6 const char * (*get_parametric)(struct loadparm_service *, const char *type,
7 const char *option, const char *def);
8 struct parm_struct * (*get_parm_struct)(const char *param_name);
9 void * (*get_parm_ptr)(struct loadparm_service *service, struct parm_struct *parm);
10 struct loadparm_service * (*get_service)(const char *service_name);
11 struct loadparm_service * (*get_default_loadparm_service)(void);
12 struct loadparm_service * (*get_servicebynum)(int snum);
13 int (*getservicebyname)(const char *, struct loadparm_service *);
14 int (*get_numservices)(void);
15 bool (*load)(const char *filename);
16 bool (*set_cmdline)(const char *pszParmName, const char *pszParmValue);
17 void (*dump)(FILE *f, bool show_defaults, int maxtoprint);
18 char * (*lp_string)(TALLOC_CTX *ctx, const char *in);
19 bool (*lp_string_set)(char **dest, const char *src);
20 bool (*lp_include)(struct loadparm_context*, int, const char *, char **);
21 void (*init_printer_values)(TALLOC_CTX *, struct loadparm_service *);
22 void (*init_ldap_debugging)(void);
23 bool (*set_netbios_aliases)(const char **);
24 struct loadparm_global *globals;
27 #endif /* __S3_PARAM_H__ */