OSDN Git Service

Correct mistyped __MINGW_NOTHROW macro.
[mingw/mingw-org-wsl.git] / include / ipxrtdef.h
1 /**
2  * @file ipxrtdef.h
3  * Copyright 2012, 2013 MinGW.org project
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a
6  * copy of this software and associated documentation files (the "Software"),
7  * to deal in the Software without restriction, including without limitation
8  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9  * and/or sell copies of the Software, and to permit persons to whom the
10  * Software is furnished to do so, subject to the following conditions:
11  * 
12  * The above copyright notice and this permission notice (including the next
13  * paragraph) shall be included in all copies or substantial portions of the
14  * Software.
15  * 
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22  * DEALINGS IN THE SOFTWARE.
23  */
24 #ifndef _IPXRTDEF_H
25 #define _IPXRTDEF_H
26 #pragma GCC system_header
27 #include <_mingw.h>
28
29 /*
30  * Routing and Remote Access Services
31  */
32
33 #include <stm.h>
34 #include <ipxconst.h>
35
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39
40 /*--- Router Management Reference - Router Information Enumeration Types */
41 #define IPX_INTERFACE_INFO_TYPE 0x0001
42 #define IPX_STATIC_ROUTE_INFO_TYPE 0x0002
43 #define IPX_STATIC_SERVICE_INFO_TYPE 0x0003
44 #define IPX_SERVICE_FILTER_INFO_TYPE 0x0004
45 #define IPX_ROUTE_FILTER_INFO_TYPE 0x0005
46 #define IPX_IN_TRAFFIC_FILTER_INFO_TYPE 0x0006
47 #define IPX_ADAPTER_INFO_TYPE 0x0007
48 #define IPXWAN_INTERFACE_INFO_TYPE 0x0008
49 #define IPX_GLOBAL_INFO_TYPE 0x0009
50 #define IPX_STATIC_NETBIOS_NAME_INFO_TYPE 0x000A
51 #define IPX_IN_TRAFFIC_FILTER_GLOBAL_INFO_TYPE 0x000B
52 #define IPX_OUT_TRAFFIC_FILTER_INFO_TYPE 0x000C
53 #define IPX_OUT_TRAFFIC_FILTER_GLOBAL_INFO_TYPE 0x000D
54
55 /*--- Router Management Reference - Router Information Structures - IPX Information Structures */
56 #if (_WIN32_WINNT >= _WIN32_WINNT_WINXP)
57 typedef struct _IPX_IF_INFO {
58         ULONG AdminState;
59         ULONG NetbiosAccept;
60         ULONG NetbiosDeliver;
61 } IPX_IF_INFO,*PIPX_IF_INFO;
62 typedef IPX_SERVER_ENTRY IPX_STATIC_SERVICE_INFO,*PIPX_STATIC_SERVICE_INFO;
63 typedef struct _IPXWAN_IF_INFO {
64         ULONG AdminState;
65 } IPXWAN_IF_INFO,*PIPXWAN_IF_INFO;
66 #endif
67
68 #ifdef __cplusplus
69 }
70 #endif
71 #endif