Initial bulk commit for "Git on MSys"
[msysgit/historical-msysgit.git] / mingw / include / svcguid.h
blob65072808cf16cc39f4df7525ab63423925254f23
1 #ifndef _SVCGUID_H
2 #define _SVCGUID_H
3 #if __GNUC__ >=3
4 #pragma GCC system_header
5 #endif
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
11 #define SVCID_NETWARE(_SapId) \
12 { (0x000B << 16) | (_SapId), 0, 0, { 0xC0,0,0,0,0,0,0,0x46 } }
14 #define SAPID_FROM_SVCID_NETWARE(_g) \
15 ((WORD)(_g->Data1 & 0xFFFF))
17 #define SET_NETWARE_SVCID(_g,_SapId) { \
18 (_g)->Data1 = (0x000B << 16 ) | (_SapId); \
19 (_g)->Data2 = 0; \
20 (_g)->Data3 = 0; \
21 (_g)->Data4[0] = 0xC0; \
22 (_g)->Data4[1] = 0x0; \
23 (_g)->Data4[2] = 0x0; \
24 (_g)->Data4[3] = 0x0; \
25 (_g)->Data4[4] = 0x0; \
26 (_g)->Data4[5] = 0x0; \
27 (_g)->Data4[6] = 0x0; \
28 (_g)->Data4[7] = 0x46; }
30 #ifdef __cplusplus
32 #endif
33 #endif