dcerpc: add ncacn_packet_header to IDL.
[kamenim/samba.git] / librpc / idl / dcerpc.idl
index 3dfe97231d1a02e372a61ff6cdac30ab4fe22f6b..49a4aae03e01c7669a344502709924fd301370c1 100644 (file)
@@ -317,6 +317,18 @@ interface dcerpc
        /* little-endian flag */
        const uint8 DCERPC_DREP_LE  = 0x10;
 
+       /* header only version of ncacn_packet */
+       typedef [public] struct {
+               uint8 rpc_vers;         /* RPC version */
+               uint8 rpc_vers_minor;   /* Minor version */
+               dcerpc_pkt_type ptype;  /* Packet type */
+               uint8 pfc_flags;        /* Fragmentation flags */
+               uint8 drep[4];          /* NDR data representation */
+               uint16 frag_length;     /* Total length of fragment */
+               uint16 auth_length;     /* authenticator length */
+               uint32 call_id;         /* Call identifier */
+       } ncacn_packet_header;
+
        typedef [public] struct {
                uint8 rpc_vers;         /* RPC version */
                uint8 rpc_vers_minor;   /* Minor version */