af062818b47340eef15700d2f0211576ba3506eevboxsync/*
af062818b47340eef15700d2f0211576ba3506eevboxsync * Common DCE Types
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright 2006 Robert Shearman (for CodeWeavers)
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is free software; you can redistribute it and/or
af062818b47340eef15700d2f0211576ba3506eevboxsync * modify it under the terms of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License as published by the Free Software Foundation; either
af062818b47340eef15700d2f0211576ba3506eevboxsync * version 2.1 of the License, or (at your option) any later version.
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is distributed in the hope that it will be useful,
af062818b47340eef15700d2f0211576ba3506eevboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
af062818b47340eef15700d2f0211576ba3506eevboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
af062818b47340eef15700d2f0211576ba3506eevboxsync * Lesser General Public License for more details.
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * You should have received a copy of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License along with this library; if not, write to the Free Software
af062818b47340eef15700d2f0211576ba3506eevboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
af062818b47340eef15700d2f0211576ba3506eevboxsync */
af062818b47340eef15700d2f0211576ba3506eevboxsync
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync/*
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * a choice of LGPL license versions is made available with the language indicating
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * of the LGPL is applied is otherwise unspecified.
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync/* pull in GUID type */
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport "wtypes.idl";
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef unsigned small unsigned8;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef unsigned short unsigned16;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef unsigned long unsigned32;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef small signed8;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef short signed16;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef long signed32;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef unsigned32 boolean32;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef unsigned hyper u_int64;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef unsigned long u_int32;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef unsigned short u_int16;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef unsigned small u_int8;
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef [ptr] GUID *uuid_p_t;
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct twr_t
af062818b47340eef15700d2f0211576ba3506eevboxsync{
af062818b47340eef15700d2f0211576ba3506eevboxsync unsigned32 tower_length;
af062818b47340eef15700d2f0211576ba3506eevboxsync [size_is(tower_length)] byte tower_octet_string[];
af062818b47340eef15700d2f0211576ba3506eevboxsync} twr_t;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef [ptr] twr_t *twr_p_t;
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct ndr_context_handle
af062818b47340eef15700d2f0211576ba3506eevboxsync{
af062818b47340eef15700d2f0211576ba3506eevboxsync unsigned32 context_handle_attributes;
af062818b47340eef15700d2f0211576ba3506eevboxsync GUID context_handle_uuid;
af062818b47340eef15700d2f0211576ba3506eevboxsync} ndr_context_handle;
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst long ndr_c_int_big_endian = 0;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst long ndr_c_int_little_endian = 1;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst long ndr_c_float_ieee = 0;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst long ndr_c_float_vax = 1;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst long ndr_c_float_cray = 2;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst long ndr_c_float_ibm = 3;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst long ndr_c_char_ascii = 0;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst long ndr_c_char_ebcdic = 1;
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct
af062818b47340eef15700d2f0211576ba3506eevboxsync{
af062818b47340eef15700d2f0211576ba3506eevboxsync unsigned8 int_rep;
af062818b47340eef15700d2f0211576ba3506eevboxsync unsigned8 char_rep;
af062818b47340eef15700d2f0211576ba3506eevboxsync unsigned8 float_rep;
af062818b47340eef15700d2f0211576ba3506eevboxsync byte reserved;
af062818b47340eef15700d2f0211576ba3506eevboxsync} ndr_format_t, *ndr_format_p_t;
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct
af062818b47340eef15700d2f0211576ba3506eevboxsync{
af062818b47340eef15700d2f0211576ba3506eevboxsync GUID uuid;
af062818b47340eef15700d2f0211576ba3506eevboxsync unsigned16 vers_major;
af062818b47340eef15700d2f0211576ba3506eevboxsync unsigned16 vers_minor;
af062818b47340eef15700d2f0211576ba3506eevboxsync} rpc_if_id_t;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef [unique] rpc_if_id_t *rpc_if_id_p_t;
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct
af062818b47340eef15700d2f0211576ba3506eevboxsync{
af062818b47340eef15700d2f0211576ba3506eevboxsync unsigned32 count;
af062818b47340eef15700d2f0211576ba3506eevboxsync [size_is(count)]
af062818b47340eef15700d2f0211576ba3506eevboxsync rpc_if_id_p_t if_id[*];
af062818b47340eef15700d2f0211576ba3506eevboxsync} rpc_if_id_vector_t;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef [unique] rpc_if_id_vector_t *rpc_if_id_vector_p_t;
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct
af062818b47340eef15700d2f0211576ba3506eevboxsync{
af062818b47340eef15700d2f0211576ba3506eevboxsync unsigned32 count;
af062818b47340eef15700d2f0211576ba3506eevboxsync unsigned32 stats[1]; /* length_is (count) */
af062818b47340eef15700d2f0211576ba3506eevboxsync} rpc_stats_vector_t, *rpc_stats_vector_p_t;