summaryrefslogtreecommitdiffstats
path: root/source4/param/share.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-09-17 00:15:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:53 -0500
commitc4d45aac9da6b4fdade4e8ff3434a412af6db8fc (patch)
treea459aa008a660eab0f6bd3db8fa509f1fd603c1e /source4/param/share.c
parent3c76ac114da92cd7404d643ae5a0565e4333d703 (diff)
downloadsamba-c4d45aac9da6b4fdade4e8ff3434a412af6db8fc.tar.gz
samba-c4d45aac9da6b4fdade4e8ff3434a412af6db8fc.tar.xz
samba-c4d45aac9da6b4fdade4e8ff3434a412af6db8fc.zip
r18590: Some more work on the srvsvc pipe
(This used to be commit 2c035787d47c6055c4081021f30d08929f178ca3)
Diffstat (limited to 'source4/param/share.c')
-rw-r--r--source4/param/share.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/source4/param/share.c b/source4/param/share.c
index c27619b11b..7cbaa8a85c 100644
--- a/source4/param/share.c
+++ b/source4/param/share.c
@@ -54,10 +54,18 @@ NTSTATUS share_get_config(TALLOC_CTX *mem_ctx, struct share_context *sctx, const
return sctx->ops->get_config(mem_ctx, sctx, name, scfg);
}
-NTSTATUS share_create(struct share_context *sctx, struct share_info *info)
+NTSTATUS share_create(struct share_context *sctx, const char *name, struct share_info *info, int count)
{
if (sctx->ops->create) {
- return sctx->ops->create(sctx, info);
+ return sctx->ops->create(sctx, name, info, count);
+ }
+ return NT_STATUS_NOT_IMPLEMENTED;
+}
+
+NTSTATUS share_set(struct share_context *sctx, const char *name, struct share_info *info, int count)
+{
+ if (sctx->ops->set) {
+ return sctx->ops->set(sctx, name, info, count);
}
return NT_STATUS_NOT_IMPLEMENTED;
}