This file is indexed.

/usr/x86_64-w64-mingw32/include/tssbx.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
 96
 97
 98
 99
100
101
102
103
104
105
106
/**
 * 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_TSSBX
#define _INC_TSSBX

#if (_WIN32_WINNT >= 0x0600)

#ifdef __cplusplus
extern "C" {
#endif

typedef enum _WTSSBX_ADDRESS_FAMILY {
  WTSSBX_ADDRESS_FAMILY_AF_UNSPEC    = 0,
  WTSSBX_ADDRESS_FAMILY_AF_INET      = 1,
  WTSSBX_ADDRESS_FAMILY_AF_INET6     = 2,
  WTSSBX_ADDRESS_FAMILY_AF_IPX       = 3,
  WTSSBX_ADDRESS_FAMILY_AF_NETBIOS   = 4
} WTSSBX_ADDRESS_FAMILY;

typedef enum _WTSSBX_MACHINE_DRAIN {
  WTSSBX_MACHINE_DRAIN_UNSPEC   = 0,
  WTSSBX_MACHINE_DRAIN_OFF      = 1,
  WTSSBX_MACHINE_DRAIN_ON       = 2
} WTSSBX_MACHINE_DRAIN;

typedef enum _WTSSBX_NOTIFICATION_TYPE {
  WTSSBX_MACHINE_SESSION_MODE_UNSPEC     = 0,
  WTSSBX_MACHINE_SESSION_MODE_SINGLE     = 1,
  WTSSBX_MACHINE_SESSION_MODE_MULTIPLE   = 2
} WTSSBX_NOTIFICATION_TYPE;

typedef enum _WTSSBX_MACHINE_STATE {
  WTSSBX_MACHINE_STATE_UNSPEC          = 0,
  WTSSBX_MACHINE_STATE_READY           = 1,
  WTSSBX_MACHINE_STATE_SYNCHRONIZING   = 2
} WTSSBX_MACHINE_STATE;

typedef enum _WTSSBX_NOTIFICATION_TYPE {
  WTSSBX_NOTIFICATION_REMOVED   = 1,
  WTSSBX_NOTIFICATION_CHANGED   = 2,
  WTSSBX_NOTIFICATION_ADDED     = 4,
  WTSSBX_NOTIFICATION_RESYNC    = 8
} WTSSBX_NOTIFICATION_TYPE;

typedef enum _WTSSBX_SESSION_STATE {
  WTSSBX_SESSION_STATE_UNSPEC         = 0,
  WTSSBX_SESSION_STATE_ACTIVE         = 1,
  WTSSBX_SESSION_STATE_DISCONNECTED   = 2
} WTSSBX_SESSION_STATE;

typedef struct _WTSSBX_IP_ADDRESS {
  WTSSBX_ADDRESS_FAMILY  AddressFamily;
  BYTE                   Address[16];
  unsigned short         PortNumber;
  DWORD                  dwScope;
} WTSSBX_IP_ADDRESS;

#define MaxFQDN_Len 256
#define MaxNetBiosName_Len 16

typedef struct _WTSSBX_MACHINE_CONNECT_INFO {
  WCHAR              wczMachineFQDN[MaxFQDN_Len + 1];
  WCHAR              wczMachineNetBiosName[MaxNetBiosName_Len + 1];
  DWORD              dwNumOfIPAddr;
  WTSSBX_IP_ADDRESS  IPaddr[MaxNumOfExposed_IPs];
} WTSSBX_MACHINE_CONNECT_INFO;

#define MaxFarm_Len 256

typedef struct _WTSSBX_MACHINE_INFO {
  WTSSBX_MACHINE_CONNECT_INFO  ClientConnectInfo;
  WCHAR                        wczFarmName[MaxFarm_Len + 1];
  WTSSBX_IP_ADDRESS            InternalIPAddress;
  DWORD                        dwMaxSessionsLimit;
  DWORD                        ServerWeight;
  WTSSBX_MACHINE_SESSION_MODE  SingleSessionMode;
  WTSSBX_MACHINE_DRAIN         InDrain;
  WTSSBX_MACHINE_STATE         MachineState;
} WTSSBX_MACHINE_INFO;

#define MaxUserName_Len 104
#define MaxDomainName_Len 256
#define MaxAppName_Len 256

typedef struct _WTSSBX_SESSION_INFO {
  WCHAR                 wszUserName[MaxUserName_Len + 1];
  WCHAR                 wszDomainName[MaxDomainName_Len + 1];
  WCHAR                 ApplicationType[MaxAppName_Len + 1];
  DWORD                 dwSessionId;
  FILETIME              CreateTime;
  FILETIME              DisconnectTime;
  WTSSBX_SESSION_STATE  SessionState;
} WTSSBX_SESSION_INFO;

/* IID_IWTSSBPlugin is defined as DC44BE78-B18D-4399-B210-641BF67A002C */

#ifdef __cplusplus
}
#endif

#endif /*(_WIN32_WINNT >= 0x0600)*/

#endif /*_INC_TSSBX*/