mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:rpc_server: add DCESRV_COMPAT_NOT_USED_ON_WIRE() helper macro
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15425 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
parent
01577b93cb
commit
62afadb3eb
@ -70,4 +70,10 @@ void *_find_policy_by_hnd(struct pipes_struct *p,
|
||||
bool close_policy_hnd(struct pipes_struct *p, struct policy_handle *hnd);
|
||||
bool pipe_access_check(struct pipes_struct *p);
|
||||
|
||||
#define DCESRV_COMPAT_NOT_USED_ON_WIRE(__opname) \
|
||||
void _## __opname(struct pipes_struct *p, struct __opname *r) \
|
||||
{ \
|
||||
p->fault_state = DCERPC_FAULT_OP_RNG_ERROR; \
|
||||
}
|
||||
|
||||
#endif /* _RPC_PIPES_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user