summaryrefslogtreecommitdiffstats
path: root/lib/param/s3_param.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 17:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 17:47:29 +0000
commit4f5791ebd03eaec1c7da0865a383175b05102712 (patch)
tree8ce7b00f7a76baa386372422adebbe64510812d4 /lib/param/s3_param.h
parentInitial commit. (diff)
downloadsamba-4f5791ebd03eaec1c7da0865a383175b05102712.tar.xz
samba-4f5791ebd03eaec1c7da0865a383175b05102712.zip
Adding upstream version 2:4.17.12+dfsg.upstream/2%4.17.12+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/param/s3_param.h')
-rw-r--r--lib/param/s3_param.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/param/s3_param.h b/lib/param/s3_param.h
new file mode 100644
index 0000000..f9ed7c3
--- /dev/null
+++ b/lib/param/s3_param.h
@@ -0,0 +1,22 @@
+#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);
+ bool (*lp_include)(struct loadparm_context*, struct loadparm_service *,
+ const char *, char **);
+ void (*init_ldap_debugging)(void);
+ bool (*do_section)(const char *pszSectionName, void *userdata);
+ struct loadparm_global *globals;
+ unsigned int *flags;
+};
+
+#endif /* __S3_PARAM_H__ */