diff options
| author | 2023-12-12 11:41:26 -0500 | |
|---|---|---|
| committer | 2023-12-12 11:41:26 -0500 | |
| commit | ff489bd82ff313bcfd7dc2ab585ed31cec909ebd (patch) | |
| tree | 300e031693a5ddb990a32068ab0596382349aeea /tcc/include/winapi/ipxrtdef.h | |
| parent | init (diff) | |
fix software to compile properly on Windows XP x86
Diffstat (limited to '')
| -rw-r--r-- | tcc/include/winapi/ipxrtdef.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/tcc/include/winapi/ipxrtdef.h b/tcc/include/winapi/ipxrtdef.h new file mode 100644 index 0000000..5000456 --- /dev/null +++ b/tcc/include/winapi/ipxrtdef.h @@ -0,0 +1,58 @@ +/* + * ipxrtdef.h - Routing and Remote Access Services + * + * THIS SOFTWARE IS NOT COPYRIGHTED + * + * This source code is offered for use in the public domain. You may use, + * modify or distribute it freely. + * + * This code is distributed in the hope that it will be useful but + * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY + * DISCLAIMED. This includes but is not limited to warranties of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + */ +#ifndef _IPXRTDEF_H +#define _IPXRTDEF_H +#if __GNUC__ >= 3 +#pragma GCC system_header +#endif + +#include <stm.h> +#include <ipxconst.h> + +#ifdef __cplusplus +extern "C" { +#endif + +/*--- Router Management Reference - Router Information Enumeration Types */ +#define IPX_INTERFACE_INFO_TYPE 0x0001 +#define IPX_STATIC_ROUTE_INFO_TYPE 0x0002 +#define IPX_STATIC_SERVICE_INFO_TYPE 0x0003 +#define IPX_SERVICE_FILTER_INFO_TYPE 0x0004 +#define IPX_ROUTE_FILTER_INFO_TYPE 0x0005 +#define IPX_IN_TRAFFIC_FILTER_INFO_TYPE 0x0006 +#define IPX_ADAPTER_INFO_TYPE 0x0007 +#define IPXWAN_INTERFACE_INFO_TYPE 0x0008 +#define IPX_GLOBAL_INFO_TYPE 0x0009 +#define IPX_STATIC_NETBIOS_NAME_INFO_TYPE 0x000A +#define IPX_IN_TRAFFIC_FILTER_GLOBAL_INFO_TYPE 0x000B +#define IPX_OUT_TRAFFIC_FILTER_INFO_TYPE 0x000C +#define IPX_OUT_TRAFFIC_FILTER_GLOBAL_INFO_TYPE 0x000D +/*--- Router Management Reference - Router Information Structures - IPX Information Structures */ +#if (_WIN32_WINNT >= 0x0500) +typedef struct _IPX_IF_INFO { + ULONG AdminState; + ULONG NetbiosAccept; + ULONG NetbiosDeliver; +} IPX_IF_INFO,*PIPX_IF_INFO; +typedef IPX_SERVER_ENTRY IPX_STATIC_SERVICE_INFO,*PIPX_STATIC_SERVICE_INFO; +typedef struct _IPXWAN_IF_INFO { + ULONG AdminState; +} IPXWAN_IF_INFO,*PIPXWAN_IF_INFO; +#endif + +#ifdef __cplusplus +} +#endif +#endif |
