mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
spoolss: rename spoolss_RpcGetJobNamedPropertyValue to spoolss_GetJobNamedPropertyValue
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
23f404b7f5
commit
d64b316fed
@ -3382,7 +3382,7 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor")
|
||||
RPC_PrintPropertyValue propertyValue;
|
||||
} RPC_PrintNamedProperty;
|
||||
|
||||
WERROR spoolss_RpcGetJobNamedPropertyValue(
|
||||
WERROR spoolss_GetJobNamedPropertyValue(
|
||||
[in,ref] policy_handle *hPrinter,
|
||||
[in] uint32 JobId,
|
||||
[in] [string,charset(UTF16)] uint16 *pszName,
|
||||
|
@ -11248,11 +11248,11 @@ WERROR _spoolss_6d(struct pipes_struct *p,
|
||||
}
|
||||
|
||||
/****************************************************************
|
||||
_spoolss_RpcGetJobNamedPropertyValue
|
||||
_spoolss_GetJobNamedPropertyValue
|
||||
****************************************************************/
|
||||
|
||||
WERROR _spoolss_RpcGetJobNamedPropertyValue(struct pipes_struct *p,
|
||||
struct spoolss_RpcGetJobNamedPropertyValue *r)
|
||||
WERROR _spoolss_GetJobNamedPropertyValue(struct pipes_struct *p,
|
||||
struct spoolss_GetJobNamedPropertyValue *r)
|
||||
{
|
||||
p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
|
||||
return WERR_NOT_SUPPORTED;
|
||||
|
@ -3367,21 +3367,21 @@ static bool test_JobPropertyGetValue(struct torture_context *tctx,
|
||||
const char *property_name,
|
||||
struct RPC_PrintPropertyValue *value)
|
||||
{
|
||||
struct spoolss_RpcGetJobNamedPropertyValue r;
|
||||
struct spoolss_GetJobNamedPropertyValue r;
|
||||
|
||||
r.in.hPrinter = handle;
|
||||
r.in.JobId = job_id;
|
||||
r.in.pszName = property_name;
|
||||
r.out.pValue = value;
|
||||
|
||||
torture_comment(tctx, "Testing RpcGetJobNamedPropertyValue(%d) %s\n",
|
||||
torture_comment(tctx, "Testing GetJobNamedPropertyValue(%d) %s\n",
|
||||
job_id, property_name);
|
||||
|
||||
torture_assert_ntstatus_ok(tctx,
|
||||
dcerpc_spoolss_RpcGetJobNamedPropertyValue_r(b, tctx, &r),
|
||||
"spoolss_RpcGetJobNamedPropertyValue failed");
|
||||
dcerpc_spoolss_GetJobNamedPropertyValue_r(b, tctx, &r),
|
||||
"spoolss_GetJobNamedPropertyValue failed");
|
||||
torture_assert_werr_ok(tctx, r.out.result,
|
||||
"spoolss_RpcGetJobNamedPropertyValue failed");
|
||||
"spoolss_GetJobNamedPropertyValue failed");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user