This file is indexed.

/usr/include/x86_64-linux-gnu/freerdp/client/file.h is in libfreerdp-dev 1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3.

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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
/**
 * FreeRDP: A Remote Desktop Protocol Implementation
 * .rdp file
 *
 * Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef FREERDP_CLIENT_RDP_FILE_H
#define FREERDP_CLIENT_RDP_FILE_H

#include <freerdp/api.h>
#include <freerdp/freerdp.h>

struct rdp_file
{
	DWORD UseMultiMon; /* use multimon */
	DWORD ScreenModeId; /* screen mode id */
	DWORD SpanMonitors; /* span monitors */
	DWORD SmartSizing; /* smartsizing */
	DWORD EnableSuperSpan; /* enablesuperpan */
	DWORD SuperSpanAccelerationFactor; /* superpanaccelerationfactor */

	DWORD DesktopWidth; /* desktopwidth */
	DWORD DesktopHeight; /* desktopheight */
	DWORD DesktopSizeId; /* desktop size id */
	DWORD SessionBpp; /* session bpp */

	DWORD Compression; /* compression */
	DWORD KeyboardHook; /* keyboardhook */
	DWORD DisableCtrlAltDel; /* disable ctrl+alt+del */

	DWORD AudioMode; /* audiomode */
	DWORD AudioQualityMode; /* audioqualitymode */
	DWORD AudioCaptureMode; /* audiocapturemode */
	DWORD VideoPlaybackMode; /* videoplaybackmode */

	DWORD ConnectionType; /* connection type */

	DWORD NetworkAutoDetect; /* networkautodetect */
	DWORD BandwidthAutoDetect; /* bandwidthautodetect */

	DWORD PinConnectionBar; /* pinconnectionbar */
	DWORD DisplayConnectionBar; /* displayconnectionbar */

	DWORD WorkspaceId; /* workspaceid */
	DWORD EnableWorkspaceReconnect; /* enableworkspacereconnect */

	DWORD DisableWallpaper; /* disable wallpaper */
	DWORD AllowFontSmoothing; /* allow font smoothing */
	DWORD AllowDesktopComposition; /* allow desktop composition */
	DWORD DisableFullWindowDrag; /* disable full window drag */
	DWORD DisableMenuAnims; /* disable menu anims */
	DWORD DisableThemes; /* disable themes */
	DWORD DisableCursorSetting; /* disable cursor setting */

	DWORD BitmapCacheSize; /* bitmapcachesize */
	DWORD BitmapCachePersistEnable; /* bitmapcachepersistenable */

	LPSTR Username; /* username */
	LPSTR Domain; /* domain */
	PBYTE Password51; /* password 51 */

	LPSTR FullAddress; /* full address */
	LPSTR AlternateFullAddress; /* alternate full address */
	DWORD ServerPort; /* server port */

	DWORD RedirectDrives; /* redirectdrives */
	DWORD RedirectPrinters; /* redirectprinters */
	DWORD RedirectComPorts; /* redirectcomports */
	DWORD RedirectSmartCards; /* redirectsmartcards */
	DWORD RedirectClipboard; /* redirectclipboard */
	DWORD RedirectPosDevices; /* redirectposdevices */
	DWORD RedirectDirectX; /* redirectdirectx */
	DWORD DisablePrinterRedirection; /* disableprinterredirection */
	DWORD DisableClipboardRedirection; /* disableclipboardredirection */
	LPSTR UsbDevicesToRedirect; /* usbdevicestoredirect */

	DWORD ConnectToConsole; /* connect to console */
	DWORD AdministrativeSession; /* administrative session */
	DWORD AutoReconnectionEnabled; /* autoreconnection enabled */
	DWORD AutoReconnectMaxRetries; /* autoreconnect max retries */

	DWORD PublicMode; /* public mode */
	DWORD AuthenticationLevel; /* authentication level */
	DWORD PromptCredentialOnce; /* promptcredentialonce */
	DWORD PromptForCredentials; /* prompt for credentials */
	DWORD PromptForCredentialsOnce; /* promptcredentialonce */
	DWORD NegotiateSecurityLayer; /* negotiate security layer */
	DWORD EnableCredSSPSupport; /* enablecredsspsupport */
	LPSTR LoadBalanceInfo; /* loadbalanceinfo */

	DWORD RemoteApplicationMode; /* remoteapplicationmode */
	LPSTR RemoteApplicationName; /* remoteapplicationname */
	LPSTR RemoteApplicationIcon; /* remoteapplicationicon */
	LPSTR RemoteApplicationProgram; /* remoteapplicationprogram */
	LPSTR RemoteApplicationFile; /* remoteapplicationfile */
	LPSTR RemoteApplicationGuid; /* remoteapplicationguid */
	LPSTR RemoteApplicationCmdLine; /* remoteapplicationcmdline */
	DWORD RemoteApplicationExpandCmdLine; /* remoteapplicationexpandcmdline */
	DWORD RemoteApplicationExpandWorkingDir; /* remoteapplicationexpandworkingdir */
	DWORD DisableConnectionSharing; /* disableconnectionsharing */
	DWORD DisableRemoteAppCapsCheck; /* disableremoteappcapscheck */

	LPSTR AlternateShell; /* alternate shell */
	LPSTR ShellWorkingDirectory; /* shell working directory */

	LPSTR GatewayHostname; /* gatewayhostname */
	DWORD GatewayUsageMethod; /* gatewayusagemethod */
	DWORD GatewayProfileUsageMethod; /* gatewayprofileusagemethod */
	DWORD GatewayCredentialsSource; /* gatewaycredentialssource */

	DWORD UseRedirectionServerName; /* use redirection server name */

	DWORD RdgIsKdcProxy; /* rdgiskdcproxy */
	LPSTR KdcProxyName; /* kdcproxyname */

	LPSTR DrivesToRedirect; /* drivestoredirect */
	LPSTR DevicesToRedirect; /* devicestoredirect */
	LPSTR WinPosStr; /* winposstr */
};

typedef struct rdp_file rdpFile;

#ifdef __cplusplus
extern "C" {
#endif

FREERDP_API BOOL freerdp_client_parse_rdp_file(rdpFile* file, const char* name);
FREERDP_API BOOL freerdp_client_parse_rdp_file_buffer(rdpFile* file, BYTE* buffer, size_t size);
FREERDP_API BOOL freerdp_client_populate_settings_from_rdp_file(rdpFile* file, rdpSettings* settings);

FREERDP_API BOOL freerdp_client_populate_rdp_file_from_settings(rdpFile* file, rdpSettings* settings);
FREERDP_API BOOL freerdp_client_write_rdp_file(rdpFile* file, const char* name, BOOL unicode);
FREERDP_API size_t freerdp_client_write_rdp_file_buffer(rdpFile* file, char* buffer, size_t size);

FREERDP_API rdpFile* freerdp_client_rdp_file_new(void);
FREERDP_API void freerdp_client_rdp_file_free(rdpFile* file);

#ifdef __cplusplus
}
#endif

#endif /* FREERDP_CLIENT_RDP_FILE_H */