summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/param/share.h16
-rw-r--r--source4/param/wscript_build1
2 files changed, 15 insertions, 2 deletions
diff --git a/source4/param/share.h b/source4/param/share.h
index 755d19e337..ab20c8a244 100644
--- a/source4/param/share.h
+++ b/source4/param/share.h
@@ -67,7 +67,21 @@ struct share_ops {
struct loadparm_context;
-#include "param/share_proto.h"
+const char *share_string_option(struct share_config *scfg, const char *opt_name, const char *defval);
+int share_int_option(struct share_config *scfg, const char *opt_name, int defval);
+bool share_bool_option(struct share_config *scfg, const char *opt_name, bool defval);
+const char **share_string_list_option(TALLOC_CTX *mem_ctx, struct share_config *scfg, const char *opt_name);
+NTSTATUS share_list_all(TALLOC_CTX *mem_ctx, struct share_context *sctx, int *count, const char ***names);
+NTSTATUS share_get_config(TALLOC_CTX *mem_ctx, struct share_context *sctx, const char *name, struct share_config **scfg);
+NTSTATUS share_create(struct share_context *sctx, const char *name, struct share_info *info, int count);
+NTSTATUS share_set(struct share_context *sctx, const char *name, struct share_info *info, int count);
+NTSTATUS share_remove(struct share_context *sctx, const char *name);
+NTSTATUS share_register(const struct share_ops *ops);
+NTSTATUS share_get_context_by_name(TALLOC_CTX *mem_ctx, const char *backend_name,
+ struct tevent_context *event_ctx,
+ struct loadparm_context *lp_ctx,
+ struct share_context **ctx);
+NTSTATUS share_init(void);
/* list of shares options */
diff --git a/source4/param/wscript_build b/source4/param/wscript_build
index 1308829801..f3729d0550 100644
--- a/source4/param/wscript_build
+++ b/source4/param/wscript_build
@@ -18,7 +18,6 @@ bld.SAMBA_PYTHON('PROVISION',
bld.SAMBA_SUBSYSTEM('share',
source='share.c',
- autoproto='share_proto.h',
public_headers='share.h',
deps='LIBSAMBA-UTIL'
)