summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-08-18 06:57:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:11 -0500
commitce84ab9a83441845202e99f8ffd4512839926024 (patch)
treef77e855f39947f4078d6ab160d212db0758aba08 /source4/torture/rpc
parentfb19fe7a512db0da16b9dfe226f51d99b86df0a6 (diff)
downloadsamba-ce84ab9a83441845202e99f8ffd4512839926024.tar.gz
samba-ce84ab9a83441845202e99f8ffd4512839926024.tar.bz2
samba-ce84ab9a83441845202e99f8ffd4512839926024.zip
r24532: rename struct dcerpc_syntax_id into struct ndr_syntax_id
and move it into misc.idl The goal is to get rid a all dcerpc specific stuff in the generated ndr layer. metze (This used to be commit 2ed014cfb894cccab1654e3f7d5876393e2b52d7)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/alter_context.c4
-rw-r--r--source4/torture/rpc/epmapper.c2
-rw-r--r--source4/torture/rpc/mgmt.c4
-rw-r--r--source4/torture/rpc/scanner.c4
4 files changed, 7 insertions, 7 deletions
diff --git a/source4/torture/rpc/alter_context.c b/source4/torture/rpc/alter_context.c
index 097df5acb3..a78cd38893 100644
--- a/source4/torture/rpc/alter_context.c
+++ b/source4/torture/rpc/alter_context.c
@@ -34,8 +34,8 @@ BOOL torture_rpc_alter_context(struct torture_context *torture)
BOOL ret = True;
struct policy_handle *handle;
struct dcerpc_interface_table tmptbl;
- struct dcerpc_syntax_id syntax;
- struct dcerpc_syntax_id transfer_syntax;
+ struct ndr_syntax_id syntax;
+ struct ndr_syntax_id transfer_syntax;
mem_ctx = talloc_init("torture_rpc_alter_context");
diff --git a/source4/torture/rpc/epmapper.c b/source4/torture/rpc/epmapper.c
index 4d4f481433..8e953efc2c 100644
--- a/source4/torture/rpc/epmapper.c
+++ b/source4/torture/rpc/epmapper.c
@@ -47,7 +47,7 @@ static BOOL test_Map(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
struct GUID uuid;
struct policy_handle handle;
int i;
- struct dcerpc_syntax_id syntax;
+ struct ndr_syntax_id syntax;
uint32_t num_towers;
ZERO_STRUCT(uuid);
diff --git a/source4/torture/rpc/mgmt.c b/source4/torture/rpc/mgmt.c
index 2557d5827a..80388f319d 100644
--- a/source4/torture/rpc/mgmt.c
+++ b/source4/torture/rpc/mgmt.c
@@ -32,7 +32,7 @@
BOOL test_inq_if_ids(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
BOOL (*per_id_test)(const struct dcerpc_interface_table *iface,
TALLOC_CTX *mem_ctx,
- struct dcerpc_syntax_id *id),
+ struct ndr_syntax_id *id),
const void *priv)
{
NTSTATUS status;
@@ -60,7 +60,7 @@ BOOL test_inq_if_ids(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
}
for (i=0;i<vector->count;i++) {
- struct dcerpc_syntax_id *id = vector->if_id[i].id;
+ struct ndr_syntax_id *id = vector->if_id[i].id;
if (!id) continue;
printf("\tuuid %s version 0x%08x '%s'\n",
diff --git a/source4/torture/rpc/scanner.c b/source4/torture/rpc/scanner.c
index 0859ab93c2..62de0a9e63 100644
--- a/source4/torture/rpc/scanner.c
+++ b/source4/torture/rpc/scanner.c
@@ -30,7 +30,7 @@
*/
static BOOL test_num_calls(const struct dcerpc_interface_table *iface,
TALLOC_CTX *mem_ctx,
- struct dcerpc_syntax_id *id)
+ struct ndr_syntax_id *id)
{
struct dcerpc_pipe *p;
NTSTATUS status;
@@ -40,7 +40,7 @@ static BOOL test_num_calls(const struct dcerpc_interface_table *iface,
struct dcerpc_interface_table tbl;
/* FIXME: This should be fixed when torture_rpc_connection
- * takes a dcerpc_syntax_id */
+ * takes a ndr_syntax_id */
tbl.name = iface->name;
tbl.syntax_id = *id;