/usr/i686-w64-mingw32/include/ipxsap.h is in mingw-w64-i686-dev 2.0.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | /**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _IPXSAP_
#define _IPXSAP_
#include <ipxconst.h>
typedef struct _SAP_GLOBAL_INFO {
DWORD EventLogMask;
} SAP_GLOBAL_INFO,*PSAP_GLOBAL_INFO;
typedef struct _SAP_IF_INFO {
ULONG AdminState;
ULONG UpdateMode;
ULONG PacketType;
ULONG Supply;
ULONG Listen;
ULONG GetNearestServerReply;
ULONG PeriodicUpdateInterval;
ULONG AgeIntervalMultiplier;
} SAP_IF_INFO,*PSAP_IF_INFO;
typedef struct _SAP_SERVICE_FILTER_INFO {
__C89_NAMELESS union {
USHORT ServiceType;
ULONG ServiceType_align;
};
UCHAR ServiceName[48];
} SAP_SERVICE_FILTER_INFO,*PSAP_SERVICE_FILTER_INFO;
typedef struct _SAP_IF_FILTERS {
ULONG SupplyFilterAction;
ULONG SupplyFilterCount;
ULONG ListenFilterAction;
ULONG ListenFilterCount;
SAP_SERVICE_FILTER_INFO ServiceFilter[1];
} SAP_IF_FILTERS,*PSAP_IF_FILTERS;
#define IPX_SERVICE_FILTER_PERMIT 1
#define IPX_SERVICE_FILTER_DENY 2
typedef struct _SAP_IF_CONFIG {
SAP_IF_INFO SapIfInfo;
SAP_IF_FILTERS SapIfFilters;
} SAP_IF_CONFIG,*PSAP_IF_CONFIG;
#define SAP_BASE_ENTRY 0
#define SAP_INTERFACE_TABLE 1
typedef struct _SAP_MIB_BASE {
ULONG SapOperState;
} SAP_MIB_BASE,*PSAP_MIB_BASE;
typedef struct _SAP_IF_STATS {
ULONG SapIfOperState;
ULONG SapIfInputPackets;
ULONG SapIfOutputPackets;
} SAP_IF_STATS,*PSAP_IF_STATS;
typedef struct _SAP_INTERFACE {
ULONG InterfaceIndex;
SAP_IF_INFO SapIfInfo;
SAP_IF_STATS SapIfStats;
} SAP_INTERFACE,*PSAP_INTERFACE;
typedef struct _SAP_MIB_GET_INPUT_DATA {
ULONG TableId;
ULONG InterfaceIndex;
} SAP_MIB_GET_INPUT_DATA,*PSAP_MIB_GET_INPUT_DATA;
typedef struct _SAP_MIB_SET_INPUT_DATA {
ULONG TableId;
SAP_INTERFACE SapInterface;
} SAP_MIB_SET_INPUT_DATA,*PSAP_MIB_SET_INPUT_DATA;
#endif
|