source: Daodan/MinGW/include/ipxrtdef.h@ 1089

Last change on this file since 1089 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 1.7 KB
RevLine 
[1046]1/*
2 * ipxrtdef.h - Routing and Remote Access Services
3 *
4 * THIS SOFTWARE IS NOT COPYRIGHTED
5 *
6 * This source code is offered for use in the public domain. You may use,
7 * modify or distribute it freely.
8 *
9 * This code is distributed in the hope that it will be useful but
10 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
11 * DISCLAIMED. This includes but is not limited to warranties of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 *
14 */
15#ifndef _IPXRTDEF_H
16#define _IPXRTDEF_H
17#if __GNUC__ >= 3
18#pragma GCC system_header
19#endif
20
21#include <stm.h>
22#include <ipxconst.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28/*--- Router Management Reference - Router Information Enumeration Types */
29#define IPX_INTERFACE_INFO_TYPE 0x0001
30#define IPX_STATIC_ROUTE_INFO_TYPE 0x0002
31#define IPX_STATIC_SERVICE_INFO_TYPE 0x0003
32#define IPX_SERVICE_FILTER_INFO_TYPE 0x0004
33#define IPX_ROUTE_FILTER_INFO_TYPE 0x0005
34#define IPX_IN_TRAFFIC_FILTER_INFO_TYPE 0x0006
35#define IPX_ADAPTER_INFO_TYPE 0x0007
36#define IPXWAN_INTERFACE_INFO_TYPE 0x0008
37#define IPX_GLOBAL_INFO_TYPE 0x0009
38#define IPX_STATIC_NETBIOS_NAME_INFO_TYPE 0x000A
39#define IPX_IN_TRAFFIC_FILTER_GLOBAL_INFO_TYPE 0x000B
40#define IPX_OUT_TRAFFIC_FILTER_INFO_TYPE 0x000C
41#define IPX_OUT_TRAFFIC_FILTER_GLOBAL_INFO_TYPE 0x000D
42/*--- Router Management Reference - Router Information Structures - IPX Information Structures */
43#if (_WIN32_WINNT >= 0x0500)
44typedef struct _IPX_IF_INFO {
45 ULONG AdminState;
46 ULONG NetbiosAccept;
47 ULONG NetbiosDeliver;
48} IPX_IF_INFO,*PIPX_IF_INFO;
49typedef IPX_SERVER_ENTRY IPX_STATIC_SERVICE_INFO,*PIPX_STATIC_SERVICE_INFO;
50typedef struct _IPXWAN_IF_INFO {
51 ULONG AdminState;
52} IPXWAN_IF_INFO,*PIPXWAN_IF_INFO;
53#endif
54
55#ifdef __cplusplus
56}
57#endif
58#endif
Note: See TracBrowser for help on using the repository browser.