diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-11-20 23:35:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:06:02 -0500 |
commit | 7e3503e2770a0473cb4f7d8d45b27cbee766d9fa (patch) | |
tree | f724e5c3c56e489d543a238907f1897154bb421f /source4/rpc_server/dcom | |
parent | d53fd3d8d5c99ae22a4d74065dc45e2f4e36a382 (diff) | |
download | samba-7e3503e2770a0473cb4f7d8d45b27cbee766d9fa.tar.gz samba-7e3503e2770a0473cb4f7d8d45b27cbee766d9fa.tar.bz2 samba-7e3503e2770a0473cb4f7d8d45b27cbee766d9fa.zip |
r3896: Correct header files in rpc server templates plus
some other minor fixes
(This used to be commit 9fca748fe3c12af83a006f1d0821aa560d08fc95)
Diffstat (limited to 'source4/rpc_server/dcom')
-rw-r--r-- | source4/rpc_server/dcom/rot.c | 84 |
1 files changed, 73 insertions, 11 deletions
diff --git a/source4/rpc_server/dcom/rot.c b/source4/rpc_server/dcom/rot.c index d639bd9bf3..1a58833204 100644 --- a/source4/rpc_server/dcom/rot.c +++ b/source4/rpc_server/dcom/rot.c @@ -1,7 +1,7 @@ /* Unix SMB/CIFS implementation. - Running object table functions + endpoint server for the rot pipe Copyright (C) Jelmer Vernooij 2004 @@ -22,17 +22,79 @@ #include "includes.h" #include "rpc_server/dcerpc_server.h" +#include "librpc/gen_ndr/ndr_rot.h" #include "rpc_server/common/common.h" -struct dcom_object *dcom_call_get_object(struct dcesrv_call_state *call) + +/* + rot_add +*/ +static WERROR rot_add(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct rot_add *r) +{ + DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); +} + + +/* + rot_remove +*/ +static WERROR rot_remove(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct rot_remove *r) +{ + DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); +} + + +/* + rot_is_listed +*/ +static WERROR rot_is_listed(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct rot_is_listed *r) +{ + DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); +} + + +/* + rot_get_interface_pointer +*/ +static WERROR rot_get_interface_pointer(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct rot_get_interface_pointer *r) { - struct GUID *object; - - if (! (call->pkt.pfc_flags & DCERPC_PFC_FLAG_ORPC) ) { - return NULL; - } - - object = &call->pkt.u.request.object.object; - /* FIXME */ - return NULL; + DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); } + + +/* + rot_set_modification_time +*/ +static WERROR rot_set_modification_time(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct rot_set_modification_time *r) +{ + DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); +} + + +/* + rot_get_modification_time +*/ +static WERROR rot_get_modification_time(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct rot_get_modification_time *r) +{ + DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); +} + + +/* + rot_enum +*/ +static WERROR rot_enum(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct rot_enum *r) +{ + DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); +} + + +/* include the generated boilerplate */ +#include "librpc/gen_ndr/ndr_rot_s.c" |