summaryrefslogtreecommitdiff
path: root/source4/torture/ndr
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2016-08-29 12:53:45 +0200
committerGünther Deschner <gd@samba.org>2016-09-22 12:29:26 +0200
commit17d94d05317adb219efea8af1b5be4d0b0cf6ee2 (patch)
tree05d9c54b05367bb79590dccc80557c0cb402f669 /source4/torture/ndr
parentd64b316fede2ed527fbc3c8a21e4778328990ca6 (diff)
downloadsamba-17d94d05317adb219efea8af1b5be4d0b0cf6ee2.tar.gz
spoolss: rename spoolss_RpcSetJobNamedProperty to spoolss_SetJobNamedProperty
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/torture/ndr')
-rw-r--r--source4/torture/ndr/spoolss.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/ndr/spoolss.c b/source4/torture/ndr/spoolss.c
index 5818fdf209a..2f9d1365ae8 100644
--- a/source4/torture/ndr/spoolss.c
+++ b/source4/torture/ndr/spoolss.c
@@ -1740,7 +1740,7 @@ static const uint8_t getcoreprinterdrivers_64_req_data[] = {
0x04, 0x00, 0x00, 0x00
};
-static const uint8_t rpcsetjobnamedproperty_req_data[] = {
+static const uint8_t setjobnamedproperty_req_data[] = {
0x00, 0x00, 0x00, 0x00, 0x3d, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xff, 0x50, 0xdf, 0xe4, 0xce, 0x1a, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00,
0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00,
@@ -1755,8 +1755,8 @@ static const uint8_t rpcsetjobnamedproperty_req_data[] = {
0x4e, 0x00, 0x4f, 0x00, 0x57, 0x00, 0x4e, 0x00, 0x00, 0x00
};
-static bool rpcsetjobnamedproperty_req_check(struct torture_context *tctx,
- struct spoolss_RpcSetJobNamedProperty *r)
+static bool setjobnamedproperty_req_check(struct torture_context *tctx,
+ struct spoolss_SetJobNamedProperty *r)
{
/* FIXME hPrinter */
torture_assert_int_equal(tctx, r->in.JobId, 0x00000005, "JobId");
@@ -1829,7 +1829,7 @@ struct torture_suite *ndr_spoolss_suite(TALLOC_CTX *ctx)
torture_suite_add_ndr_pull_fn_test_flags(suite, spoolss_GetCorePrinterDrivers, getcoreprinterdrivers_64_req_data, NDR_IN, LIBNDR_FLAG_NDR64, NULL);
- torture_suite_add_ndr_pull_fn_test(suite, spoolss_RpcSetJobNamedProperty, rpcsetjobnamedproperty_req_data, NDR_IN, rpcsetjobnamedproperty_req_check);
+ torture_suite_add_ndr_pull_fn_test(suite, spoolss_SetJobNamedProperty, setjobnamedproperty_req_data, NDR_IN, setjobnamedproperty_req_check);
return suite;
}