summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-01-03 13:41:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:39 -0500
commit25bb00fbcd409572e1c19c05fdc42c883936780b (patch)
treee6096ae728e2a5645e39ede037de0cae39cd12ab /source4/librpc/rpc
parent097ffed015826ff31b5f89742deed8f4d21b88f3 (diff)
downloadsamba-25bb00fbcd409572e1c19c05fdc42c883936780b.tar.gz
samba-25bb00fbcd409572e1c19c05fdc42c883936780b.tar.bz2
samba-25bb00fbcd409572e1c19c05fdc42c883936780b.zip
r12693: Move core data structures out of smb.h into core.h
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/dcerpc.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h
index b120933517..4129fb25d8 100644
--- a/source4/librpc/rpc/dcerpc.h
+++ b/source4/librpc/rpc/dcerpc.h
@@ -21,6 +21,11 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#ifndef __DCERPC_H__
+#define __DCERPC_H__
+
+#include <nt_status.h>
+
enum dcerpc_transport_t {
NCACN_NP, NCACN_IP_TCP, NCACN_IP_UDP, NCACN_VNS_IPC, NCACN_VNS_SPP,
NCACN_AT_DSP, NCADG_AT_DDP, NCALRPC, NCACN_UNIX_STREAM, NCADG_UNIX_DGRAM,
@@ -45,7 +50,7 @@ struct dcerpc_connection {
uint32_t call_id;
uint32_t srv_max_xmit_frag;
uint32_t srv_max_recv_frag;
- uint_t flags;
+ uint32_t flags;
struct dcerpc_security security_state;
const char *binding_string;
struct event_context *event_ctx;
@@ -100,7 +105,7 @@ struct dcerpc_pipe {
uint32_t last_fault_code;
/* timeout for individual rpc requests, in seconds */
- uint_t request_timeout;
+ uint32_t request_timeout;
};
/* default timeout for all rpc requests, in seconds */
@@ -218,7 +223,7 @@ struct rpc_request {
uint32_t call_id;
enum rpc_request_state state;
DATA_BLOB payload;
- uint_t flags;
+ uint32_t flags;
uint32_t fault_code;
const struct GUID *object;
@@ -241,3 +246,5 @@ struct rpc_request {
};
#include "librpc/rpc/dcerpc_proto.h"
+
+#endif /* __DCERPC_H__ */