summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-03-20 11:31:55 +0100
committerStefan Metzmacher <metze@samba.org>2010-04-15 09:34:03 +0200
commitfed16f4015f8209dc4705fc1464fc45a093d9349 (patch)
tree7f4d6b72b112e38417a28f4353483433d49af640 /source4/librpc
parentc0736c70d6ab442055f998e7b1308a0536f99a95 (diff)
downloadsamba-fed16f4015f8209dc4705fc1464fc45a093d9349.tar.gz
samba-fed16f4015f8209dc4705fc1464fc45a093d9349.tar.bz2
samba-fed16f4015f8209dc4705fc1464fc45a093d9349.zip
librpc/rpc: add dcerpc_fault_to_nt_status()
For now this only handles fault codes with we've seen yet and for which we have explicit torture checks. metze
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/rpc/dcerpc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h
index 22988e62ba..69de8c5467 100644
--- a/source4/librpc/rpc/dcerpc.h
+++ b/source4/librpc/rpc/dcerpc.h
@@ -303,6 +303,7 @@ NTSTATUS dcerpc_pipe_connect_b(TALLOC_CTX *parent_ctx,
struct tevent_context *ev,
struct loadparm_context *lp_ctx);
const char *dcerpc_errstr(TALLOC_CTX *mem_ctx, uint32_t fault_code);
+NTSTATUS dcerpc_fault_to_nt_status(uint32_t fault_code);
NTSTATUS dcerpc_pipe_auth(TALLOC_CTX *mem_ctx,
struct dcerpc_pipe **p,