rpcrt4: Avoid potential redefinition of uuid_t.
[wine] / dlls / rpcrt4 / epm_towers.h
1 /*
2  * Endpoint Mapper Tower Definitions
3  *
4  * Copyright 2006 Robert Shearman (for CodeWeavers)
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  *
20  */
21
22 #define EPM_PROTOCOL_DNET_NSP           0x04
23 #define EPM_PROTOCOL_OSI_TP4            0x05
24 #define EPM_PROTOCOL_OSI_CLNS           0x06
25 #define EPM_PROTOCOL_TCP                0x07
26 #define EPM_PROTOCOL_UDP                0x08
27 #define EPM_PROTOCOL_IP                 0x09
28 #define EPM_PROTOCOL_NCADG                      0x0a /* Connectionless RPC */
29 #define EPM_PROTOCOL_NCACN                      0x0b
30 #define EPM_PROTOCOL_NCALRPC            0x0c /* Local RPC */
31 #define EPM_PROTOCOL_UUID                       0x0d
32 #define EPM_PROTOCOL_IPX                        0x0e
33 #define EPM_PROTOCOL_SMB                0x0f
34 #define EPM_PROTOCOL_PIPE               0x10
35 #define EPM_PROTOCOL_NETBIOS            0x11
36 #define EPM_PROTOCOL_NETBEUI            0x12
37 #define EPM_PROTOCOL_SPX                0x13
38 #define EPM_PROTOCOL_NB_IPX             0x14 /* NetBIOS over IPX */
39 #define EPM_PROTOCOL_DSP                        0x16 /* AppleTalk Data Stream Protocol */
40 #define EPM_PROTOCOL_DDP                    0x17 /* AppleTalk Data Datagram Protocol */
41 #define EPM_PROTOCOL_APPLETALK          0x18 /* AppleTalk */
42 #define EPM_PROTOCOL_VINES_SPP          0x1a 
43 #define EPM_PROTOCOL_VINES_IPC          0x1b /* Inter Process Communication */
44 #define EPM_PROTOCOL_STREETTALK         0x1c /* Vines Streettalk */
45 #define EPM_PROTOCOL_HTTP               0x1f
46 #define EPM_PROTOCOL_UNIX_DS            0x20 /* Unix domain socket */
47 #define EPM_PROTOCOL_NULL                       0x21
48
49 #include <pshpack1.h>
50
51 typedef unsigned char u_int8;
52 typedef unsigned short u_int16;
53 typedef unsigned int u_int32;
54
55 typedef struct
56 {
57     u_int16 count_lhs;
58     u_int8 protid;
59     GUID uuid;
60     u_int16 major_version;
61     u_int16 count_rhs;
62     u_int16 minor_version;
63 } twr_uuid_floor_t;
64
65 typedef struct
66 {
67     u_int16 count_lhs;
68     u_int8 protid;
69     u_int16 count_rhs;
70     u_int16 port;
71 } twr_tcp_floor_t;
72
73 typedef struct
74 {
75     u_int16 count_lhs;
76     u_int8 protid;
77     u_int16 count_rhs;
78     u_int32 ipv4addr;
79 } twr_ipv4_floor_t;
80
81 typedef struct
82 {
83     u_int16 count_lhs;
84     u_int8 protid;
85     u_int16 count_rhs;
86 } twr_empty_floor_t;
87
88 #include <poppack.h>