/usr/x86_64-w64-mingw32/include/dhcpv6csdk.h is in mingw-w64-x86-64-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 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | /**
* 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 _INC_DHCPV6CSDK
#define _INC_DHCPV6CSDK
#ifdef __cplusplus
extern "C" {
#endif
#if (_WIN32_WINNT >= 0x0600)
typedef enum _StatusCode {
STATUS_NO_ERROR,
STATUS_UNSPECIFIED_FAILURE,
STATUS_NO_BINDING,
STATUS_NOPREFIX_AVAIL
} StatusCode;
typedef struct _DHCPV6CAPI_CLASSID {
ULONG Flags;
LPBYTE Data;
ULONG nBytesData;
} DHCPV6CAPI_CLASSID, *PDHCPV6CAPI_CLASSID, *LPDHCPV6CAPI_CLASSID;
typedef struct _DHCPV6CAPI_PARAMS {
ULONG Flags;
ULONG OptionId;
WINBOOL IsVendor;
LPBYTE Data;
DWORD nBytesData;
} DHCPV6CAPI_PARAMS, *PDHCPV6CAPI_PARAMS, *LPDHCPV6CAPI_PARAMS;
typedef struct _DHCPV6Prefix {
UCHAR prefix[16];
DWORD prefixLength;
DWORD preferredLifeTime;
DWORD validLifeTime;
StatusCode status;
} DHCPV6Prefix, *PDHCPV6Prefix, *LPDHCPV6Prefix;
typedef struct _DHCPV6CAPI_PARAMS_ARRAY {
ULONG nParams;
LPDHCPV6CAPI_PARAMS Params;
} DHCPV6CAPI_PARAMS_ARRAY, *PDHCPV6CAPI_PARAMS_ARRAY, *LPDHCPV6CAPI_PARAMS_ARRAY;
typedef struct _DHCPV6PrefixLeaseInformation {
DWORD nPrefixes;
LPDHCPV6Prefix prefixArray;
DWORD iaid;
time_t T1;
time_t T2;
time_t MaxLeaseExpirationTime;
time_t LastRenewalTime;
StatusCode status;
LPBYTE ServerId;
DWORD ServerIdLen;
} DHCPV6PrefixLeaseInformation, *PDHCPV6PrefixLeaseInformation, *LPDHCPV6PrefixLeaseInformation, *LPDHCPV6CAPIPrefixLeaseInformation;
VOID APIENTRY Dhcpv6CApiCleanup(void);
DWORD APIENTRY Dhcpv6CApiInitialize(
LPDWORD Version
);
DWORD APIENTRY Dhcpv6RenewPrefix(
LPWSTR adapterName,
LPDHCPV6CAPI_CLASSID classId,
LPDHCPV6CAPIPrefixLeaseInformation prefixleaseInfo
);
DWORD APIENTRY Dhcpv6RenewPrefix(
LPWSTR adapterName,
LPDHCPV6CAPI_CLASSID classId,
LPDHCPV6PrefixLeaseInformation prefixleaseInfo,
DWORD pdwTimeToWait,
DWORD bValidatePrefix
);
DWORD APIENTRY Dhcpv6RequestPrefix(
LPWSTR adapterName,
LPDHCPV6CAPI_CLASSID classId,
LPDHCPV6PrefixLeaseInformation prefixleaseInfo,
DWORD pdwTimeToWait
);
#endif /* (_WIN32_WINNT >= 0x0600) */
#ifdef __cplusplus
}
#endif
#endif /*_INC_DHCPV6CSDK*/
|