/*
* this is just for testing! use dcerpc_secondary_context() otherwise!
*/
-NTSTATUS dcerpc_alter_context(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
- const struct ndr_syntax_id *abstract,
- const struct ndr_syntax_id *transfer)
+NTSTATUS dcerpc_alter_context(struct dcerpc_pipe *p,
+ TALLOC_CTX *mem_ctx,
+ const struct ndr_syntax_id *syntax,
+ const struct ndr_syntax_id *transfer_syntax)
{
struct composite_context *subreq;
NTSTATUS status;
struct dcerpc_presentation *saved_pres = p->pres;
struct ndr_interface_table table = {
- .syntax_id = *abstract,
+ .syntax_id = *syntax,
};
p->pres = dcerpc_presentation_test_copy(mem_ctx,
saved_pres,
NULL, /* context_id */
&table,
- transfer);
+ transfer_syntax);
if (p->pres == NULL) {
status = NT_STATUS_NO_MEMORY;
goto done;