r24557: rename 'dcerpc_table_' -> 'ndr_table_'
[ira/wip.git] / source / torture / rpc / mgmt.c
index 2557d5827a92d5db97ff6956bc87ddcf360d0868..475e933bd27da27e39886811630d2d2a60c8cb1e 100644 (file)
@@ -30,9 +30,9 @@
   ask the server what interface IDs are available on this endpoint
 */
 BOOL test_inq_if_ids(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
-                    BOOL (*per_id_test)(const struct dcerpc_interface_table *iface,
+                    BOOL (*per_id_test)(const struct ndr_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",
@@ -194,7 +194,7 @@ BOOL torture_rpc_mgmt(struct torture_context *torture)
        TALLOC_CTX *mem_ctx, *loop_ctx;
        BOOL ret = True;
        const char *binding = torture_setting_string(torture, "binding", NULL);
-       const struct dcerpc_interface_list *l;
+       const struct ndr_interface_list *l;
        struct dcerpc_binding *b;
 
        mem_ctx = talloc_init("torture_rpc_mgmt");
@@ -233,7 +233,7 @@ BOOL torture_rpc_mgmt(struct torture_context *torture)
 
                lp_set_cmdline("torture:binding", dcerpc_binding_string(loop_ctx, b));
 
-               status = torture_rpc_connection(loop_ctx, &p, &dcerpc_table_mgmt);
+               status = torture_rpc_connection(loop_ctx, &p, &ndr_table_mgmt);
                if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_NOT_FOUND)) {
                        printf("Interface not available - skipping\n");
                        talloc_free(loop_ctx);