1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00
Commit Graph

59 Commits

Author SHA1 Message Date
David Disseldorp
caf83bcb76 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>
2013-05-28 18:12:26 +02:00
Michael Adam
57634fd87d libsmbconf: fix documentation of transaction calls.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-28 18:12:26 +02:00
Michael Adam
0048dd95cd smbconf: remove python shebang from wscript_build
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri May 11 22:05:32 CEST 2012 on sn-devel-104
2012-05-11 22:05:32 +02:00
Andreas Schneider
419e03ab18 libsmbconf: Define a doxygen group for libsmbconf.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:26 +02:00
Andreas Schneider
60109a0e6d libsmbconf: Document smbconf_transaction_cancel().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:25 +02:00
Andreas Schneider
9bbf4bd0f3 libsmbconf: Document smbconf_transaction_commit().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:25 +02:00
Andreas Schneider
6babdaf6b7 libsmbconf: Document smbconf_transaction_start().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:25 +02:00
Andreas Schneider
d9407a5a55 libsmbconf: Document smbconf_delete_global_includes().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:25 +02:00
Andreas Schneider
3ace1716a0 libsmbconf: Document smbconf_delete_includes().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:25 +02:00
Andreas Schneider
a606d5219e libsmbconf: Document smbconf_set_global_includes().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:25 +02:00
Andreas Schneider
0ab8a8e5ba libsmbconf: Document smbconf_set_includes().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:25 +02:00
Andreas Schneider
a7ac2a87c6 libsmbconf: Document smbconf_get_global_includes().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:25 +02:00
Andreas Schneider
74dc8c351c libsmbconf: Document smbconf_get_includes().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:25 +02:00
Andreas Schneider
b7ba46d1c0 libsmbconf: Document smbconf_delete_global_parameter().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:24 +02:00
Andreas Schneider
d70acdc554 libsmbconf: Document smbconf_delete_parameter().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:24 +02:00
Andreas Schneider
1cb649f57f libsmbconf: Document smbconf_get_global_parameter().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:24 +02:00
Andreas Schneider
8417e3485e libsmbconf: Document smbconf_get_parameter().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:24 +02:00
Andreas Schneider
70c5143ea4 libsmbconf: Document smbconf_set_global_parameter().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:24 +02:00
Andreas Schneider
62f3560e98 libsmbconf: Document smbconf_set_parameter().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:24 +02:00
Andreas Schneider
7e04bd1f85 libsmbconf: Document smbconf_delete_share().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:24 +02:00
Andreas Schneider
474805794e libsmbconf: Document smbconf_get_share().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:24 +02:00
Andreas Schneider
529e064586 libsmbconf: Document smbconf_create_share().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:24 +02:00
Andreas Schneider
44fa842ae9 libsmbconf: Document smbconf_share_exists().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:23 +02:00
Andreas Schneider
211286042d libsmbconf: Document smbconf_get_share_names().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:23 +02:00
Andreas Schneider
87c4096092 libsmbconf: Document smbconf_get_config().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:23 +02:00
Andreas Schneider
938690c771 libsmbconf: Document smbconf_drop().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:23 +02:00
Andreas Schneider
1b0809bd73 libsmbconf: Document smbconf_changed().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:23 +02:00
Andreas Schneider
5cd229ca5e libsmbconf: Document smbconf_shutdown().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:23 +02:00
Andreas Schneider
25e798e641 libsmbconf: Document smbconf_is_writeable().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:23 +02:00
Andreas Schneider
7a57ccd2c5 libsmbconf: Document smbconf_backend_requires_messaging().
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:23 +02:00
Andreas Schneider
4d391d29f8 libsmbconf: Convert smbconf_get_config() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:22 +02:00
Andreas Schneider
e1f0b91c5f libsmbconf: Convert smbconf_transaction_*() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:22 +02:00
Andreas Schneider
72d15f0c03 libsmbconf: Convert smbconf_delete_includes() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:22 +02:00
Andreas Schneider
d911bafea6 libsmbconf: Convert smbconf_set_includes() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:22 +02:00
Andreas Schneider
9f9711490a libsmbconf: Convert smbconf_get_includes() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
e19c4f278b libsmbconf: Convert smbconf_delete_parameter() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
ff5838d97a libsmbconf: Convert smbconf_get_parameter() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
ddc28a683f libsmbconf: Convert smbconf_set_parameter() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
fbd7626656 libsmbconf: Convert smbconf_delete_share() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
7f355e05f9 libsmbconf: Convert smbconf_get_share() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
7af2876e45 libsmbconf: Convert smbconf_create_share() to smbErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:20 +02:00
Andreas Schneider
823cd472b4 libsmbconf: Convert smbconf_get_share_names() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:20 +02:00
Andreas Schneider
720ba8e7e7 libsmbconf: Convert smbconf_drop() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:20 +02:00
Andreas Schneider
9082c7cee8 libsmbconf: Convert smbconf_open() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:20 +02:00
Andreas Schneider
29eea4b09a libsmbconf: Convert smbconf_init() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:20 +02:00
Andreas Schneider
b34e1768b7 libsmbconf: Added a sbcErrorString() function.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:19 +02:00
Andreas Schneider
2a1a6a9e63 libsmbconf: Introduce a sbcErrType.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:19 +02:00
Jelmer Vernooij
3deece5591 s4: Remove the old perl/m4/make/mk-based build system.
The new waf-based build system now has all the same functionality, and
the old build system has been broken for quite some time.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-31 02:01:44 +00:00
Michael Adam
84127dd504 libsmbconf: parse an empty share as empty share, not as NULL.
This fixes a segfault in net conf import:
Importing a text file with an empty share resulted in a segfault.
Now this creates an empty share in registry config, just as it
should.

Thanks to Gregor Beck <gbeck@sernet.de> for reporting.
2010-09-27 12:43:39 +02:00
Günther Deschner
e9f5bdf6b5 smbconf: only include smbconf headers where needed.
Guenther
2010-05-18 10:36:33 +02:00