Implemented localeconv() with libc function.
[wine.git] / dlls / rpcrt4 / rpc_defs.h
blob3cb688f3bc98b4278cc59d561385071829539883
1 /*
2 * RPC definitions
4 * Copyright 2001-2002 Ove Kåven, TransGaming Technologies
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.
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.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __WINE_RPC_DEFS_H
22 #define __WINE_RPC_DEFS_H
24 /* info from http://www.microsoft.com/msj/0398/dcomtextfigs.htm */
26 typedef struct
28 unsigned char rpc_ver;
29 unsigned char ptype;
30 unsigned char flags1;
31 unsigned char flags2;
32 unsigned char drep[3];
33 unsigned char serial_hi;
34 GUID object;
35 GUID if_id;
36 GUID act_id;
37 unsigned long server_boot;
38 unsigned long if_vers;
39 unsigned long seqnum;
40 unsigned short opnum;
41 unsigned short ihint;
42 unsigned short ahint;
43 unsigned short len;
44 unsigned short fragnum;
45 unsigned char auth_proto;
46 unsigned char serial_lo;
47 } RpcPktHdr;
49 #define PKT_REQUEST 0
50 #define PKT_PING 1
51 #define PKT_RESPONSE 2
52 #define PKT_FAULT 3
53 #define PKT_WORKING 4
54 #define PKT_NOCALL 5
55 #define PKT_REJECT 6
56 #define PKT_ACK 7
57 #define PKT_CL_CANCEL 8
58 #define PKT_FACK 9
59 #define PKT_CANCEL_ACK 10
60 #define PKT_BIND 11
61 #define PKT_BIND_ACK 12
62 #define PKT_BIND_NAK 13
63 #define PKT_ALTER_CONTEXT 14
64 #define PKT_ALTER_CONTEXT_RESP 15
65 #define PKT_SHUTDOWN 17
66 #define PKT_CO_CANCEL 18
67 #define PKT_ORPHANED 19
69 #define NCADG_IP_UDP 0x08
70 #define NCACN_IP_TCP 0x07
71 #define NCADG_IPX 0x0E
72 #define NCACN_SPX 0x0C
73 #define NCACN_NB_NB 0x12
74 #define NCACN_NB_IPX 0x0D
75 #define NCACN_DNET_NSP 0x04
76 #define NCACN_HTTP 0x1F
78 /* FreeDCE: TWR_C_FLR_PROT_ID_IP */
79 #define TWR_IP 0x09
81 #endif /* __WINE_RPC_DEFS_H */