diff options
author | Günther Deschner <gd@samba.org> | 2013-01-07 15:15:21 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-01-07 19:06:25 +0100 |
commit | 6a5afa244203c42265207c56e95783ec740ee89e (patch) | |
tree | e1fefcab86eba08f2a37d13a2c475d098ffca3fd /source4/rpc_server/spoolss | |
parent | 638ed90620e3c6a35ef56a11c612c13d6b7d6ff5 (diff) | |
download | samba-6a5afa244203c42265207c56e95783ec740ee89e.tar.gz samba-6a5afa244203c42265207c56e95783ec740ee89e.tar.bz2 samba-6a5afa244203c42265207c56e95783ec740ee89e.zip |
spoolss: add stubs for new JobNamedProperty dcerpc calls.
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Jan 7 19:06:25 CET 2013 on sn-devel-104
Diffstat (limited to 'source4/rpc_server/spoolss')
-rw-r--r-- | source4/rpc_server/spoolss/dcesrv_spoolss.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/source4/rpc_server/spoolss/dcesrv_spoolss.c b/source4/rpc_server/spoolss/dcesrv_spoolss.c index 7227baaeb4..76035f3ce9 100644 --- a/source4/rpc_server/spoolss/dcesrv_spoolss.c +++ b/source4/rpc_server/spoolss/dcesrv_spoolss.c @@ -1722,6 +1722,43 @@ static WERROR dcesrv_spoolss_6d(struct dcesrv_call_state *dce_call, TALLOC_CTX * } +/* + spoolss_RpcGetJobNamedPropertyValue +*/ +static WERROR dcesrv_spoolss_RpcGetJobNamedPropertyValue(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct spoolss_RpcGetJobNamedPropertyValue *r) +{ + DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); +} + + +/* + spoolss_RpcSetJobNamedProperty +*/ +static WERROR dcesrv_spoolss_RpcSetJobNamedProperty(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct spoolss_RpcSetJobNamedProperty *r) +{ + DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); +} + + +/* + spoolss_RpcDeleteJobNamedProperty +*/ +static WERROR dcesrv_spoolss_RpcDeleteJobNamedProperty(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct spoolss_RpcDeleteJobNamedProperty *r) +{ + DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); +} + +/* + spoolss_RpcEnumJobNamedProperties +*/ +static WERROR dcesrv_spoolss_RpcEnumJobNamedProperties(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct spoolss_RpcEnumJobNamedProperties *r) +{ + DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); +} /* include the generated boilerplate */ #include "librpc/gen_ndr/ndr_spoolss_s.c" |