s4/test: remove torture/libnet/utils.h as we are using proto.h now
authorKamen Mazdrashki <kamenim@samba.org>
Fri, 28 May 2010 02:14:47 +0000 (05:14 +0300)
committerKamen Mazdrashki <kamenim@samba.org>
Fri, 28 May 2010 19:30:09 +0000 (22:30 +0300)
source4/torture/libnet/groupinfo.c
source4/torture/libnet/groupman.c
source4/torture/libnet/userinfo.c
source4/torture/libnet/userman.c
source4/torture/libnet/utils.h [deleted file]

index 01f2f9e692d58ea2a718692d781e3fceeaea3211..772427c323369144b3b7c269bf865cd79ea50dad 100644 (file)
@@ -24,7 +24,7 @@
 #include "libcli/security/security.h"
 #include "librpc/gen_ndr/ndr_samr_c.h"
 #include "param/param.h"
-#include "torture/libnet/utils.h"
+#include "torture/libnet/proto.h"
 
 #define TEST_GROUPNAME  "libnetgroupinfotest"
 
index f44793ac822c692802447e25f073ff0cd8d1ede9..02a94a81d78ac252d96fec913aa88696770f0ab8 100644 (file)
@@ -24,7 +24,7 @@
 #include "libnet/libnet.h"
 #include "librpc/gen_ndr/ndr_samr_c.h"
 #include "param/param.h"
-#include "torture/libnet/utils.h"
+#include "torture/libnet/proto.h"
 
 
 static bool test_groupadd(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
index 04a9240eef0658106903f69b6584dfce9a8f0b9e..686f1f13f3f0fddc675024422594922557f73136 100644 (file)
@@ -24,7 +24,7 @@
 #include "libcli/security/security.h"
 #include "librpc/gen_ndr/ndr_samr_c.h"
 #include "param/param.h"
-#include "torture/libnet/utils.h"
+#include "torture/libnet/proto.h"
 
 
 #define TEST_USERNAME  "libnetuserinfotest"
index 98365d3bff70294b6d2879ae68c6d408ec686d53..0faca57e8ca477695c8105e24a7d4a47091a4407 100644 (file)
@@ -25,7 +25,7 @@
 #include "librpc/gen_ndr/ndr_samr_c.h"
 #include "param/param.h"
 
-#include "torture/libnet/utils.h"
+#include "torture/libnet/proto.h"
 
 
 static bool test_useradd(struct torture_context *tctx,
diff --git a/source4/torture/libnet/utils.h b/source4/torture/libnet/utils.h
deleted file mode 100644 (file)
index 26350e3..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
-   Unix SMB/CIFS implementation.
-   Test suite for libnet calls.
-
-   Copyright (C) Rafal Szczesniak 2007
-
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3 of the License, or
-   (at your option) any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program.  If not, see <http://www.gnu.org/licenses/>.
-*/
-
-
-bool test_domain_open(struct torture_context *tctx,
-                    struct dcerpc_binding_handle *b,
-                    struct lsa_String *domname,
-                    TALLOC_CTX *mem_ctx,
-                    struct policy_handle *_domain_handle,
-                    struct dom_sid2 *_dom_sid);
-
-bool test_user_create(struct torture_context *tctx,
-                     struct dcerpc_binding_handle *b,
-                     TALLOC_CTX *mem_ctx,
-                     struct policy_handle *handle, const char *name,
-                     uint32_t *rid);
-
-bool test_user_cleanup(struct torture_context *tctx,
-                      struct dcerpc_binding_handle *b,
-                      TALLOC_CTX *mem_ctx,
-                      struct policy_handle *domain_handle,
-                      const char *name);
-
-bool test_group_create(struct torture_context *tctx,
-                      struct dcerpc_binding_handle *b,
-                      TALLOC_CTX *mem_ctx,
-                      struct policy_handle *handle, const char *name,
-                      uint32_t *rid);
-
-bool test_group_cleanup(struct torture_context *tctx,
-                       struct dcerpc_binding_handle *b,
-                       TALLOC_CTX *mem_ctx,
-                       struct policy_handle *domain_handle,
-                       const char *name);
-
-bool test_samr_close_handle(struct torture_context *tctx,
-                           struct dcerpc_binding_handle *b, TALLOC_CTX *mem_ctx,
-                           struct policy_handle *samr_handle);
-
-void msg_handler(struct monitor_msg *m);