[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-unstable-1279-g75acdb5
Michael Adam
obnox at samba.org
Fri Jan 11 18:03:16 GMT 2008
The branch, v3-2-test has been updated
via 75acdb54a454ffda9d422fcafb573c8f5581d2e8 (commit)
from 83aed537c16f632599484f60c5ccebc3ab713801 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 75acdb54a454ffda9d422fcafb573c8f5581d2e8
Author: Michael Adam <obnox at samba.org>
Date: Fri Jan 11 19:02:26 2008 +0100
Remove code accidentially submittet with last commit 83aed537c16f63.
This is ist still in preparation and will follow soon. Soory!
Michael
-----------------------------------------------------------------------
Summary of changes:
source/libnet/libnet_conf.c | 42 ------------------------------------------
1 files changed, 0 insertions(+), 42 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/libnet/libnet_conf.c b/source/libnet/libnet_conf.c
index dcb80d9..0bdf480 100644
--- a/source/libnet/libnet_conf.c
+++ b/source/libnet/libnet_conf.c
@@ -421,48 +421,6 @@ done:
**********************************************************************/
/**
- * Open the configuration.
- *
- * Upon success, this creates and returns the conf context
- * that should be passed around in subsequent calls to the other
- * libnet_conf functions.
- */
-WERROR libnet_conf_open(TALLOC_CTX *mem_ctx, struct libnet_conf_ctx **conf_ctx)
-{
- WERROR werr = WERR_OK;
- struct libnet_conf_ctx *ctx;
-
- if (conf_ctx == NULL) {
- return WERR_INVALID_PARAM;
- }
-
- ctx = talloc_zero(mem_ctx, struct libnet_conf_ctx);
- if (ctx == NULL) {
- return WERR_NOMEM;
- }
-
- talloc_set_destructor(ctx, libnet_conf_destrox_ctx);
-
- ctx->token = registry_create_admin_token(tmp_ctx);
- if (ctx->token == NULL) {
- DEBUG(1, ("Error creating admin token\n"));
- /* what is the appropriate error code here? */
- werr = WERR_CAN_NOT_COMPLETE;
- goto done;
- }
-
-
-}
-
-/**
- * Close the configuration.
- */
-WERROR libnet_conf_close(struct libnet_conf_ctx *ctx)
-{
- regdb_close();
-}
-
-/**
* Drop the whole configuration (restarting empty).
*/
WERROR libnet_conf_drop(void)
--
Samba Shared Repository
More information about the samba-cvs
mailing list