mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
spoolss: rename spoolss_RpcEnumJobNamedProperties to spoolss_EnumJobNamedProperties
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
cdf958824e
commit
6476153069
@ -3407,7 +3407,7 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor")
|
|||||||
|
|
||||||
/******************/
|
/******************/
|
||||||
/* Function: 0x71 */
|
/* Function: 0x71 */
|
||||||
WERROR spoolss_RpcEnumJobNamedProperties(
|
WERROR spoolss_EnumJobNamedProperties(
|
||||||
[in,ref] policy_handle *hPrinter,
|
[in,ref] policy_handle *hPrinter,
|
||||||
[in] uint32 JobId,
|
[in] uint32 JobId,
|
||||||
[out,ref] uint32 *pcProperties,
|
[out,ref] uint32 *pcProperties,
|
||||||
|
@ -11281,11 +11281,11 @@ WERROR _spoolss_DeleteJobNamedProperty(struct pipes_struct *p,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************
|
/****************************************************************
|
||||||
_spoolss_RpcEnumJobNamedProperties
|
_spoolss_EnumJobNamedProperties
|
||||||
****************************************************************/
|
****************************************************************/
|
||||||
|
|
||||||
WERROR _spoolss_RpcEnumJobNamedProperties(struct pipes_struct *p,
|
WERROR _spoolss_EnumJobNamedProperties(struct pipes_struct *p,
|
||||||
struct spoolss_RpcEnumJobNamedProperties *r)
|
struct spoolss_EnumJobNamedProperties *r)
|
||||||
{
|
{
|
||||||
p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
|
p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
|
||||||
return WERR_NOT_SUPPORTED;
|
return WERR_NOT_SUPPORTED;
|
||||||
|
@ -3315,7 +3315,7 @@ static bool test_JobPropertiesEnum(struct torture_context *tctx,
|
|||||||
struct policy_handle *handle,
|
struct policy_handle *handle,
|
||||||
uint32_t job_id)
|
uint32_t job_id)
|
||||||
{
|
{
|
||||||
struct spoolss_RpcEnumJobNamedProperties r;
|
struct spoolss_EnumJobNamedProperties r;
|
||||||
uint32_t pcProperties = 0;
|
uint32_t pcProperties = 0;
|
||||||
struct RPC_PrintNamedProperty *ppProperties = NULL;
|
struct RPC_PrintNamedProperty *ppProperties = NULL;
|
||||||
|
|
||||||
@ -3324,13 +3324,13 @@ static bool test_JobPropertiesEnum(struct torture_context *tctx,
|
|||||||
r.out.pcProperties = &pcProperties;
|
r.out.pcProperties = &pcProperties;
|
||||||
r.out.ppProperties = &ppProperties;
|
r.out.ppProperties = &ppProperties;
|
||||||
|
|
||||||
torture_comment(tctx, "Testing RpcEnumJobNamedProperties(%d)\n", job_id);
|
torture_comment(tctx, "Testing EnumJobNamedProperties(%d)\n", job_id);
|
||||||
|
|
||||||
torture_assert_ntstatus_ok(tctx,
|
torture_assert_ntstatus_ok(tctx,
|
||||||
dcerpc_spoolss_RpcEnumJobNamedProperties_r(b, tctx, &r),
|
dcerpc_spoolss_EnumJobNamedProperties_r(b, tctx, &r),
|
||||||
"spoolss_RpcEnumJobNamedProperties failed");
|
"spoolss_EnumJobNamedProperties failed");
|
||||||
torture_assert_werr_ok(tctx, r.out.result,
|
torture_assert_werr_ok(tctx, r.out.result,
|
||||||
"spoolss_RpcEnumJobNamedProperties failed");
|
"spoolss_EnumJobNamedProperties failed");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user