diff options
author | David Disseldorp <ddiss@samba.org> | 2013-05-16 11:55:04 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-05-28 18:12:26 +0200 |
commit | caf83bcb76f52b0628f6d59e95396d16b5e3c66e (patch) | |
tree | 99db971ae533f1b2bc57c97448e288eae25c7e36 /libds | |
parent | 57634fd87d7176a1f92281ad1b3e9a565b54cfc7 (diff) | |
download | samba-caf83bcb76f52b0628f6d59e95396d16b5e3c66e.tar.gz samba-caf83bcb76f52b0628f6d59e95396d16b5e3c66e.tar.bz2 samba-caf83bcb76f52b0628f6d59e95396d16b5e3c66e.zip |
libsmbconf: add smbconf_create_set_share
This call creates a new share definition, using the parameters provided
with a smbconf_service structure.
Such an interface allows for simple cloning of services with:
smbconf_get_share(conf_ctx, mem_ctx, base_sharename, &base_service_def);
base_service_def->name = clone_sharename;
smbconf_create_set_share(conf_ctx, base_service_def);
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Signed-off-by: David Disseldorp <ddiss@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'libds')
0 files changed, 0 insertions, 0 deletions