mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
72642f1260
Change-Id: I9f512be671e5cd738c43fd97c9c3e0b4ee7a2736 Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
25 lines
954 B
C
25 lines
954 B
C
#ifndef __S3_PARAM_H__
|
|
#define __S3_PARAM_H__
|
|
|
|
struct loadparm_s3_helpers
|
|
{
|
|
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_servicebynum)(int snum);
|
|
int (*getservicebyname)(const char *, struct loadparm_service *);
|
|
int (*get_numservices)(void);
|
|
bool (*load)(const char *filename);
|
|
bool (*store_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_include)(struct loadparm_context*, struct loadparm_service *,
|
|
const char *, char **);
|
|
void (*init_ldap_debugging)(void);
|
|
bool (*set_netbios_aliases)(const char **);
|
|
bool (*do_section)(const char *pszSectionName, void *userdata);
|
|
struct loadparm_global *globals;
|
|
unsigned int *flags;
|
|
};
|
|
|
|
#endif /* __S3_PARAM_H__ */
|