-#ifndef _FREERDP_BUILD_FLAGS_H
-#define _FREERDP_BUILD_FLAGS_H
+#ifndef FREERDP_BUILD_FLAGS_H
+#define FREERDP_BUILD_FLAGS_H
#define CFLAGS "${CMAKE_C_FLAGS}"
#define COMPILER_ID "${CMAKE_C_COMPILER_ID}"
#define BUILD_CONFIG "${FREERDP_BUILD_CONFIG}"
#define BUILD_TYPE "${CMAKE_BUILD_TYPE}"
-#endif /*_FREERDP_BUILD_FLAGS_H */
+#endif /* FREERDP_BUILD_FLAGS_H */
* limitations under the License.
*/
-#ifndef FREERDP_AUDIN_CLIENT_MAIN_H
-#define FREERDP_AUDIN_CLIENT_MAIN_H
+#ifndef FREERDP_CHANNEL_AUDIN_CLIENT_MAIN_H
+#define FREERDP_CHANNEL_AUDIN_CLIENT_MAIN_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#define DEBUG_DVC(...) do { } while (0)
#endif
-#endif /* FREERDP_AUDIN_CLIENT_MAIN_H */
+#endif /* FREERDP_CHANNEL_AUDIN_CLIENT_MAIN_H */
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef OPENSL_IO
-#define OPENSL_IO
+#ifndef FREERDP_CHANNEL_AUDIN_CLIENT_OPENSL_IO_H
+#define FREERDP_CHANNEL_AUDIN_CLIENT_OPENSL_IO_H
#include <SLES/OpenSLES.h>
#include <SLES/OpenSLES_Android.h>
};
#endif
-#endif // #ifndef OPENSL_IO
+#endif /* FREERDP_CHANNEL_AUDIN_CLIENT_OPENSL_IO_H */
* limitations under the License.
*/
-#ifndef __CLIPRDR_FORMAT_H
-#define __CLIPRDR_FORMAT_H
+#ifndef FREERDP_CHANNEL_CLIPRDR_CLIENT_FORMAT_H
+#define FREERDP_CHANNEL_CLIPRDR_CLIENT_FORMAT_H
UINT cliprdr_process_format_list(cliprdrPlugin* cliprdr, wStream* s, UINT32 dataLen, UINT16 msgFlags);
UINT cliprdr_process_format_list_response(cliprdrPlugin* cliprdr, wStream* s, UINT32 dataLen, UINT16 msgFlags);
UINT cliprdr_process_format_data_request(cliprdrPlugin* cliprdr, wStream* s, UINT32 dataLen, UINT16 msgFlags);
UINT cliprdr_process_format_data_response(cliprdrPlugin* cliprdr, wStream* s, UINT32 dataLen, UINT16 msgFlags);
-#endif /* __CLIPRDR_FORMAT_H */
+#endif /* FREERDP_CHANNEL_CLIPRDR_CLIENT_FORMAT_H */
* limitations under the License.
*/
-#ifndef __CLIPRDR_MAIN_H
-#define __CLIPRDR_MAIN_H
+#ifndef FREERDP_CHANNEL_CLIPRDR_CLIENT_MAIN_H
+#define FREERDP_CHANNEL_CLIPRDR_CLIENT_MAIN_H
#include <winpr/stream.h>
#define DEBUG_CLIPRDR(...) do { } while (0)
#endif
-#endif /* __CLIPRDR_MAIN_H */
+#endif /* FREERDP_CHANNEL_CLIPRDR_CLIENT_MAIN_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_SERVER_CLIPRDR_MAIN_H
-#define FREERDP_CHANNEL_SERVER_CLIPRDR_MAIN_H
+#ifndef FREERDP_CHANNEL_CLIPRDR_SERVER_MAIN_H
+#define FREERDP_CHANNEL_CLIPRDR_SERVER_MAIN_H
#include <winpr/crt.h>
#include <winpr/synch.h>
};
typedef struct _cliprdr_server_private CliprdrServerPrivate;
-#endif /* FREERDP_CHANNEL_SERVER_CLIPRDR_MAIN_H */
+#endif /* FREERDP_CHANNEL_CLIPRDR_SERVER_MAIN_H */
* limitations under the License.
*/
-#ifndef __DRDYNVC_MAIN_H
-#define __DRDYNVC_MAIN_H
+#ifndef FREERDP_CHANNEL_DRDYNVC_CLIENT_MAIN_H
+#define FREERDP_CHANNEL_DRDYNVC_CLIENT_MAIN_H
#include <winpr/wlog.h>
#include <winpr/synch.h>
IWTSVirtualChannelManager* channel_mgr;
};
-#endif
+#endif /* FREERDP_CHANNEL_DRDYNVC_CLIENT_MAIN_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_SERVER_DRDYNVC_MAIN_H
-#define FREERDP_CHANNEL_SERVER_DRDYNVC_MAIN_H
+#ifndef FREERDP_CHANNEL_DRDYNVC_SERVER_MAIN_H
+#define FREERDP_CHANNEL_DRDYNVC_SERVER_MAIN_H
#include <winpr/crt.h>
#include <winpr/synch.h>
void* ChannelHandle;
};
-#endif /* FREERDP_CHANNEL_SERVER_DRDYNVC_MAIN_H */
+#endif /* FREERDP_CHANNEL_DRDYNVC_SERVER_MAIN_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_DRIVE_FILE_H
-#define FREERDP_CHANNEL_DRIVE_FILE_H
+#ifndef FREERDP_CHANNEL_DRIVE_CLIENT_FILE_H
+#define FREERDP_CHANNEL_DRIVE_CLIENT_FILE_H
#include <winpr/stream.h>
#include <freerdp/channels/log.h>
extern UINT sys_code_page;
-#endif /* FREERDP_CHANNEL_DRIVE_FILE_H */
+#endif /* FREERDP_CHANNEL_DRIVE_CLIENT_FILE_H */
* limitations under the License.
*/
-#ifndef __ECHO_MAIN_H
-#define __ECHO_MAIN_H
+#ifndef FREERDP_CHANNEL_ECHO_CLIENT_MAIN_H
+#define FREERDP_CHANNEL_ECHO_CLIENT_MAIN_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#define DEBUG_DVC(...) do { } while (0)
#endif
-#endif /* __ECHO_MAIN_H */
+#endif /* FREERDP_CHANNEL_ECHO_CLIENT_MAIN_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_SERVER_ENCOMSP_MAIN_H
-#define FREERDP_CHANNEL_SERVER_ENCOMSP_MAIN_H
+#ifndef FREERDP_CHANNEL_ENCOMSP_SERVER_MAIN_H
+#define FREERDP_CHANNEL_ENCOMSP_SERVER_MAIN_H
#include <winpr/crt.h>
#include <winpr/synch.h>
void* ChannelHandle;
};
-#endif /* FREERDP_CHANNEL_SERVER_ENCOMSP_MAIN_H */
+#endif /* FREERDP_CHANNEL_ENCOMSP_SERVER_MAIN_H */
* limitations under the License.
*/
-#ifndef __PRINTER_CUPS_H
-#define __PRINTER_CUPS_H
+#ifndef FREERDP_CHANNEL_PRINTER_CLIENT_CUPS_H
+#define FREERDP_CHANNEL_PRINTER_CLIENT_CUPS_H
#include "printer_main.h"
rdpPrinterDriver* printer_cups_get_driver(void);
-#endif
+#endif /* FREERDP_CHANNEL_PRINTER_CLIENT_CUPS_H */
* limitations under the License.
*/
-#ifndef __PRINTER_MAIN_H
-#define __PRINTER_MAIN_H
+#ifndef FREERDP_CHANNEL_PRINTER_CLIENT_MAIN_H
+#define FREERDP_CHANNEL_PRINTER_CLIENT_MAIN_H
#include <freerdp/channels/rdpdr.h>
pcClosePrintJob Close;
};
-#endif
+#endif /* FREERDP_CHANNEL_PRINTER_CLIENT_MAIN_H */
* limitations under the License.
*/
-#ifndef __PRINTER_WIN_H
-#define __PRINTER_WIN_H
+#ifndef FREERDP_CHANNEL_PRINTER_CLIENT_WIN_H
+#define FREERDP_CHANNEL_PRINTER_CLIENT_WIN_H
#include <freerdp/channels/log.h>
#define DEBUG_WINPR(...) do { } while (0)
#endif
-#endif
+#endif /* FREERDP_CHANNEL_PRINTER_CLIENT_WIN_H */
* limitations under the License.
*/
-#ifndef __CHANNELS_PRINTER_PRINTER_H_
-#define __CHANNELS_PRINTER_PRINTER_H_
+#ifndef FREERDP_CHANNEL_PRINTER_PRINTER_H
+#define FREERDP_CHANNEL_PRINTER_PRINTER_H
/* SERVER_PRINTER_CACHE_EVENT.cachedata */
#define RDPDR_ADD_PRINTER_EVENT 0x00000001
#define RDPDR_PRINTER_ANNOUNCE_FLAG_XPSFORMAT 0x00000010
-#endif /* __CHANNELS_PRINTER_PRINTER_H_ */
+#endif /* FREERDP_CHANNEL_PRINTER_PRINTER_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_CLIENT_RAIL_MAIN_H
-#define FREERDP_CHANNEL_CLIENT_RAIL_MAIN_H
+#ifndef FREERDP_CHANNEL_RAIL_CLIENT_MAIN_H
+#define FREERDP_CHANNEL_RAIL_CLIENT_MAIN_H
#include <freerdp/rail.h>
#include <freerdp/svc.h>
RailClientContext* rail_get_client_interface(railPlugin* rail);
UINT rail_send_channel_data(railPlugin* rail, void* data, size_t length);
-#endif /* FREERDP_CHANNEL_CLIENT_RAIL_MAIN_H */
+#endif /* FREERDP_CHANNEL_RAIL_CLIENT_MAIN_H */
* limitations under the License.
*/
-#ifndef __RAIL_ORDERS_H
-#define __RAIL_ORDERS_H
+#ifndef FREERDP_CHANNEL_RAIL_CLIENT_ORDERS_H
+#define FREERDP_CHANNEL_RAIL_CLIENT_ORDERS_H
#include <freerdp/channels/log.h>
UINT rail_send_client_get_appid_req_order(railPlugin* rail, RAIL_GET_APPID_REQ_ORDER* getAppIdReq);
UINT rail_send_client_langbar_info_order(railPlugin* rail, RAIL_LANGBAR_INFO_ORDER* langBarInfo);
-#endif /* __RAIL_ORDERS_H */
+#endif /* FREERDP_CHANNEL_RAIL_CLIENT_ORDERS_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_SERVER_RDPDR_MAIN_H
-#define FREERDP_CHANNEL_SERVER_RDPDR_MAIN_H
+#ifndef FREERDP_CHANNEL_RDPDR_SERVER_MAIN_H
+#define FREERDP_CHANNEL_RDPDR_SERVER_MAIN_H
#include <winpr/collections.h>
#include <winpr/crt.h>
};
typedef struct _RDPDR_IRP RDPDR_IRP;
-#endif /* FREERDP_CHANNEL_SERVER_RDPDR_MAIN_H */
+#endif /* FREERDP_CHANNEL_RDPDR_SERVER_MAIN_H */
* limitations under the License.
*/
-#ifndef __FREERDP_CHANNEL_SERVER_RDPEI_MAIN_H_
-#define __FREERDP_CHANNEL_SERVER_RDPEI_MAIN_H_
+#ifndef FREERDP_CHANNEL_RDPEI_SERVER_MAIN_H
+#define FREERDP_CHANNEL_RDPEI_SERVER_MAIN_H
#include <winpr/crt.h>
#include <winpr/synch.h>
-#endif /* FREERDP_CHANNEL_SERVER_RDPEI_MAIN_H_ */
+#endif /* FREERDP_CHANNEL_RDPEI_SERVER_MAIN_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_RDPGFX_CLIENT_COMMON_H
-#define FREERDP_CHANNEL_RDPGFX_CLIENT_COMMON_H
+#ifndef FREERDP_CHANNEL_RDPGFX_COMMON_H
+#define FREERDP_CHANNEL_RDPGFX_COMMON_H
#include <winpr/crt.h>
#include <winpr/stream.h>
FREERDP_LOCAL UINT rdpgfx_read_color32(wStream* s, RDPGFX_COLOR32* color32);
FREERDP_LOCAL UINT rdpgfx_write_color32(wStream* s, RDPGFX_COLOR32* color32);
-#endif /* FREERDP_CHANNEL_RDPGFX_CLIENT_COMMON_H */
+#endif /* FREERDP_CHANNEL_RDPGFX_COMMON_H */
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef OPENSL_IO
-#define OPENSL_IO
+#ifndef FREERDP_CHANNEL_RDPSND_CLIENT_OPENSL_IO_H
+#define FREERDP_CHANNEL_RDPSND_CLIENT_OPENSL_IO_H
#include <SLES/OpenSLES.h>
#include <SLES/OpenSLES_Android.h>
};
#endif
-#endif // #ifndef OPENSL_IO
+#endif /* FREERDP_CHANNEL_RDPSND_CLIENT_OPENSL_IO_H */
* limitations under the License.
*/
-#ifndef __RDPSND_MAIN_H
-#define __RDPSND_MAIN_H
+#ifndef FREERDP_CHANNEL_RDPSND_CLIENT_MAIN_H
+#define FREERDP_CHANNEL_RDPSND_CLIENT_MAIN_H
#include <freerdp/api.h>
#include <freerdp/svc.h>
UINT rdpsnd_virtual_channel_write(rdpsndPlugin* rdpsnd, wStream* s);
-#endif /* __RDPSND_MAIN_H */
+#endif /* FREERDP_CHANNEL_RDPSND_CLIENT_MAIN_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_SERVER_RDPSND_MAIN_H
-#define FREERDP_CHANNEL_SERVER_RDPSND_MAIN_H
+#ifndef FREERDP_CHANNEL_RDPSND_SERVER_MAIN_H
+#define FREERDP_CHANNEL_RDPSND_SERVER_MAIN_H
#include <winpr/crt.h>
#include <winpr/synch.h>
CRITICAL_SECTION lock; /* Protect out_buffer and related parameters */
};
-#endif /* FREERDP_CHANNEL_SERVER_RDPSND_MAIN_H */
+#endif /* FREERDP_CHANNEL_RDPSND_SERVER_MAIN_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_SERVER_REMDESK_MAIN_H
-#define FREERDP_CHANNEL_SERVER_REMDESK_MAIN_H
+#ifndef FREERDP_CHANNEL_REMDESK_SERVER_MAIN_H
+#define FREERDP_CHANNEL_REMDESK_SERVER_MAIN_H
#include <winpr/crt.h>
#include <winpr/synch.h>
UINT32 Version;
};
-#endif /* FREERDP_CHANNEL_SERVER_REMDESK_MAIN_H */
+#endif /* FREERDP_CHANNEL_REMDESK_SERVER_MAIN_H */
* limitations under the License.
*/
-#ifndef __WTSVC_H
-#define __WTSVC_H
+#ifndef FREERDP_CHANNEL_SERVER_CHANNELS_H
+#define FREERDP_CHANNEL_SERVER_CHANNELS_H
-#endif /* __WTSVC_H */
+#endif /* FREERDP_CHANNEL_SERVER_CHANNELS_H */
* limitations under the License.
*/
-#ifndef _TSMF_PLATFORM_H_
-#define _TSMF_PLATFORM_H_
+#ifndef FREERDP_CHANNEL_TSMF_CLIENT_GST_PLATFORM_H
+#define FREERDP_CHANNEL_TSMF_CLIENT_GST_PLATFORM_H
#include <gst/gst.h>
#include <tsmf_decoder.h>
BOOL tsmf_gstreamer_add_pad(TSMFGstreamerDecoder* mdecoder);
void tsmf_gstreamer_remove_pad(TSMFGstreamerDecoder* mdecoder);
-#endif
+#endif /* FREERDP_CHANNEL_TSMF_CLIENT_GST_PLATFORM_H */
* limitations under the License.
*/
-#ifndef __TSMF_AUDIO_H
-#define __TSMF_AUDIO_H
+#ifndef FREERDP_CHANNEL_TSMF_CLIENT_AUDIO_H
+#define FREERDP_CHANNEL_TSMF_CLIENT_AUDIO_H
#include "tsmf_types.h"
ITSMFAudioDevice* tsmf_load_audio_device(const char* name, const char* device);
-#endif
-
+#endif /* FREERDP_CHANNEL_TSMF_CLIENT_AUDIO_H */
* limitations under the License.
*/
-#ifndef __TSMF_CODEC
-#define __TSMF_CODEC
+#ifndef FREERDP_CHANNEL_TSMF_CLIENT_CODEC_H
+#define FREERDP_CHANNEL_TSMF_CLIENT_CODEC_H
#include "tsmf_types.h"
BOOL tsmf_codec_parse_media_type(TS_AM_MEDIA_TYPE* mediatype, wStream* s);
BOOL tsmf_codec_check_media_type(const char* decoder_name, wStream* s);
-#endif
+#endif /* FREERDP_CHANNEL_TSMF_CLIENT_CODEC_H */
* limitations under the License.
*/
-#ifndef __TSMF_CONSTANTS_H
-#define __TSMF_CONSTANTS_H
+#ifndef FREERDP_CHANNEL_TSMF_CLIENT_CONSTANTS_H
+#define FREERDP_CHANNEL_TSMF_CLIENT_CONSTANTS_H
#define GUID_SIZE 16
#define TSMF_BUFFER_PADDING_SIZE 8
#define TSMF_FORMAT_TYPE_VIDEOINFO2 4
#define TSMF_FORMAT_TYPE_MPEG1VIDEOINFO 5
-#endif
-
+#endif /* FREERDP_CHANNEL_TSMF_CLIENT_CONSTANTS_H */
* limitations under the License.
*/
-#ifndef __TSMF_DECODER_H
-#define __TSMF_DECODER_H
+#ifndef FREERDP_CHANNEL_TSMF_CLIENT_DECODER_H
+#define FREERDP_CHANNEL_TSMF_CLIENT_DECODER_H
#include "tsmf_types.h"
ITSMFDecoder *tsmf_load_decoder(const char *name, TS_AM_MEDIA_TYPE *media_type);
BOOL tsmf_check_decoder_available(const char* name);
-#endif
-
+#endif /* FREERDP_CHANNEL_TSMF_CLIENT_DECODER_H */
* limitations under the License.
*/
-#ifndef __TSMF_IFMAN_H
-#define __TSMF_IFMAN_H
+#ifndef FREERDP_CHANNEL_TSMF_CLIENT_IFMAN_H
+#define FREERDP_CHANNEL_TSMF_CLIENT_IFMAN_H
#include <freerdp/freerdp.h>
UINT tsmf_ifman_on_playback_stopped(TSMF_IFMAN* ifman);
UINT tsmf_ifman_on_playback_rate_changed(TSMF_IFMAN* ifman);
-#endif
+#endif /* FREERDP_CHANNEL_TSMF_CLIENT_IFMAN_H */
* limitations under the License.
*/
-#ifndef __TSMF_MAIN_H
-#define __TSMF_MAIN_H
+#ifndef FREERDP_CHANNEL_TSMF_CLIENT_MAIN_H
+#define FREERDP_CHANNEL_TSMF_CLIENT_MAIN_H
#include <freerdp/freerdp.h>
BOOL tsmf_playback_ack(IWTSVirtualChannelCallback* pChannelCallback,
UINT32 message_id, UINT64 duration, UINT32 data_size);
-#endif
-
+#endif /* FREERDP_CHANNEL_TSMF_CLIENT_MAIN_H */
* streams in each presentation.
*/
-#ifndef __TSMF_MEDIA_H
-#define __TSMF_MEDIA_H
+#ifndef FREERDP_CHANNEL_TSMF_CLIENT_MEDIA_H
+#define FREERDP_CHANNEL_TSMF_CLIENT_MEDIA_H
#include <freerdp/freerdp.h>
BOOL tsmf_media_init(void);
void tsmf_stream_start_threads(TSMF_STREAM* stream);
-#endif
+#endif /* FREERDP_CHANNEL_TSMF_CLIENT_MEDIA_H */
* limitations under the License.
*/
-#ifndef __TSMF_TYPES_H
-#define __TSMF_TYPES_H
+#ifndef FREERDP_CHANNEL_TSMF_CLIENT_TYPES_H
+#define FREERDP_CHANNEL_TSMF_CLIENT_TYPES_H
#ifdef HAVE_CONFIG_H
#include "config.h"
UINT32 ExtraDataSize;
} TS_AM_MEDIA_TYPE;
-#endif
+#endif /* FREERDP_CHANNEL_TSMF_CLIENT_TYPES_H */
* limitations under the License.
*/
-#ifndef __DATA_TRANSFER_H
-#define __DATA_TRANSFER_H
+#ifndef FREERDP_CHANNEL_URBDRC_CLIENT_DATA_TRANSFER_H
+#define FREERDP_CHANNEL_URBDRC_CLIENT_DATA_TRANSFER_H
#include "urbdrc_main.h"
void *urbdrc_process_udev_data_transfer(void* arg);
-#endif
+#endif /* FREERDP_CHANNEL_URBDRC_CLIENT_DATA_TRANSFER_H */
* limitations under the License.
*/
-#ifndef __ISOCH_QUEUE_H
-#define __ISOCH_QUEUE_H
+#ifndef FREERDP_CHANNEL_URBDRC_CLIENT_ISOCH_QUEUE_H
+#define FREERDP_CHANNEL_URBDRC_CLIENT_ISOCH_QUEUE_H
#include "urbdrc_types.h"
-#endif /* __ISOCH_QUEUE_H */
+#endif /* FREERDP_CHANNEL_URBDRC_CLIENT_ISOCH_QUEUE_H */
-#ifndef __LIBUSB_UDEVICE_H
-#define __LIBUSB_UDEVICE_H
+#ifndef FREERDP_CHANNEL_URBDRC_CLIENT_LIBUSB_UDEVICE_H
+#define FREERDP_CHANNEL_URBDRC_CLIENT_LIBUSB_UDEVICE_H
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
#include <libusb.h>
extern int libusb_debug;
-#endif /* __LIBUSB_UDEVICE_H */
+#endif /* FREERDP_CHANNEL_URBDRC_CLIENT_LIBUSB_UDEVICE_H */
* limitations under the License.
*/
-#ifndef __REQUEST_QUEUE_H
-#define __REQUEST_QUEUE_H
+#ifndef FREERDP_CHANNEL_URBDRC_CLIENT_LIBUSB_REQUEST_QUEUE_H
+#define FREERDP_CHANNEL_URBDRC_CLIENT_LIBUSB_REQUEST_QUEUE_H
#include "urbdrc_types.h"
REQUEST_QUEUE* request_queue_new(void);
-#endif /* __REQUEST_QUEUE_H */
+#endif /* FREERDP_CHANNEL_URBDRC_CLIENT_LIBUSB_REQUEST_QUEUE_H */
* limitations under the License.
*/
-#ifndef __SEACH_MAN_H
-#define __SEACH_MAN_H
+#ifndef FREERDP_CHANNEL_URBDRC_CLIENT_SEARCHMAN_H
+#define FREERDP_CHANNEL_URBDRC_CLIENT_SEARCHMAN_H
#include "urbdrc_types.h"
USB_SEARCHMAN* searchman_new(void* urbdrc, UINT32 UsbDevice);
-#endif
+#endif /* FREERDP_CHANNEL_URBDRC_CLIENT_SEARCHMAN_H */
-#ifndef __URBDRC_MAIN_H
-#define __URBDRC_MAIN_H
+#ifndef FREERDP_CHANNEL_URBDRC_CLIENT_MAIN_H
+#define FREERDP_CHANNEL_URBDRC_CLIENT_MAIN_H
#include "searchman.h"
#include "isoch_queue.h"
void (*wait_urb) (IUDEVMAN* idevman);
};
-#endif /* __URBDRC_MAIN_H */
+#endif /* FREERDP_CHANNEL_URBDRC_CLIENT_MAIN_H */
* limitations under the License.
*/
-#ifndef __URBDRC_TYPES_H
-#define __URBDRC_TYPES_H
+#ifndef FREERDP_CHANNEL_URBDRC_CLIENT_TYPES_H
+#define FREERDP_CHANNEL_URBDRC_CLIENT_TYPES_H
#ifdef HAVE_CONFIG_H
#include "config.h"
_t = (_tp.tv_sec * 1000) + (_tp.tv_usec / 1000); \
} while (0)
-#endif /* __URBDRC_TYPES_H */
+#endif /* FREERDP_CHANNEL_URBDRC_CLIENT_TYPES_H */
* limitations under the License.
*/
-#ifndef __ANDROID_CLIPRDR_H__
-#define __ANDROID_CLIPRDR_H__
+#ifndef FREERDP_CLIENT_ANDROID_CLIPRDR_H
+#define FREERDP_CLIENT_ANDROID_CLIPRDR_H
#include <freerdp/client/cliprdr.h>
#include <freerdp/api.h>
FREERDP_LOCAL BOOL android_cliprdr_uninit(androidContext* afc,
CliprdrClientContext* cliprdr);
-#endif /* __ANDROID_CLIPRDR_H__ */
+#endif /* FREERDP_CLIENT_ANDROID_CLIPRDR_H */
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef FREERDP_ANDROID_EVENT_H
-#define FREERDP_ANDROID_EVENT_H
+#ifndef FREERDP_CLIENT_ANDROID_EVENT_H
+#define FREERDP_CLIENT_ANDROID_EVENT_H
#include <freerdp/freerdp.h>
#include <freerdp/api.h>
FREERDP_LOCAL BOOL android_event_queue_init(freerdp* inst);
FREERDP_LOCAL void android_event_queue_uninit(freerdp* inst);
-#endif /* FREERDP_ANDROID_EVENT_H */
+#endif /* FREERDP_CLIENT_ANDROID_EVENT_H */
If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef __ANDROID_FREERDP_H
-#define __ANDROID_FREERDP_H
+#ifndef FREERDP_CLIENT_ANDROID_FREERDP_H
+#define FREERDP_CLIENT_ANDROID_FREERDP_H
#include <jni.h>
};
typedef struct android_context androidContext;
-#endif /* __ANDROID_FREERDP_H */
+#endif /* FREERDP_CLIENT_ANDROID_FREERDP_H */
limitations under the License.
*/
-#ifndef __ANDROID_FREERDP_JNI_H
-#define __ANDROID_FREERDP_JNI_H
+#ifndef FREERDP_CLIENT_ANDROID_FREERDP_JNI_H
+#define FREERDP_CLIENT_ANDROID_FREERDP_JNI_H
#define JAVA_LIBFREERDP_CLASS "com/freerdp/freerdpcore/services/LibFreeRDP"
#define JAVA_CONTEXT_CLASS "android/content/Context"
#define JAVA_FILE_CLASS "java/io/File"
-#endif /* __ANDROID_FREERDP_JNI_H */
+#endif /* FREERDP_CLIENT_ANDROID_FREERDP_JNI_H */
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef FREERDP_ANDROID_JNI_CALLBACK_H
-#define FREERDP_ANDROID_JNI_CALLBACK_H
+#ifndef FREERDP_CLIENT_ANDROID_JNI_CALLBACK_H
+#define FREERDP_CLIENT_ANDROID_JNI_CALLBACK_H
#include <jni.h>
#include <stdarg.h>
FREERDP_LOCAL jint freerdp_callback_int_result(const char* callback,
const char* signature, ...);
-#endif /* FREERDP_ANDROID_JNI_CALLBACK_H */
+#endif /* FREERDP_CLIENT_ANDROID_JNI_CALLBACK_H */
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef _ANDROID_JNI_UTILS_H_
-#define _ANDROID_JNI_UTILS_H_
+#ifndef FREERDP_CLIENT_ANDROID_JNI_UTILS_H
+#define FREERDP_CLIENT_ANDROID_JNI_UTILS_H
#include <jni.h>
#include <freerdp/api.h>
}
#endif
-#endif /* _ANDROID_JNI_UTILS_H_ */
+#endif /* FREERDP_CLIENT_ANDROID_JNI_UTILS_H */
* limitations under the License.
*/
-#ifndef __DF_EVENT_H
-#define __DF_EVENT_H
+#ifndef FREERDP_CLIENT_DF_EVENT_H
+#define FREERDP_CLIENT_DF_EVENT_H
#include "dfreerdp.h"
void df_keyboard_init(void);
BOOL df_event_process(freerdp* instance, DFBEvent* event);
-#endif /* __DF_EVENT_H */
+#endif /* FREERDP_CLIENT_DF_EVENT_H */
* limitations under the License.
*/
-#ifndef __DF_GRAPHICS_H
-#define __DF_GRAPHICS_H
+#ifndef FREERDP_CLIENT_DF_GRAPHICS_H
+#define FREERDP_CLIENT_DF_GRAPHICS_H
#include "dfreerdp.h"
void df_register_graphics(rdpGraphics* graphics);
-#endif /* __DF_GRAPHICS_H */
+#endif /* FREERDP_CLIENT_DF_GRAPHICS_H */
* limitations under the License.
*/
-#ifndef __DFREERDP_H
-#define __DFREERDP_H
+#ifndef FREERDP_CLIENT_DF_FREERDP_H
+#define FREERDP_CLIENT_DF_FREERDP_H
#include "config.h"
#include <freerdp/freerdp.h>
IDirectFBEventBuffer* event_buffer;
};
-#endif /* __DFREERDP_H */
+#endif /* FREERDP_CLIENT_DF_FREERDP_H */
-#ifndef MRDPVIEW_H
-#define MRDPVIEW_H
+#ifndef FREERDP_CLIENT_MAC_MRDPVIEW_H
+#define FREERDP_CLIENT_MAC_MRDPVIEW_H
/**
* FreeRDP: A Remote Desktop Protocol Implementation
BOOL mac_authenticate(freerdp* instance, char** username, char** password,
char** domain);
-#endif // MRDPVIEW_H
+#endif /* FREERDP_CLIENT_MAC_MRDPVIEW_H */
* limitations under the License.
*/
-#ifndef __MF_CLIENT_H
-#define __MF_CLIENT_H
+#ifndef FREERDP_CLIENT_MAC_CLIENT_H
+#define FREERDP_CLIENT_MAC_CLIENT_H
#include <freerdp/client.h>
}
#endif
-#endif
+#endif /* FREERDP_CLIENT_MAC_CLIENT_H */
-#ifndef MFREERDP_H
-#define MFREERDP_H
+#ifndef FREERDP_CLIENT_MAC_FREERDP_H
+#define FREERDP_CLIENT_MAC_FREERDP_H
typedef struct mf_context mfContext;
int yMaxScroll; // maximum vertical scroll value
};
-#endif // MFREERDP_H
+#endif /* FREERDP_CLIENT_MAC_FREERDP_H */
* limitations under the License.
*/
-#ifndef WLF_CHANNELS_H
-#define WLF_CHANNELS_H
+#ifndef FREERDP_CLIENT_WAYLAND_CHANNELS_H
+#define FREERDP_CLIENT_WAYLAND_CHANNELS_H
#include <freerdp/freerdp.h>
#include <freerdp/client/channels.h>
void wlf_OnChannelDisconnectedEventHandler(rdpContext* context,
ChannelDisconnectedEventArgs* e);
-#endif
+#endif /* FREERDP_CLIENT_WAYLAND_CHANNELS_H */
* limitations under the License.
*/
-#ifndef __WLF_INPUT_H
-#define __WLF_INPUT_H
+#ifndef FREERDP_CLIENT_WAYLAND_INPUT_H
+#define FREERDP_CLIENT_WAYLAND_INPUT_H
#include <freerdp/freerdp.h>
#include <freerdp/gdi/gdi.h>
BOOL wlf_handle_key(freerdp* instance, UwacKeyEvent* ev);
BOOL wlf_keyboard_enter(freerdp* instance, UwacKeyboardEnterLeaveEvent* ev);
-#endif /* __WLF_INPUT_H */
+#endif /* FREERDP_CLIENT_WAYLAND_INPUT_H */
* limitations under the License.
*/
-#ifndef __WLFREERDP_H
-#define __WLFREERDP_H
+#ifndef FREERDP_CLIENT_WAYLAND_FREERDP_H
+#define FREERDP_CLIENT_WAYLAND_FREERDP_H
#include <freerdp/client/encomsp.h>
#include <freerdp/client/rdpei.h>
EncomspClientContext* encomsp;
};
-#endif /* __WLFREERDP_H */
+#endif /* FREERDP_CLIENT_WAYLAND_FREERDP_H */
* limitations under the License.
*/
-#ifndef __WFREERDP_H
-#define __WFREERDP_H
+#ifndef FREERDP_CLIENT_WIN_FREERDP_H
+#define FREERDP_CLIENT_WIN_FREERDP_H
#include "wf_interface.h"
-#endif
+#endif /* FREERDP_CLIENT_WIN_FREERDP_H */
* limitations under the License.
*/
-#ifndef __WF_CHANNELS_H
-#define __WF_CHANNELS_H
+#ifndef FREERDP_CLIENT_WIN_CHANNELS_H
+#define FREERDP_CLIENT_WIN_CHANNELS_H
#include <freerdp/freerdp.h>
#include <freerdp/client/channels.h>
void wf_OnChannelDisconnectedEventHandler(rdpContext* context,
ChannelDisconnectedEventArgs* e);
-#endif
+#endif /* FREERDP_CLIENT_WIN_CHANNELS_H */
* limitations under the License.
*/
-#ifndef __WF_INTERFACE_H
-#define __WF_INTERFACE_H
+#ifndef FREERDP_CLIENT_WIN_INTERFACE_H
+#define FREERDP_CLIENT_WIN_INTERFACE_H
#include <winpr/windows.h>
}
#endif
-#endif
+#endif /* FREERDP_CLIENT_WIN_INTERFACE_H */
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#ifndef __WF_CLIPRDR_H
-#define __WF_CLIPRDR_H
+#ifndef FREERDP_CLIENT_WIN_CLIPRDR_H
+#define FREERDP_CLIENT_WIN_CLIPRDR_H
#include "wf_client.h"
BOOL wf_cliprdr_init(wfContext* wfc, CliprdrClientContext* cliprdr);
BOOL wf_cliprdr_uninit(wfContext* wfc, CliprdrClientContext* cliprdr);
-#endif /* __WF_CLIPRDR_H */
+#endif /* FREERDP_CLIENT_WIN_CLIPRDR_H */
* limitations under the License.
*/
-#ifndef __WF_EVENT_H
-#define __WF_EVENT_H
+#ifndef FREERDP_CLIENT_WIN_EVENT_H
+#define FREERDP_CLIENT_WIN_EVENT_H
#include "wf_client.h"
#include <freerdp/log.h>
#define DEBUG_KBD(...) do { } while (0)
#endif
-#endif /* __WF_EVENT_H */
+#endif /* FREERDP_CLIENT_WIN_EVENT_H */
* limitations under the License.
*/
-#ifndef __WF_FLOATBAR_H__
-#define __WF_FLOATBAR_H__
+#ifndef FREERDP_CLIENT_WIN_FLOATBAR_H
+#define FREERDP_CLIENT_WIN_FLOATBAR_H
typedef struct _FloatBar FloatBar;
typedef struct wf_context wfContext;
int floatbar_show(FloatBar* floatbar);
int floatbar_hide(FloatBar* floatbar);
-#endif
+#endif /* FREERDP_CLIENT_WIN_FLOATBAR_H */
* limitations under the License.
*/
-#ifndef __WF_GDI_H
-#define __WF_GDI_H
+#ifndef FREERDP_CLIENT_WIN_GDI_H
+#define FREERDP_CLIENT_WIN_GDI_H
#include "wf_client.h"
void wf_update_canvas_diff(wfContext* wfc);
-#endif /* __WF_GDI_H */
+#endif /* FREERDP_CLIENT_WIN_GDI_H */
* limitations under the License.
*/
-#ifndef __WF_GRAPHICS_H
-#define __WF_GRAPHICS_H
+#ifndef FREERDP_CLIENT_WIN_GRAPHICS_H
+#define FREERDP_CLIENT_WIN_GRAPHICS_H
#include "wf_client.h"
BOOL wf_register_pointer(rdpGraphics* graphics);
BOOL wf_register_graphics(rdpGraphics* graphics);
-#endif /* WF_GRAPHICS */
+#endif /* FREERDP_CLIENT_WIN_GRAPHICS_H */
* limitations under the License.
*/
-#ifndef __WF_RAIL_H
-#define __WF_RAIL_H
+#ifndef FREERDP_CLIENT_WIN_RAIL_H
+#define FREERDP_CLIENT_WIN_RAIL_H
typedef struct wf_rail_window wfRailWindow;
void wf_rail_invalidate_region(wfContext* wfc, REGION16* invalidRegion);
-#endif
+#endif /* FREERDP_CLIENT_WIN_RAIL_H */
* limitations under the License.
*/
-#ifndef __XF_CHANNELS_H
-#define __XF_CHANNELS_H
+#ifndef FREERDP_CLIENT_X11_CHANNELS_H
+#define FREERDP_CLIENT_X11_CHANNELS_H
#include <freerdp/freerdp.h>
#include <freerdp/client/channels.h>
void xf_OnChannelConnectedEventHandler(rdpContext* context, ChannelConnectedEventArgs* e);
void xf_OnChannelDisconnectedEventHandler(rdpContext* context, ChannelDisconnectedEventArgs* e);
-#endif
+#endif /* FREERDP_CLIENT_X11_CHANNELS_H */
* limitations under the License.
*/
-#ifndef __XF_CLIENT_H
-#define __XF_CLIENT_H
+#ifndef FREERDP_CLIENT_X11_CLIENT_H
+#define FREERDP_CLIENT_X11_CLIENT_H
#include <winpr/crt.h>
#include <winpr/synch.h>
}
#endif
-#endif /* __XF_CLIENT_H */
+#endif /* FREERDP_CLIENT_X11_CLIENT_H */
* limitations under the License.
*/
-#ifndef __XF_CLIPRDR_H
-#define __XF_CLIPRDR_H
+#ifndef FREERDP_CLIENT_X11_CLIPRDR_H
+#define FREERDP_CLIENT_X11_CLIPRDR_H
#include "xf_client.h"
#include "xfreerdp.h"
void xf_cliprdr_handle_xevent(xfContext* xfc, XEvent* event);
-#endif /* __XF_CLIPRDR_H */
+#endif /* FREERDP_CLIENT_X11_CLIPRDR_H */
* limitations under the License.
*/
-#ifndef __XF_EVENT_H
-#define __XF_EVENT_H
+#ifndef FREERDP_CLIENT_X11_EVENT_H
+#define FREERDP_CLIENT_X11_EVENT_H
#include "xf_keyboard.h"
BOOL xf_generic_ButtonPress(xfContext* xfc, int x, int y, int button, Window window, BOOL app);
BOOL xf_generic_ButtonRelease(xfContext* xfc, int x, int y, int button, Window window, BOOL app);
-#endif /* __XF_EVENT_H */
+#endif /* FREERDP_CLIENT_X11_EVENT_H */
* limitations under the License.
*/
-#ifndef __XF_GDI_H
-#define __XF_GDI_H
+#ifndef FREERDP_CLIENT_X11_GDI_H
+#define FREERDP_CLIENT_X11_GDI_H
#include <freerdp/gdi/gdi.h>
void xf_gdi_register_update_callbacks(rdpUpdate* update);
-#endif /* __XF_GDI_H */
+#endif /* FREERDP_CLIENT_X11_GDI_H */
* limitations under the License.
*/
-#ifndef __XF_GRAPHICS_PIPELINE_H
-#define __XF_GRAPHICS_PIPELINE_H
+#ifndef FREERDP_CLIENT_X11_GFX_H
+#define FREERDP_CLIENT_X11_GFX_H
#include "xf_client.h"
#include "xfreerdp.h"
void xf_graphics_pipeline_init(xfContext* xfc, RdpgfxClientContext* gfx);
void xf_graphics_pipeline_uninit(xfContext* xfc, RdpgfxClientContext* gfx);
-#endif /* __XF_GRAPHICS_PIPELINE_H */
+#endif /* FREERDP_CLIENT_X11_GFX_H */
* limitations under the License.
*/
-#ifndef __XF_GRAPHICS_H
-#define __XF_GRAPHICS_H
+#ifndef FREERDP_CLIENT_X11_GRAPHICS_H
+#define FREERDP_CLIENT_X11_GRAPHICS_H
#include "xf_client.h"
#include "xfreerdp.h"
BOOL xf_decode_color(xfContext* xfc, const UINT32 srcColor, XColor* color);
UINT32 xf_get_local_color_format(xfContext* xfc, BOOL aligned);
-#endif /* __XF_GRAPHICS_H */
+#endif /* FREERDP_CLIENT_X11_GRAPHICS_H */
* limitations under the License.
*/
-#ifndef __XF_INPUT_H
-#define __XF_INPUT_H
+#ifndef FREERDP_CLIENT_X11_INPUT_H
+#define FREERDP_CLIENT_X11_INPUT_H
#include "xf_client.h"
#include "xfreerdp.h"
int xf_input_init(xfContext* xfc, Window window);
int xf_input_handle_event(xfContext* xfc, XEvent* event);
-#endif
+#endif /* FREERDP_CLIENT_X11_INPUT_H */
* limitations under the License.
*/
-#ifndef XF_KEYBOARD_H
-#define XF_KEYBOARD_H
+#ifndef FREERDP_CLIENT_X11_XF_KEYBOARD_H
+#define FREERDP_CLIENT_X11_XF_KEYBOARD_H
#include <freerdp/locale/keyboard.h>
BOOL xf_keyboard_set_indicators(rdpContext* context, UINT16 led_flags);
BOOL xf_keyboard_set_ime_status(rdpContext* context, UINT16 imeId, UINT32 imeState, UINT32 imeConvMode);
-#endif /* __XF_KEYBOARD_H */
+#endif /* FREERDP_CLIENT_X11_XF_KEYBOARD_H */
* limitations under the License.
*/
-#ifndef __XF_MONITOR_H
-#define __XF_MONITOR_H
+#ifndef FREERDP_CLIENT_X11_MONITOR_H
+#define FREERDP_CLIENT_X11_MONITOR_H
#include <freerdp/api.h>
#include <freerdp/freerdp.h>
FREERDP_API BOOL xf_detect_monitors(xfContext* xfc, UINT32* pWidth, UINT32* pHeight);
FREERDP_API void xf_monitors_free(xfContext* xfc);
-#endif /* __XF_MONITOR_H */
+#endif /* FREERDP_CLIENT_X11_MONITOR_H */
* limitations under the License.
*/
-#ifndef __XF_RAIL_H
-#define __XF_RAIL_H
+#ifndef FREERDP_CLIENT_X11_RAIL_H
+#define FREERDP_CLIENT_X11_RAIL_H
#include "xf_client.h"
#include "xfreerdp.h"
int xf_rail_init(xfContext* xfc, RailClientContext* rail);
int xf_rail_uninit(xfContext* xfc, RailClientContext* rail);
-#endif /* __XF_RAIL_H */
+#endif /* FREERDP_CLIENT_X11_RAIL_H */
* limitations under the License.
*/
-#ifndef __XF_TSMF_H
-#define __XF_TSMF_H
+#ifndef FREERDP_CLIENT_X11_TSMF_H
+#define FREERDP_CLIENT_X11_TSMF_H
#include "xf_client.h"
#include "xfreerdp.h"
int xf_tsmf_init(xfContext* xfc, TsmfClientContext* tsmf);
int xf_tsmf_uninit(xfContext* xfc, TsmfClientContext* tsmf);
-#endif /* __XF_TSMF_H */
+#endif /* FREERDP_CLIENT_X11_TSMF_H */
* limitations under the License.
*/
-#ifndef __XF_WINDOW_H
-#define __XF_WINDOW_H
+#ifndef FREERDP_CLIENT_X11_WINDOW_H
+#define FREERDP_CLIENT_X11_WINDOW_H
#include <X11/Xlib.h>
void xf_EndLocalMoveSize(xfContext* xfc, xfAppWindow* appWindow);
xfAppWindow* xf_AppWindowFromX11Window(xfContext* xfc, Window wnd);
-#endif /* __XF_WINDOW_H */
+#endif /* FREERDP_CLIENT_X11_WINDOW_H */
* limitations under the License.
*/
-#ifndef __XFREERDP_H
-#define __XFREERDP_H
+#ifndef FREERDP_CLIENT_X11_FREERDP_H
+#define FREERDP_CLIENT_X11_FREERDP_H
typedef struct xf_context xfContext;
FREERDP_API DWORD xf_exit_code_from_disconnect_reason(DWORD reason);
-#endif /* __XFREERDP_H */
+#endif /* FREERDP_CLIENT_X11_FREERDP_H */
* limitations under the License.
*/
-#ifndef FREERDP_CLIENT_COMPATIBILITY_H
-#define FREERDP_CLIENT_COMPATIBILITY_H
+#ifndef FREERDP_CLIENT_COMMON_COMPATIBILITY_H
+#define FREERDP_CLIENT_COMMON_COMPATIBILITY_H
#include <freerdp/api.h>
#include <freerdp/freerdp.h>
FREERDP_API int freerdp_detect_old_command_line_syntax(int argc, char** argv, int* count);
FREERDP_API int freerdp_client_parse_old_command_line_arguments(int argc, char** argv, rdpSettings* settings);
-#endif /* FREERDP_CLIENT_COMPATIBILITY */
+#endif /* FREERDP_CLIENT_COMMON_COMPATIBILITY_H */
-#ifndef __CONFIG_H
-#define __CONFIG_H
+#ifndef FREERDP_CONFIG_H
+#define FREERDP_CONFIG_H
/* Include files */
#cmakedefine HAVE_FCNTL_H
#cmakedefine WITH_DEBUG_X11_LOCAL_MOVESIZE
#cmakedefine WITH_DEBUG_XV
#cmakedefine WITH_DEBUG_RINGBUFFER
-#endif
+#endif /* FREERDP_CONFIG_H */
* limitations under the License.
*/
-#ifndef __FREERDP_CHANNEL_RDPEI_H_
-#define __FREERDP_CHANNEL_RDPEI_H_
+#ifndef FREERDP_CHANNEL_RDPEI_H
+#define FREERDP_CHANNEL_RDPEI_H
#include <winpr/wtypes.h>
typedef struct _RDPINPUT_TOUCH_EVENT RDPINPUT_TOUCH_EVENT;
-#endif /* __FREERDP_CHANNEL_RDPEI_H_ */
+#endif /* FREERDP_CHANNEL_RDPEI_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_CLIENT_AUDIN_H
-#define FREERDP_CHANNEL_CLIENT_AUDIN_H
+#ifndef FREERDP_CHANNEL_AUDIN_CLIENT_AUDIN_H
+#define FREERDP_CHANNEL_AUDIN_CLIENT_AUDIN_H
#include <freerdp/channels/audin.h>
#include <freerdp/freerdp.h>
typedef UINT (*PFREERDP_AUDIN_DEVICE_ENTRY)(PFREERDP_AUDIN_DEVICE_ENTRY_POINTS pEntryPoints);
-#endif /* FREERDP_CHANNEL_CLIENT_AUDIN_H */
+#endif /* FREERDP_CHANNEL_AUDIN_CLIENT_AUDIN_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNELS_CLIENT
-#define FREERDP_CHANNELS_CLIENT
+#ifndef FREERDP_CHANNELS_CLIENT_H
+#define FREERDP_CHANNELS_CLIENT_H
#include <freerdp/api.h>
#include <freerdp/addin.h>
}
#endif
-#endif /* FREERDP_CHANNELS_CLIENT */
+#endif /* FREERDP_CHANNELS_CLIENT_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_CLIENT_CLIPRDR_H
-#define FREERDP_CHANNEL_CLIENT_CLIPRDR_H
+#ifndef FREERDP_CHANNEL_CLIPRDR_CLIENT_CLIPRDR_H
+#define FREERDP_CHANNEL_CLIPRDR_CLIENT_CLIPRDR_H
#include <freerdp/types.h>
};
typedef struct _RDP_CB_TEMPDIR_EVENT RDP_CB_TEMPDIR_EVENT;
-#endif /* FREERDP_CHANNEL_CLIENT_CLIPRDR_H */
+#endif /* FREERDP_CHANNEL_CLIPRDR_CLIENT_CLIPRDR_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_CLIENT_DISP_H
-#define FREERDP_CHANNEL_CLIENT_DISP_H
+#ifndef FREERDP_CHANNEL_DISP_CLIENT_DISP_H
+#define FREERDP_CHANNEL_DISP_CLIENT_DISP_H
#define ORIENTATION_LANDSCAPE 0
#define ORIENTATION_PORTRAIT 90
pcDispSendMonitorLayout SendMonitorLayout;
};
-#endif /* FREERDP_CHANNEL_CLIENT_DISP_H */
+#endif /* FREERDP_CHANNEL_DISP_CLIENT_DISP_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_CLIENT_DRDYNVC_H
-#define FREERDP_CHANNEL_CLIENT_DRDYNVC_H
+#ifndef FREERDP_CHANNEL_DRDYNVC_CLIENT_DRDYNVC_H
+#define FREERDP_CHANNEL_DRDYNVC_CLIENT_DRDYNVC_H
/**
* Client Interface
pcDrdynvcOnChannelDetached OnChannelDetached;
};
-#endif /* FREERDP_CHANNEL_CLIENT_DRDYNVC_H */
+#endif /* FREERDP_CHANNEL_DRDYNVC_CLIENT_DRDYNVC_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_CLIENT_ENCOMSP_H
-#define FREERDP_CHANNEL_CLIENT_ENCOMSP_H
+#ifndef FREERDP_CHANNEL_ENCOMSP_CLIENT_ENCOMSP_H
+#define FREERDP_CHANNEL_ENCOMSP_CLIENT_ENCOMSP_H
#include <freerdp/channels/encomsp.h>
pcEncomspGraphicsStreamResumed GraphicsStreamResumed;
};
-#endif /* FREERDP_CHANNEL_CLIENT_ENCOMSP_H */
+#endif /* FREERDP_CHANNEL_ENCOMSP_CLIENT_ENCOMSP_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_CLIENT_RAIL_H
-#define FREERDP_CHANNEL_CLIENT_RAIL_H
+#ifndef FREERDP_CHANNEL_RAIL_CLIENT_RAIL_H
+#define FREERDP_CHANNEL_RAIL_CLIENT_RAIL_H
#include <freerdp/api.h>
#include <freerdp/types.h>
pcRailServerGetAppIdResponse ServerGetAppIdResponse;
};
-#endif /* FREERDP_CHANNEL_CLIENT_RAIL_H */
+#endif /* FREERDP_CHANNEL_RAIL_CLIENT_RAIL_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_CLIENT_RDPEI_H
-#define FREERDP_CHANNEL_CLIENT_RDPEI_H
+#ifndef FREERDP_CHANNEL_RDPEI_CLIENT_RDPEI_H
+#define FREERDP_CHANNEL_RDPEI_CLIENT_RDPEI_H
#include <freerdp/channels/rdpei.h>
pcRdpeiResumeTouch ResumeTouch;
};
-#endif /* FREERDP_CHANNEL_CLIENT_RDPEI_H */
+#endif /* FREERDP_CHANNEL_RDPEI_CLIENT_RDPEI_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_CLIENT_RDPGFX_H
-#define FREERDP_CHANNEL_CLIENT_RDPGFX_H
+#ifndef FREERDP_CHANNEL_RDPGFX_CLIENT_RDPGFX_H
+#define FREERDP_CHANNEL_RDPGFX_CLIENT_RDPGFX_H
#include <freerdp/channels/rdpgfx.h>
#include <freerdp/utils/profiler.h>
PROFILER_DEFINE(SurfaceProfiler);
};
-#endif /* FREERDP_CHANNEL_CLIENT_RDPGFX_H */
+#endif /* FREERDP_CHANNEL_RDPGFX_CLIENT_RDPGFX_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_CLIENT_RDPSND_H
-#define FREERDP_CHANNEL_CLIENT_RDPSND_H
+#ifndef FREERDP_CHANNEL_RDPSND_CLIENT_RDPSND_H
+#define FREERDP_CHANNEL_RDPSND_CLIENT_RDPSND_H
#include <freerdp/channels/rdpsnd.h>
typedef UINT (*PFREERDP_RDPSND_DEVICE_ENTRY)(PFREERDP_RDPSND_DEVICE_ENTRY_POINTS pEntryPoints);
-#endif /* FREERDP_CHANNEL_CLIENT_RDPSND_H */
+#endif /* FREERDP_CHANNEL_RDPSND_CLIENT_RDPSND_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_CLIENT_REMDESK_H
-#define FREERDP_CHANNEL_CLIENT_REMDESK_H
+#ifndef FREERDP_CHANNEL_REMDESK_CLIENT_REMDESK_H
+#define FREERDP_CHANNEL_REMDESK_CLIENT_REMDESK_H
#include <freerdp/channels/remdesk.h>
void* custom;
};
-#endif /* FREERDP_CHANNEL_CLIENT_REMDESK_H */
+#endif /* FREERDP_CHANNEL_REMDESK_CLIENT_REMDESK_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_CLIENT_TSMF_H
-#define FREERDP_CHANNEL_CLIENT_TSMF_H
+#ifndef FREERDP_CHANNEL_TSMF_CLIENT_TSMF_H
+#define FREERDP_CHANNEL_TSMF_CLIENT_TSMF_H
#include <freerdp/codec/region.h>
pcTsmfFrameEvent FrameEvent;
};
-#endif /* FREERDP_CHANNEL_CLIENT_TSMF_H */
+#endif /* FREERDP_CHANNEL_TSMF_CLIENT_TSMF_H */
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#ifndef __REGION_H___
-#define __REGION_H___
+#ifndef FREERDP_CODEC_REGION_H
+#define FREERDP_CODEC_REGION_H
#include <freerdp/api.h>
#include <freerdp/types.h>
}
#endif
-#endif /* __REGION_H___ */
+#endif /* FREERDP_CODEC_REGION_H */
# pragma once
#endif
-#ifndef __PRIMITIVES_H_INCLUDED__
-#define __PRIMITIVES_H_INCLUDED__
+#ifndef FREERDP_PRIMITIVES_H
+#define FREERDP_PRIMITIVES_H
#include <freerdp/api.h>
#include <freerdp/types.h>
}
#endif
-#endif /* !__PRIMITIVES_H_INCLUDED__ */
+#endif /* FREERDP_PRIMITIVES_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNELS_SERVER
-#define FREERDP_CHANNELS_SERVER
+#ifndef FREERDP_CHANNELS_SERVER_H
+#define FREERDP_CHANNELS_SERVER_H
#include <freerdp/api.h>
-#endif /* FREERDP_CHANNELS_SERVER */
+#endif /* FREERDP_CHANNELS_SERVER_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_SERVER_CLIPRDR_H
-#define FREERDP_CHANNEL_SERVER_CLIPRDR_H
+#ifndef FREERDP_CHANNEL_CLIPRDR_SERVER_CLIPRDR_H
+#define FREERDP_CHANNEL_CLIPRDR_SERVER_CLIPRDR_H
#include <freerdp/api.h>
#include <freerdp/types.h>
}
#endif
-#endif /* FREERDP_CHANNEL_SERVER_CLIPRDR_H */
+#endif /* FREERDP_CHANNEL_CLIPRDR_SERVER_CLIPRDR_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_SERVER_DRDYNVC_H
-#define FREERDP_CHANNEL_SERVER_DRDYNVC_H
+#ifndef FREERDP_CHANNEL_DRDYNVC_SERVER_DRDYNVC_H
+#define FREERDP_CHANNEL_DRDYNVC_SERVER_DRDYNVC_H
#include <freerdp/api.h>
#include <freerdp/types.h>
}
#endif
-#endif /* FREERDP_CHANNEL_SERVER_DRDYNVC_H */
+#endif /* FREERDP_CHANNEL_DRDYNVC_SERVER_DRDYNVC_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_SERVER_ENCOMSP_H
-#define FREERDP_CHANNEL_SERVER_ENCOMSP_H
+#ifndef FREERDP_CHANNEL_ENCOMSP_SERVER_ENCOMSP_H
+#define FREERDP_CHANNEL_ENCOMSP_SERVER_ENCOMSP_H
#include <freerdp/api.h>
#include <freerdp/types.h>
}
#endif
-#endif /* FREERDP_CHANNEL_SERVER_ENCOMSP_H */
+#endif /* FREERDP_CHANNEL_ENCOMSP_SERVER_ENCOMSP_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_SERVER_RDPDR_H
-#define FREERDP_CHANNEL_SERVER_RDPDR_H
+#ifndef FREERDP_CHANNEL_RDPDR_SERVER_RDPDR_H
+#define FREERDP_CHANNEL_RDPDR_SERVER_RDPDR_H
#include <freerdp/api.h>
#include <freerdp/types.h>
}
#endif
-#endif /* FREERDP_CHANNEL_SERVER_RDPDR_H */
+#endif /* FREERDP_CHANNEL_RDPDR_SERVER_RDPDR_H */
* limitations under the License.
*/
-#ifndef __FREERDP_CHANNEL_RDPEI_SERVER_H__
-#define __FREERDP_CHANNEL_RDPEI_SERVER_H__
+#ifndef FREERDP_CHANNEL_RDPEI_SERVER_H
+#define FREERDP_CHANNEL_RDPEI_SERVER_H
#include <freerdp/channels/wtsvc.h>
#include <freerdp/channels/rdpei.h>
-#endif /* __FREERDP_CHANNEL_RDPEI_SERVER_H__ */
+#endif /* FREERDP_CHANNEL_RDPEI_SERVER_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_SERVER_RDPGFX_H
-#define FREERDP_CHANNEL_SERVER_RDPGFX_H
+#ifndef FREERDP_CHANNEL_RDPGFX_SERVER_RDPGFX_H
+#define FREERDP_CHANNEL_RDPGFX_SERVER_RDPGFX_H
#include <freerdp/channels/rdpgfx.h>
}
#endif
-#endif /* FREERDP_CHANNEL_SERVER_RDPGFX_H */
+#endif /* FREERDP_CHANNEL_RDPGFX_SERVER_RDPGFX_H */
* limitations under the License.
*/
-#ifndef FREERDP_CHANNEL_SERVER_REMDESK_H
-#define FREERDP_CHANNEL_SERVER_REMDESK_H
+#ifndef FREERDP_CHANNEL_REMDESK_SERVER_REMDESK_H
+#define FREERDP_CHANNEL_REMDESK_SERVER_REMDESK_H
#include <freerdp/api.h>
#include <freerdp/types.h>
}
#endif
-#endif /* FREERDP_CHANNEL_SERVER_REMDESK_H */
+#endif /* FREERDP_CHANNEL_REMDESK_SERVER_REMDESK_H */
typedef int (*pfnShadowSubsystemStart)(rdpShadowSubsystem* subsystem);
typedef int (*pfnShadowSubsystemStop)(rdpShadowSubsystem* subsystem);
-typedef int (*pfnShadowEnumMonitors)(MONITOR_DEF* monitors, int maxMonitors);
+typedef UINT32 (*pfnShadowEnumMonitors)(MONITOR_DEF* monitors, UINT32 maxMonitors);
typedef int (*pfnShadowAuthenticate)(rdpShadowSubsystem* subsystem,
rdpShadowClient* client,
FREERDP_API int shadow_server_init(rdpShadowServer* server);
FREERDP_API int shadow_server_uninit(rdpShadowServer* server);
-FREERDP_API int shadow_enum_monitors(MONITOR_DEF* monitors, int maxMonitors);
+FREERDP_API UINT32 shadow_enum_monitors(MONITOR_DEF* monitors, UINT32 maxMonitors);
-FREERDP_API rdpShadowServer* shadow_server_new();
+FREERDP_API rdpShadowServer* shadow_server_new(void);
FREERDP_API void shadow_server_free(rdpShadowServer* server);
FREERDP_API int shadow_capture_align_clip_rect(RECTANGLE_16* rect,
RECTANGLE_16* clip);
-FREERDP_API int shadow_capture_compare(BYTE* pData1, int nStep1, int nWidth,
- int nHeight, BYTE* pData2, int nStep2, RECTANGLE_16* rect);
+FREERDP_API int shadow_capture_compare(BYTE* pData1, UINT32 nStep1, UINT32 nWidth,
+ UINT32 nHeight, BYTE* pData2, UINT32 nStep2, RECTANGLE_16* rect);
FREERDP_API void shadow_subsystem_frame_update(rdpShadowSubsystem* subsystem);
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#ifndef __FREERDP_SESSION_H__
-#define __FREERDP_SESSION_H__
+#ifndef FREERDP_SESSION_H
+#define FREERDP_SESSION_H
#include <winpr/wtypes.h>
};
typedef struct rdp_logon_info_ex logon_info_ex;
-#endif /* __FREERDP_SESSION_H__ */
+#endif /* FREERDP_SESSION_H */
* limitations under the License.
*/
-#ifndef __RINGBUFFER_H___
-#define __RINGBUFFER_H___
+#ifndef FREERDP_UTILS_RINGBUFFER_H
+#define FREERDP_UTILS_RINGBUFFER_H
#include <winpr/wtypes.h>
#include <freerdp/api.h>
}
#endif
-#endif /* __RINGBUFFER_H___ */
+#endif /* FREERDP_UTILS_RINGBUFFER_H */
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#ifndef _FREERDP_VERSION_H_
-#define _FREERDP_VERSION_H_
+#ifndef FREERDP_VERSION_H
+#define FREERDP_VERSION_H
#define FREERDP_VERSION_MAJOR ${FREERDP_VERSION_MAJOR}
#define FREERDP_VERSION_MINOR ${FREERDP_VERSION_MINOR}
#define FREERDP_VERSION_FULL "${FREERDP_VERSION_FULL}"
#define GIT_REVISION "${GIT_REVISION}"
-#endif // _FREERDP_VERSION_H_
+#endif /* FREERDP_VERSION_H */
* limitations under the License.
*/
-#ifndef __NSC_ENCODE_H
-#define __NSC_ENCODE_H
+#ifndef FREERDP_LIB_CODEC_NSC_ENCODE_H
+#define FREERDP_LIB_CODEC_NSC_ENCODE_H
#include <freerdp/api.h>
FREERDP_LOCAL void nsc_encode(NSC_CONTEXT* context, const BYTE* bmpdata,
UINT32 rowstride);
-#endif
+#endif /* FREERDP_LIB_CODEC_NSC_ENCODE_H */
* limitations under the License.
*/
-#ifndef __NSC_SSE2_H
-#define __NSC_SSE2_H
+#ifndef FREERDP_LIB_CODEC_NSC_SSE2_H
+#define FREERDP_LIB_CODEC_NSC_SSE2_H
#include <freerdp/codec/nsc.h>
#include <freerdp/api.h>
#endif
#endif
-#endif /* __NSC_SSE2_H */
+#endif /* FREERDP_LIB_CODEC_NSC_SSE2_H */
* limitations under the License.
*/
-#ifndef __NSC_TYPES_H
-#define __NSC_TYPES_H
+#ifndef FREERDP_LIB_CODEC_NSC_TYPES_H
+#define FREERDP_LIB_CODEC_NSC_TYPES_H
#ifdef HAVE_CONFIG_H
#include "config.h"
PROFILER_DEFINE(prof_nsc_encode);
};
-#endif /* __NSC_TYPES_H */
+#endif /* FREERDP_LIB_CODEC_NSC_TYPES_H */
* limitations under the License.
*/
-#ifndef __RFX_BITSTREAM_H
-#define __RFX_BITSTREAM_H
+#ifndef FREERDP_LIB_CODEC_RFX_BITSTREAM_H
+#define FREERDP_LIB_CODEC_RFX_BITSTREAM_H
#include <freerdp/codec/rfx.h>
#define rfx_bitstream_left(_bs) ((_bs)->byte_pos >= (_bs)->nbytes ? 0 : ((_bs)->nbytes - (_bs)->byte_pos - 1) * 8 + (_bs)->bits_left)
#define rfx_bitstream_get_processed_bytes(_bs) ((_bs)->bits_left < 8 ? (_bs)->byte_pos + 1 : (_bs)->byte_pos)
-#endif /* __RFX_BITSTREAM_H */
+#endif /* FREERDP_LIB_CODEC_RFX_BITSTREAM_H */
* limitations under the License.
*/
-#ifndef __RFX_CONSTANTS_H
-#define __RFX_CONSTANTS_H
+#ifndef FREERDP_LIB_CODEC_RFX_CONSTANTS_H
+#define FREERDP_LIB_CODEC_RFX_CONSTANTS_H
/* sync */
#define WF_MAGIC 0xCACCACCA
/* properties.qt */
#define SCALAR_QUANTIZATION 0x1
-#endif /* __RFX_CONSTANTS_H */
+#endif /* FREERDP_LIB_CODEC_RFX_CONSTANTS_H */
* limitations under the License.
*/
-#ifndef __RFX_DECODE_H
-#define __RFX_DECODE_H
+#ifndef FREERDP_LIB_CODEC_RFX_DECODE_H
+#define FREERDP_LIB_CODEC_RFX_DECODE_H
#include <freerdp/codec/rfx.h>
#include <freerdp/api.h>
FREERDP_LOCAL BOOL rfx_decode_rgb(RFX_CONTEXT* context, RFX_TILE* tile,
BYTE* rgb_buffer, int stride);
-#endif /* __RFX_DECODE_H */
+#endif /* FREERDP_LIB_CODEC_RFX_DECODE_H */
* limitations under the License.
*/
-#ifndef __RFX_DIFFERENTIAL_H
-#define __RFX_DIFFERENTIAL_H
+#ifndef FREERDP_LIB_CODEC_RFX_DIFFERENTIAL_H
+#define FREERDP_LIB_CODEC_RFX_DIFFERENTIAL_H
#include <freerdp/codec/rfx.h>
#include <freerdp/api.h>
}
}
-#endif /* __RFX_DIFFERENTIAL_H */
+#endif /* FREERDP_LIB_CODEC_RFX_DIFFERENTIAL_H */
* limitations under the License.
*/
-#ifndef __RFX_DWT_H
-#define __RFX_DWT_H
+#ifndef FREERDP_LIB_CODEC_RFX_DWT_H
+#define FREERDP_LIB_CODEC_RFX_DWT_H
#include <freerdp/codec/rfx.h>
#include <freerdp/api.h>
FREERDP_LOCAL void rfx_dwt_2d_decode(INT16* buffer, INT16* dwt_buffer);
FREERDP_LOCAL void rfx_dwt_2d_encode(INT16* buffer, INT16* dwt_buffer);
-#endif /* __RFX_DWT_H */
+#endif /* FREERDP_LIB_CODEC_RFX_DWT_H */
* limitations under the License.
*/
-#ifndef __RFX_ENCODE_H
-#define __RFX_ENCODE_H
+#ifndef FREERDP_LIB_CODEC_RFX_ENCODE_H
+#define FREERDP_LIB_CODEC_RFX_ENCODE_H
#include <freerdp/codec/rfx.h>
#include <freerdp/api.h>
FREERDP_LOCAL void rfx_encode_rgb(RFX_CONTEXT* context, RFX_TILE* tile);
-#endif
+#endif /* FREERDP_LIB_CODEC_RFX_ENCODE_H */
limitations under the License.
*/
-#ifndef __RFX_NEON_H
-#define __RFX_NEON_H
+#ifndef FREERDP_LIB_CODEC_RFX_NEON_H
+#define FREERDP_LIB_CODEC_RFX_NEON_H
#include <freerdp/codec/rfx.h>
#include <freerdp/api.h>
#endif
#endif
-#endif /* __RFX_NEON_H */
+#endif /* FREERDP_LIB_CODEC_RFX_NEON_H */
* limitations under the License.
*/
-#ifndef __RFX_QUANTIZATION_H
-#define __RFX_QUANTIZATION_H
+#ifndef FREERDP_LIB_CODEC_RFX_QUANTIZATION_H
+#define FREERDP_LIB_CODEC_RFX_QUANTIZATION_H
#include <freerdp/codec/rfx.h>
#include <freerdp/api.h>
FREERDP_LOCAL void rfx_quantization_decode_block(const primitives_t* prims,
INT16* buffer, int buffer_size, UINT32 factor);
-#endif /* __RFX_QUANTIZATION_H */
+#endif /* FREERDP_LIB_CODEC_RFX_QUANTIZATION_H */
* limitations under the License.
*/
-#ifndef __RFX_RLGR_H
-#define __RFX_RLGR_H
+#ifndef FREERDP_LIB_CODEC_RFX_RLGR_H
+#define FREERDP_LIB_CODEC_RFX_RLGR_H
#include <freerdp/codec/rfx.h>
#include <freerdp/api.h>
FREERDP_LOCAL int rfx_rlgr_decode(RLGR_MODE mode, const BYTE* pSrcData, UINT32 SrcSize,
INT16* pDstData, UINT32 DstSize);
-#endif /* __RFX_RLGR_H */
+#endif /* FREERDP_LIB_CODEC_RFX_RLGR_H */
* limitations under the License.
*/
-#ifndef __RFX_SSE2_H
-#define __RFX_SSE2_H
+#ifndef FREERDP_LIB_CODEC_RFX_SSE2_H
+#define FREERDP_LIB_CODEC_RFX_SSE2_H
#include <freerdp/codec/rfx.h>
#include <freerdp/api.h>
#endif
#endif
-#endif /* __RFX_SSE2_H */
+#endif /* FREERDP_LIB_CODEC_RFX_SSE2_H */
* limitations under the License.
*/
-#ifndef CODEC_RFX_TYPES_H
-#define CODEC_RFX_TYPES_H
+#ifndef FREERDP_LIB_CODEC_RFX_TYPES_H
+#define FREERDP_LIB_CODEC_RFX_TYPES_H
#ifdef HAVE_CONFIG_H
#include "config.h"
PROFILER_DEFINE(prof_rfx_encode_format_rgb);
};
-#endif /* __RFX_TYPES_H */
+#endif /* FREERDP_LIB_CODEC_RFX_TYPES_H */
* limitations under the License.
*/
-#ifndef __ACTIVATION_H
-#define __ACTIVATION_H
+#ifndef FREERDP_LIB_CORE_ACTIVATION_H
+#define FREERDP_LIB_CORE_ACTIVATION_H
#include "rdp.h"
FREERDP_LOCAL BOOL rdp_server_accept_client_font_list_pdu(rdpRdp* rdp,
wStream* s);
-#endif /* __ACTIVATION_H */
+#endif /* FREERDP_LIB_CORE_ACTIVATION_H */
* limitations under the License.
*/
-#ifndef __AUTODETECT_H
-#define __AUTODETECT_H
+#ifndef FREERDP_LIB_CORE_AUTODETECT_H
+#define FREERDP_LIB_CORE_AUTODETECT_H
#include "rdp.h"
#define AUTODETECT_TAG FREERDP_TAG("core.autodetect")
-#endif /* __AUTODETECT_H */
+#endif /* FREERDP_LIB_CORE_AUTODETECT_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_BULK_H
-#define FREERDP_CORE_BULK_H
+#ifndef FREERDP_LIB_CORE_BULK_H
+#define FREERDP_LIB_CORE_BULK_H
typedef struct rdp_bulk rdpBulk;
FREERDP_LOCAL rdpBulk* bulk_new(rdpContext* context);
FREERDP_LOCAL void bulk_free(rdpBulk* bulk);
-#endif /* FREERDP_CORE_BULK_H */
+#endif /* FREERDP_LIB_CORE_BULK_H */
* limitations under the License.
*/
-#ifndef __CAPABILITIES_H
-#define __CAPABILITIES_H
+#ifndef FREERDP_LIB_CORE_CAPABILITIES_H
+#define FREERDP_LIB_CORE_CAPABILITIES_H
#include "rdp.h"
FREERDP_LOCAL BOOL rdp_write_confirm_active(wStream* s, rdpSettings* settings);
FREERDP_LOCAL BOOL rdp_send_confirm_active(rdpRdp* rdp);
-#endif /* __CAPABILITIES_H */
+#endif /* FREERDP_LIB_CORE_CAPABILITIES_H */
* limitations under the License.
*/
-#ifndef __CERTIFICATE_H
-#define __CERTIFICATE_H
+#ifndef FREERDP_LIB_CORE_CERTIFICATE_H
+#define FREERDP_LIB_CORE_CERTIFICATE_H
#include "rdp.h"
#define DEBUG_CERTIFICATE(...) do { } while (0)
#endif
-#endif /* __CERTIFICATE_H */
+#endif /* FREERDP_LIB_CORE_CERTIFICATE_H */
* limitations under the License.
*/
-#ifndef __CHANNEL_H
-#define __CHANNEL_H
+#ifndef FREERDP_LIB_CORE_CHANNELS_H
+#define FREERDP_LIB_CORE_CHANNELS_H
#include <freerdp/api.h>
#include "client.h"
FREERDP_LOCAL BOOL freerdp_channel_peer_process(freerdp_peer* client,
wStream* s, UINT16 channelId);
-#endif /* __CHANNEL_H */
+#endif /* FREERDP_LIB_CORE_CHANNELS_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_CLIENT_H
-#define FREERDP_CORE_CLIENT_H
+#ifndef FREERDP_LIB_CORE_CLIENT_H
+#define FREERDP_LIB_CORE_CLIENT_H
#include <winpr/crt.h>
#include <winpr/stream.h>
freerdp* instance);
FREERDP_LOCAL UINT freerdp_channels_post_connect(rdpChannels* channels,
freerdp* instance);
-#endif /* FREERDP_CORE_CLIENT_H */
+#endif /* FREERDP_LIB_CORE_CLIENT_H */
* limitations under the License.
*/
-#ifndef __CONNECTION_H
-#define __CONNECTION_H
+#ifndef FREERDP_LIB_CORE_CONNECTION_H
+#define FREERDP_LIB_CORE_CONNECTION_H
#include "rdp.h"
#include "tpkt.h"
FREERDP_LOCAL BOOL rdp_server_reactivate(rdpRdp* rdp);
FREERDP_LOCAL int rdp_server_transition_to_state(rdpRdp* rdp, int state);
-#endif /* __CONNECTION_H */
+#endif /* FREERDP_LIB_CORE_CONNECTION_H */
* limitations under the License.
*/
-#ifndef __ERRINFO_H
-#define __ERRINFO_H
+#ifndef FREERDP_LIB_CORE_ERRINFO_H
+#define FREERDP_LIB_CORE_ERRINFO_H
#include <freerdp/freerdp.h>
#include <freerdp/api.h>
FREERDP_LOCAL void rdp_print_errinfo(UINT32 code);
-#endif
+#endif /* FREERDP_LIB_CORE_ERRINFO_H */
* limitations under the License.
*/
-#ifndef __FASTPATH_H
-#define __FASTPATH_H
+#ifndef FREERDP_LIB_CORE_FASTPATH_H
+#define FREERDP_LIB_CORE_FASTPATH_H
/*
* Fast-Path has 15 bits available for length information which would lead to a
FREERDP_LOCAL rdpFastPath* fastpath_new(rdpRdp* rdp);
FREERDP_LOCAL void fastpath_free(rdpFastPath* fastpath);
-#endif
+#endif /* FREERDP_LIB_CORE_FASTPATH_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_HTTP_H
-#define FREERDP_CORE_HTTP_H
+#ifndef FREERDP_LIB_CORE_GATEWAY_HTTP_H
+#define FREERDP_LIB_CORE_GATEWAY_HTTP_H
typedef struct _http_context HttpContext;
typedef struct _http_request HttpRequest;
FREERDP_LOCAL HttpResponse* http_response_new(void);
FREERDP_LOCAL void http_response_free(HttpResponse* response);
-#endif /* FREERDP_CORE_HTTP_H */
+#endif /* FREERDP_LIB_CORE_GATEWAY_HTTP_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_NCACN_HTTP_H
-#define FREERDP_CORE_NCACN_HTTP_H
+#ifndef FREERDP_LIB_CORE_GATEWAY_NCACN_HTTP_H
+#define FREERDP_LIB_CORE_GATEWAY_NCACN_HTTP_H
#include <freerdp/types.h>
#include <freerdp/settings.h>
FREERDP_LOCAL int rpc_ncacn_http_recv_out_channel_response(rdpRpc* rpc,
RpcOutChannel* outChannel, HttpResponse* response);
-#endif
+#endif /* FREERDP_LIB_CORE_GATEWAY_NCACN_HTTP_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_NTLM_H
-#define FREERDP_CORE_NTLM_H
+#ifndef FREERDP_LIB_CORE_GATEWAY_NTLM_H
+#define FREERDP_LIB_CORE_GATEWAY_NTLM_H
typedef struct rdp_ntlm rdpNtlm;
FREERDP_LOCAL rdpNtlm* ntlm_new(void);
FREERDP_LOCAL void ntlm_free(rdpNtlm* ntlm);
-#endif /* FREERDP_CORE_NTLM_H */
+#endif /* FREERDP_LIB_CORE_GATEWAY_NTLM_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_RDG_H
-#define FREERDP_CORE_RDG_H
+#ifndef FREERDP_LIB_CORE_GATEWAY_RDG_H
+#define FREERDP_LIB_CORE_GATEWAY_RDG_H
#include <winpr/wtypes.h>
FREERDP_LOCAL BOOL rdg_check_event_handles(rdpRdg* rdg);
-#endif /* FREERDP_CORE_RDG_H */
+#endif /* FREERDP_LIB_CORE_GATEWAY_RDG_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_RPC_H
-#define FREERDP_CORE_RPC_H
+#ifndef FREERDP_LIB_CORE_GATEWAY_RPC_H
+#define FREERDP_LIB_CORE_GATEWAY_RPC_H
#include <winpr/wtypes.h>
#include <winpr/stream.h>
FREERDP_LOCAL rdpRpc* rpc_new(rdpTransport* transport);
FREERDP_LOCAL void rpc_free(rdpRpc* rpc);
-#endif /* FREERDP_CORE_RPC_H */
+#endif /* FREERDP_LIB_CORE_GATEWAY_RPC_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_RPC_BIND_H
-#define FREERDP_CORE_RPC_BIND_H
+#ifndef FREERDP_LIB_CORE_GATEWAY_RPC_BIND_H
+#define FREERDP_LIB_CORE_GATEWAY_RPC_BIND_H
#include "rpc.h"
UINT32 length);
FREERDP_LOCAL int rpc_send_rpc_auth_3_pdu(rdpRpc* rpc);
-#endif /* FREERDP_CORE_RPC_BIND_H */
+#endif /* FREERDP_LIB_CORE_GATEWAY_RPC_BIND_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_RPC_CLIENT_H
-#define FREERDP_CORE_RPC_CLIENT_H
+#ifndef FREERDP_LIB_CORE_GATEWAY_RPC_CLIENT_H
+#define FREERDP_LIB_CORE_GATEWAY_RPC_CLIENT_H
#include <freerdp/api.h>
FREERDP_LOCAL int rpc_client_new(rdpRpc* rpc);
FREERDP_LOCAL void rpc_client_free(rdpRpc* rpc);
-#endif /* FREERDP_CORE_RPC_CLIENT_H */
+#endif /* FREERDP_LIB_CORE_GATEWAY_RPC_CLIENT_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_RPC_FAULT_H
-#define FREERDP_CORE_RPC_FAULT_H
+#ifndef FREERDP_LIB_CORE_GATEWAY_RPC_FAULT_H
+#define FREERDP_LIB_CORE_GATEWAY_RPC_FAULT_H
#include "rpc.h"
FREERDP_LOCAL int rpc_recv_fault_pdu(rpcconn_hdr_t* header);
FREERDP_LOCAL UINT32 rpc_map_status_code_to_win32_error_code(UINT32 code);
-#endif /* FREERDP_CORE_RPC_FAULT_H */
+#endif /* FREERDP_LIB_CORE_GATEWAY_RPC_FAULT_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_RTS_H
-#define FREERDP_CORE_RTS_H
+#ifndef FREERDP_LIB_CORE_GATEWAY_RTS_H
+#define FREERDP_LIB_CORE_GATEWAY_RTS_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "rts_signature.h"
-#endif /* FREERDP_CORE_RTS_H */
+#endif /* FREERDP_LIB_CORE_GATEWAY_RTS_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_RTS_SIGNATURE_H
-#define FREERDP_CORE_RTS_SIGNATURE_H
+#ifndef FREERDP_LIB_CORE_GATEWAY_RTS_SIGNATURE_H
+#define FREERDP_LIB_CORE_GATEWAY_RTS_SIGNATURE_H
typedef struct rts_pdu_signature RtsPduSignature;
typedef struct _RTS_PDU_SIGNATURE_ENTRY RTS_PDU_SIGNATURE_ENTRY;
FREERDP_LOCAL int rts_print_pdu_signature(rdpRpc* rpc,
RtsPduSignature* signature);
-#endif
+#endif /* FREERDP_LIB_CORE_GATEWAY_RTS_SIGNATURE_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_TSG_H
-#define FREERDP_CORE_TSG_H
+#ifndef FREERDP_LIB_CORE_GATEWAY_TSG_H
+#define FREERDP_LIB_CORE_GATEWAY_TSG_H
typedef struct rdp_tsg rdpTsg;
FREERDP_LOCAL BIO_METHOD* BIO_s_tsg(void);
-#endif /* FREERDP_CORE_TSG_H */
+#endif /* FREERDP_LIB_CORE_GATEWAY_TSG_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_GCC_H
-#define FREERDP_CORE_GCC_H
+#ifndef FREERDP_LIB_CORE_GCC_H
+#define FREERDP_LIB_CORE_GCC_H
#include "mcs.h"
FREERDP_LOCAL void gcc_write_server_multitransport_channel_data(wStream* s,
rdpMcs* mcs);
-#endif /* FREERDP_CORE_GCC_H */
+#endif /* FREERDP_LIB_CORE_GCC_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_GRAPHICS_H
-#define FREERDP_CORE_GRAPHICS_H
+#ifndef FREERDP_LIB_CORE_GRAPHICS_H
+#define FREERDP_LIB_CORE_GRAPHICS_H
#include <freerdp/api.h>
#include <freerdp/freerdp.h>
FREERDP_LOCAL void Bitmap_Free(rdpContext* context, rdpBitmap* bitmap);
-#endif /* FREERDP_CORE_GRAPHICS_H */
+#endif /* FREERDP_LIB_CORE_GRAPHICS_H */
* limitations under the License.
*/
-#ifndef __HEARTBEAT_H
-#define __HEARTBEAT_H
+#ifndef FREERDP_LIB_CORE_HEARTBEET_H
+#define FREERDP_LIB_CORE_HEARTBEET_H
typedef struct rdp_heartbeat rdpHeartbeat;
#define HEARTBEAT_TAG FREERDP_TAG("core.heartbeat")
-#endif /* __HEARTBEAT_H */
+#endif /* FREERDP_LIB_CORE_HEARTBEET_H */
* limitations under the License.
*/
-#ifndef __INFO_H
-#define __INFO_H
+#ifndef FREERDP_LIB_CORE_INFO_H
+#define FREERDP_LIB_CORE_INFO_H
#include "rdp.h"
FREERDP_LOCAL BOOL rdp_send_save_session_info(rdpContext* context, UINT32 type,
void* data);
-#endif /* __INFO_H */
+#endif /* FREERDP_LIB_CORE_INFO_H */
* limitations under the License.
*/
-#ifndef __INPUT_H
-#define __INPUT_H
+#ifndef FREERDP_LIB_CORE_INPUT_H
+#define FREERDP_LIB_CORE_INPUT_H
#include "rdp.h"
#include "fastpath.h"
FREERDP_LOCAL rdpInput* input_new(rdpRdp* rdp);
FREERDP_LOCAL void input_free(rdpInput* input);
-#endif /* __INPUT_H */
+#endif /* FREERDP_LIB_CORE_INPUT_H */
* limitations under the License.
*/
-#ifndef FREERDP_LICENSE_H
-#define FREERDP_LICENSE_H
+#ifndef FREERDP_LIB_CORE_LICENSE_H
+#define FREERDP_LIB_CORE_LICENSE_H
typedef struct rdp_license rdpLicense;
#define DEBUG_LICENSE(...) do { } while (0)
#endif
-#endif /* __LICENSE_H */
+#endif /* FREERDP_LIB_CORE_LICENSE_H */
* limitations under the License.
*/
-#ifndef __LISTENER_H
-#define __LISTENER_H
+#ifndef FREERDP_LIB_CORE_LISTENER_H
+#define FREERDP_LIB_CORE_LISTENER_H
typedef struct rdp_listener rdpListener;
HANDLE events[MAX_LISTENER_HANDLES];
};
-#endif
+#endif /* FREERDP_LIB_CORE_LISTENER_H */
* limitations under the License.
*/
-#ifndef __MCS_H
-#define __MCS_H
+#ifndef FREERDP_LIB_CORE_MCS_H
+#define FREERDP_LIB_CORE_MCS_H
typedef struct rdp_mcs rdpMcs;
FREERDP_LOCAL rdpMcs* mcs_new(rdpTransport* transport);
FREERDP_LOCAL void mcs_free(rdpMcs* mcs);
-#endif /* __MCS_H */
+#endif /* FREERDP_LIB_CORE_MCS_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_MESSAGE_PRIVATE_H
-#define FREERDP_CORE_MESSAGE_PRIVATE_H
+#ifndef FREERDP_LIB_CORE_MESSAGE_H
+#define FREERDP_LIB_CORE_MESSAGE_H
#include <freerdp/freerdp.h>
#include <freerdp/message.h>
FREERDP_LOCAL rdpInputProxy* input_message_proxy_new(rdpInput* input);
FREERDP_LOCAL void input_message_proxy_free(rdpInputProxy* proxy);
-#endif /* FREERDP_CORE_MESSAGE_PRIVATE_H */
+#endif /* FREERDP_LIB_CORE_MESSAGE_H */
* limitations under the License.
*/
-#ifndef __MULTITRANSPORT_H
-#define __MULTITRANSPORT_H
+#ifndef FREERDP_LIB_CORE_MULTITRANSPORT_H
+#define FREERDP_LIB_CORE_MULTITRANSPORT_H
typedef struct rdp_multitransport rdpMultitransport;
FREERDP_LOCAL rdpMultitransport* multitransport_new(void);
FREERDP_LOCAL void multitransport_free(rdpMultitransport* multitransport);
-#endif /* __MULTITRANSPORT_H */
+#endif /* FREERDP_LIB_CORE_MULTITRANSPORT_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_NEGO_H
-#define FREERDP_CORE_NEGO_H
+#ifndef FREERDP_LIB_CORE_NEGO_H
+#define FREERDP_LIB_CORE_NEGO_H
#include "transport.h"
FREERDP_LOCAL void nego_set_preconnection_blob(rdpNego* nego,
char* PreconnectionBlob);
-#endif /* __NEGO_H */
+#endif /* FREERDP_LIB_CORE_NEGO_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_NLA_H
-#define FREERDP_CORE_NLA_H
+#ifndef FREERDP_LIB_CORE_NLA_H
+#define FREERDP_LIB_CORE_NLA_H
typedef struct rdp_nla rdpNla;
rdpSettings* settings);
FREERDP_LOCAL void nla_free(rdpNla* nla);
-#endif /* FREERDP_CORE_NLA_H */
+#endif /* FREERDP_LIB_CORE_NLA_H */
* limitations under the License.
*/
-#ifndef __ORDERS_H
-#define __ORDERS_H
+#ifndef FREERDP_LIB_CORE_ORDERS_H
+#define FREERDP_LIB_CORE_ORDERS_H
#include "rdp.h"
wStream* s,
const SWITCH_SURFACE_ORDER* switch_surface);
-#endif /* __ORDERS_H */
+#endif /* FREERDP_LIB_CORE_ORDERS_H */
* limitations under the License.
*/
-#ifndef __PEER
-#define __PEER
+#ifndef FREERDP_LIB_CORE_PEER_H
+#define FREERDP_LIB_CORE_PEER_H
#include "rdp.h"
#include "mcs.h"
#include <freerdp/peer.h>
-#endif /* __PEER */
+#endif /* FREERDP_LIB_CORE_PEER_H */
* limitations under the License.
*/
-#ifndef __HTTP_PROXY_H
-#define __HTTP_PROXY_H
+#ifndef FREERDP_LIB_CORE_HTTP_PROXY_H
+#define FREERDP_LIB_CORE_HTTP_PROXY_H
#include "freerdp/settings.h"
#include <openssl/bio.h>
BOOL proxy_parse_uri(rdpSettings* settings, const char* uri);
BOOL proxy_connect(rdpSettings* settings, BIO* bio, const char* hostname, UINT16 port);
-#endif
+#endif /* FREERDP_LIB_CORE_HTTP_PROXY_H */
* limitations under the License.
*/
-#ifndef __RDP_H
-#define __RDP_H
+#ifndef FREERDP_LIB_CORE_RDP_H
+#define FREERDP_LIB_CORE_RDP_H
#ifdef HAVE_CONFIG_H
#include "config.h"
BOOL rdp_set_error_info(rdpRdp* rdp, UINT32 errorInfo);
BOOL rdp_send_error_info(rdpRdp* rdp);
-#endif /* __RDP_H */
+#endif /* FREERDP_LIB_CORE_RDP_H */
* limitations under the License.
*/
-#ifndef __REDIRECTION_H
-#define __REDIRECTION_H
+#ifndef FREERDP_LIB_CORE_REDIRECTION_H
+#define FREERDP_LIB_CORE_REDIRECTION_H
typedef struct rdp_redirection rdpRedirection;
#define DEBUG_REDIR(...) do { } while (0)
#endif
-#endif /* __REDIRECTION_H */
+#endif /* FREERDP_LIB_CORE_REDIRECTION_H */
* limitations under the License.
*/
-#ifndef FREERDP_SECURITY_H
-#define FREERDP_SECURITY_H
+#ifndef FREERDP_LIB_CORE_SECURITY_H
+#define FREERDP_LIB_CORE_SECURITY_H
#include "rdp.h"
#include <freerdp/crypto/crypto.h>
FREERDP_LOCAL BOOL security_fips_check_signature(const BYTE* data, size_t length,
const BYTE* sig, rdpRdp* rdp);
-#endif /* __SECURITY_H */
+#endif /* FREERDP_LIB_CORE_SECURITY_H */
* limitations under the License.
*/
-#ifndef FREERDP_CORE_SERVER_H
-#define FREERDP_CORE_SERVER_H
+#ifndef FREERDP_LIB_CORE_SERVER_H
+#define FREERDP_LIB_CORE_SERVER_H
#include <freerdp/freerdp.h>
#include <freerdp/api.h>
FREERDP_LOCAL BOOL WINAPI FreeRDP_WTSLogonUser(HANDLE hServer, LPCSTR username,
LPCSTR password, LPCSTR domain);
-#endif /* FREERDP_CORE_SERVER_H */
+#endif /* FREERDP_LIB_CORE_SERVER_H */
* limitations under the License.
*/
-#ifndef __SURFACE
-#define __SURFACE
+#ifndef FREERDP_LIB_CORE_SURFACE_H
+#define FREERDP_LIB_CORE_SURFACE_H
#include "rdp.h"
FREERDP_LOCAL BOOL update_write_surfcmd_frame_marker(wStream* s,
UINT16 frameAction, UINT32 frameId);
-#endif /* __SURFACE */
+#endif /* FREERDP_LIB_CORE_SURFACE_H */
* limitations under the License.
*/
-#ifndef __TCP_H
-#define __TCP_H
+#ifndef FREERDP_LIB_CORE_TCP_H
+#define FREERDP_LIB_CORE_TCP_H
#include <winpr/windows.h>
rdpSettings* settings,
const char* hostname, int port, int timeout);
-#endif /* __TCP_H */
+#endif /* FREERDP_LIB_CORE_TCP_H */
* limitations under the License.
*/
-#ifndef __TIMEZONE_H
-#define __TIMEZONE_H
+#ifndef FREERDP_LIB_CORE_TIMEZONE_H
+#define FREERDP_LIB_CORE_TIMEZONE_H
#include "rdp.h"
#define DEBUG_TIMEZONE(...) do { } while (0)
#endif
-#endif /* __TIMEZONE_H */
+#endif /* FREERDP_LIB_CORE_TIMEZONE_H */
* limitations under the License.
*/
-#ifndef __TPDU_H
-#define __TPDU_H
+#ifndef FREERDP_LIB_CORE_TPDU_H
+#define FREERDP_LIB_CORE_TPDU_H
#include <winpr/stream.h>
#include <freerdp/api.h>
FREERDP_LOCAL BOOL tpdu_read_data(wStream* s, UINT16* li);
FREERDP_LOCAL void tpdu_write_data(wStream* s);
-#endif /* __TPDU_H */
+#endif /* FREERDP_LIB_CORE_TPDU_H */
* limitations under the License.
*/
-#ifndef __TPKT_H
-#define __TPKT_H
+#ifndef FREERDP_LIB_CORE_TPKT_H
+#define FREERDP_LIB_CORE_TPKT_H
#include "tpdu.h"
#include "transport.h"
FREERDP_LOCAL BOOL tpkt_read_header(wStream* s, UINT16* length);
FREERDP_LOCAL void tpkt_write_header(wStream* s, UINT16 length);
-#endif /* __TPKT_H */
+#endif /* FREERDP_LIB_CORE_TPKT_H */
* limitations under the License.
*/
-#ifndef __TRANSPORT_H
-#define __TRANSPORT_H
+#ifndef FREERDP_LIB_CORE_TRANSPORT_H
+#define FREERDP_LIB_CORE_TRANSPORT_H
typedef enum
{
FREERDP_LOCAL rdpTransport* transport_new(rdpContext* context);
FREERDP_LOCAL void transport_free(rdpTransport* transport);
-#endif
+#endif /* FREERDP_LIB_CORE_TRANSPORT_H */
* limitations under the License.
*/
-#ifndef __UPDATE_H
-#define __UPDATE_H
+#ifndef FREERDP_LIB_CORE_UPDATE_H
+#define FREERDP_LIB_CORE_UPDATE_H
#include "rdp.h"
#include "orders.h"
FREERDP_LOCAL void update_register_client_callbacks(rdpUpdate* update);
FREERDP_LOCAL int update_process_messages(rdpUpdate* update);
-#endif /* __UPDATE_H */
+#endif /* FREERDP_LIB_CORE_UPDATE_H */
* limitations under the License.
*/
-#ifndef __WINDOW_H
-#define __WINDOW_H
+#ifndef FREERDP_LIB_CORE_WINDOW_H
+#define FREERDP_LIB_CORE_WINDOW_H
#include "update.h"
#define DEBUG_WND(...) do { } while (0)
#endif
-#endif /* __WINDOW_H */
+#endif /* FREERDP_LIB_CORE_WINDOW_H */
* limitations under the License.
*/
-#ifndef FREERDP_CRYPTO_OPENSSLCOMPAT_H
-#define FREERDP_CRYPTO_OPENSSLCOMPAT_H
+#ifndef FREERDP_LIB_CRYPTO_OPENSSLCOMPAT_H
+#define FREERDP_LIB_CRYPTO_OPENSSLCOMPAT_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif /* OPENSSL < 1.1.0 || LIBRESSL */
#endif /* WITH_OPENSSL */
-#endif /* FREERDP_CRYPTO_OPENSSLCOMPAT_H */
+#endif /* FREERDP_LIB_CRYPTO_OPENSSLCOMPAT_H */
* limitations under the License.
*/
-#ifndef FREERDP_GDI_BRUSH_H
-#define FREERDP_GDI_BRUSH_H
+#ifndef FREERDP_LIB_GDI_BRUSH_H
+#define FREERDP_LIB_GDI_BRUSH_H
#include <freerdp/api.h>
#include <freerdp/gdi/gdi.h>
}
#endif
-#endif /* FREERDP_GDI_BRUSH_H */
+#endif /* FREERDP_LIB_GDI_BRUSH_H */
* limitations under the License.
*/
-#ifndef FREERDP_GDI_CLIPPING_H
-#define FREERDP_GDI_CLIPPING_H
+#ifndef FREERDP_LIB_GDI_CLIPPING_H
+#define FREERDP_LIB_GDI_CLIPPING_H
#include <freerdp/api.h>
#include <freerdp/gdi/gdi.h>
}
#endif
-#endif /* FREERDP_GDI_CLIPPING_H */
+#endif /* FREERDP_LIB_GDI_CLIPPING_H */
* limitations under the License.
*/
-#ifndef FREERDP_GDI_DRAWING_H
-#define FREERDP_GDI_DRAWING_H
+#ifndef FREERDP_LIB_GDI_DRAWING_H
+#define FREERDP_LIB_GDI_DRAWING_H
#include <freerdp/api.h>
#include <freerdp/gdi/gdi.h>
}
#endif
-#endif /* FREERDP_GDI_DRAWING_H */
+#endif /* FREERDP_LIB_GDI_DRAWING_H */
* limitations under the License.
*/
-#ifndef __GDI_CORE_H
-#define __GDI_CORE_H
+#ifndef FREERDP_LIB_GDI_CORE_H
+#define FREERDP_LIB_GDI_CORE_H
#include "graphics.h"
#include "brush.h"
return p;
}
-#endif /* __GDI_CORE_H */
+#endif /* FREERDP_LIB_GDI_CORE_H */
* limitations under the License.
*/
-#ifndef __GDI_GRAPHICS_H
-#define __GDI_GRAPHICS_H
+#ifndef FREERDP_LIB_GDI_GRAPHICS_H
+#define FREERDP_LIB_GDI_GRAPHICS_H
#include <freerdp/gdi/gdi.h>
#include <freerdp/graphics.h>
FREERDP_LOCAL BOOL gdi_register_graphics(rdpGraphics* graphics);
-#endif /* __GDI_GRAPHICS_H */
+#endif /* FREERDP_LIB_GDI_GRAPHICS_H */
* limitations under the License.
*/
-#ifndef FREERDP_GDI_LINE_H
-#define FREERDP_GDI_LINE_H
+#ifndef FREERDP_LIB_GDI_LINE_H
+#define FREERDP_LIB_GDI_LINE_H
#include <freerdp/api.h>
#include <freerdp/gdi/gdi.h>
}
#endif
-#endif /* FREERDP_GDI_LINE_H */
+#endif /* FREERDP_LIB_GDI_LINE_H */
* limitations under the License.
*/
-#ifndef __LOCALE_KEYBOARD_XKB_H
-#define __LOCALE_KEYBOARD_XKB_H
+#ifndef FREERDP_LIB_LOCALE_KEYBOARD_XKB_H
+#define FREERDP_LIB_LOCALE_KEYBOARD_XKB_H
#include <freerdp/types.h>
#include <freerdp/locale/keyboard.h>
FREERDP_LOCAL int freerdp_keyboard_load_map_from_xkbfile(void* display,
DWORD x11_keycode_to_rdp_scancode[256]);
-#endif /* __LOCALE_KEYBOARD_XKB_H */
+#endif /* FREERDP_LIB_LOCALE_KEYBOARD_XKB_H */
* limitations under the License.
*/
-#ifndef __LIBLOCALE_H
-#define __LIBLOCALE_H
+#ifndef FREERDP_LIB_LOCALE_LIB_H
+#define FREERDP_LIB_LOCALE_LIB_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#define DEBUG_TIMEZONE(...) do { } while (0)
#endif
-#endif /* __LIBLOCALE_H */
+#endif /* FREERDP_LIB_LOCALE_LIB_H */
* limitations under the License.
*/
-#ifndef __FREERDP_XKB_LAYOUT_IDS_H
-#define __FREERDP_XKB_LAYOUT_IDS_H
+#ifndef FREERDP_LIB_LOCALE_XKB_LAYOUT_IDS_H
+#define FREERDP_LIB_LOCALE_XKB_LAYOUT_IDS_H
#include <freerdp/types.h>
#include <freerdp/api.h>
FREERDP_LOCAL UINT32 find_keyboard_layout_in_xorg_rules(char* layout,
char* variant);
-#endif /* __FREERDP_XKB_LAYOUT_IDS_H */
+#endif /* FREERDP_LIB_LOCALE_XKB_LAYOUT_IDS_H */
*
*/
-#ifdef __GNUC__
-# pragma once
-#endif
-
-#ifndef __PRIM_INTERNAL_H_INCLUDED__
-#define __PRIM_INTERNAL_H_INCLUDED__
+#ifndef FREERDP_LIB_PRIM_INTERNAL_H
+#define FREERDP_LIB_PRIM_INTERNAL_H
#ifndef CMAKE_BUILD_TYPE
#define CMAKE_BUILD_TYPE Release
FREERDP_LOCAL void primitives_init_YCoCg_opt(primitives_t* prims);
FREERDP_LOCAL void primitives_init_YUV_opt(primitives_t* prims);
-#endif /* !__PRIM_INTERNAL_H_INCLUDED__ */
+#endif /* FREERDP_LIB_PRIM_INTERNAL_H */
# pragma once
#endif
-#ifndef __PRIM_TEMPLATES_H_INCLUDED__
-#define __PRIM_TEMPLATES_H_INCLUDED__
+#ifndef FREERDP_LIB_PRIM_TEMPLATES_H
+#define FREERDP_LIB_PRIM_TEMPLATES_H
/* These are prototypes for SSE (potentially NEON) routines that do a
* simple SSE operation over an array of data. Since so much of this
return PRIMITIVES_SUCCESS; \
}
-#endif /* !__PRIM_TEMPLATES_H_INCLUDED__ */
+#endif /* FREERDP_LIB_PRIM_TEMPLATES_H */
if (!in || !out_c || !out_sse)
goto fail;
- winpr_RAND(in, sizeof(in));
+ winpr_RAND(in, size);
for (x = 0; x < sizeof(formats) / sizeof(formats[0]); x++)
{
* this code may be covered by patents by HP, Microsoft, or other parties.
*/
-#ifndef __PRIMTEST_H_INCLUDED__
-#define __PRIMTEST_H_INCLUDED__
+#ifndef FREERDP_LIB_PRIMTEST_H
+#define FREERDP_LIB_PRIMTEST_H
#include <winpr/crt.h>
#include <winpr/spec.h>
speed_test_fkt generic, speed_test_fkt optimized,
...);
-#endif // !__PRIMTEST_H_INCLUDED__
+#endif /* FREERDP_LIB_PRIMTEST_H */
* limitations under the License.
*/
-#ifndef MF_AUDIN_H
-#define MF_AUDIN_H
+#ifndef FREERDP_SERVER_MAC_AUDIN_H
+#define FREERDP_SERVER_MAC_AUDIN_H
#include <freerdp/freerdp.h>
#include <freerdp/listener.h>
void mf_peer_audin_init(mfPeerContext* context);
-#endif /* MF_AUDIN_H */
+#endif /* FREERDP_SERVER_MAC_AUDIN_H */
* limitations under the License.
*/
-#ifndef __MF_EVENT_H
-#define __MF_EVENT_H
+#ifndef FREERDP_SERVER_MAC_EVENT_H
+#define FREERDP_SERVER_MAC_EVENT_H
typedef struct mf_event mfEvent;
typedef struct mf_event_queue mfEventQueue;
enum mf_event_type
{
- MF_EVENT_TYPE_REGION,
- MF_EVENT_TYPE_FRAME_TICK
+ FREERDP_SERVER_MAC_EVENT_TYPE_REGION,
+ FREERDP_SERVER_MAC_EVENT_TYPE_FRAME_TICK
};
struct mf_event
mfEventQueue* mf_event_queue_new(void);
void mf_event_queue_free(mfEventQueue* event_queue);
-#endif /* __MF_EVENT_H */
+#endif /* FREERDP_SERVER_MAC_EVENT_H */
* limitations under the License.
*/
-#ifndef MF_INFO_H
-#define MF_INFO_H
+#ifndef FREERDP_SERVER_MAC_INFO_H
+#define FREERDP_SERVER_MAC_INFO_H
-#define MF_INFO_DEFAULT_FPS 1
-#define MF_INFO_MAXPEERS 1
+#define FREERDP_SERVER_MAC_INFO_DEFAULT_FPS 1
+#define FREERDP_SERVER_MAC_INFO_MAXPEERS 1
void mf_info_getScreenData(mfInfo* mfi, long* width, long* height, BYTE** pBits, int* pitch);
//BOOL CALLBACK mf_info_monEnumCB(HMONITOR hMonitor, HDC hdcMonitor, LPRECT lprcMonitor, LPARAM dwData);
-#endif /* mf_info_H */
+#endif /* FREERDP_SERVER_MAC_INFO_H */
* limitations under the License.
*/
-#ifndef MF_INPUT_H
-#define MF_INPUT_H
+#ifndef FREERDP_SERVER_MAC_INPUT_H
+#define FREERDP_SERVER_MAC_INPUT_H
#include "mf_interface.h"
void mf_input_mouse_event_dummy(rdpInput* input, UINT16 flags, UINT16 x, UINT16 y);
void mf_input_extended_mouse_event_dummy(rdpInput* input, UINT16 flags, UINT16 x, UINT16 y);
-#endif /* MF_INPUT_H */
\ No newline at end of file
+#endif /* FREERDP_SERVER_MAC_INPUT_H */
\ No newline at end of file
* limitations under the License.
*/
-#ifndef MF_INTERFACE_H
-#define MF_INTERFACE_H
+#ifndef FREERDP_SERVER_MAC_INTERFACE_H
+#define FREERDP_SERVER_MAC_INTERFACE_H
#include <pthread.h>
BOOL force_all_disconnect;
};
-#endif
+#endif /* FREERDP_SERVER_MAC_INTERFACE_H */
* limitations under the License.
*/
-#ifndef MF_MLION_H
-#define MF_MLION_H
+#ifndef FREERDP_SERVER_MAC_MLION_H
+#define FREERDP_SERVER_MAC_MLION_H
#include <freerdp/codec/rfx.h>
int mf_mlion_get_pixelData(long x, long y, long width, long height, BYTE **pxData);
-#endif
+#endif /* FREERDP_SERVER_MAC_MLION_H */
* limitations under the License.
*/
-#ifndef WF_PEER_H
-#define WF_PEER_H
+#ifndef FREERDP_SERVER_MAC_PEER_H
+#define FREERDP_SERVER_MAC_PEER_H
#include "mf_interface.h"
void* mf_peer_main_loop(void* arg);
-#endif /* MF_PEER_H */
+#endif /* FREERDP_SERVER_MAC_PEER_H */
* limitations under the License.
*/
-#ifndef MF_RDPSND_H
-#define MF_RDPSND_H
+#ifndef FREERDP_SERVER_MAC_RDPSND_H
+#define FREERDP_SERVER_MAC_RDPSND_H
#include <CoreAudio/CoreAudio.h>
#include <AudioToolbox/AudioToolbox.h>
BOOL mf_peer_rdpsnd_init(mfPeerContext* context);
BOOL mf_peer_rdpsnd_stop(void);
-#endif /* MF_RDPSND_H */
+#endif /* FREERDP_SERVER_MAC_RDPSND_H */
* limitations under the License.
*/
-#ifndef MFREERDP_SERVER_H
-#define MFREERDP_SERVER_H
+#ifndef FREERDP_SERVER_MAC_FREERDP_H
+#define FREERDP_SERVER_MAC_FREERDP_H
#include <freerdp/freerdp.h>
#include <freerdp/listener.h>
#include <freerdp/codec/rfx.h>
-#endif /* MFREERDP_SERVER_H */
+#endif /* FREERDP_SERVER_MAC_FREERDP_H */
* limitations under the License.
*/
-#ifndef SF_AUDIN_H
-#define SF_AUDIN_H
+#ifndef FREERDP_SERVER_SAMPLE_SF_AUDIN_H
+#define FREERDP_SERVER_SAMPLE_SF_AUDIN_H
#include <freerdp/freerdp.h>
#include <freerdp/listener.h>
void sf_peer_audin_init(testPeerContext* context);
-#endif /* WF_AUDIN_H */
+#endif /* FREERDP_SERVER_SAMPLE_SF_AUDIN_H */
* limitations under the License.
*/
-#ifndef SF_ENCOMSP_H
-#define SF_ENCOMSP_H
+#ifndef FREERDP_SERVER_SAMPLE_SF_ENCOMSP_H
+#define FREERDP_SERVER_SAMPLE_SF_ENCOMSP_H
#include <freerdp/freerdp.h>
#include <freerdp/listener.h>
BOOL sf_peer_encomsp_init(testPeerContext* context);
-#endif /* SF_ENCOMSP_H */
+#endif /* FREERDP_SERVER_SAMPLE_SF_ENCOMSP_H */
* limitations under the License.
*/
-#ifndef SF_RDPSND_H
-#define SF_RDPSND_H
+#ifndef FREERDP_SERVER_SAMPLE_SF_RDPSND_H
+#define FREERDP_SERVER_SAMPLE_SF_RDPSND_H
#include <freerdp/freerdp.h>
#include <freerdp/listener.h>
BOOL sf_peer_rdpsnd_init(testPeerContext* context);
-#endif /* SF_RDPSND_H */
+#endif /* FREERDP_SERVER_SAMPLE_SF_RDPSND_H */
* limitations under the License.
*/
-#ifndef SFREERDP_SERVER_H
-#define SFREERDP_SERVER_H
+#ifndef FREERDP_SERVER_SAMPLE_SFREERDP_SERVER_H
+#define FREERDP_SERVER_SAMPLE_SFREERDP_SERVER_H
#include <freerdp/freerdp.h>
#include <freerdp/listener.h>
};
typedef struct test_peer_context testPeerContext;
-#endif /* SFREERDP_SERVER_H */
+#endif /* FREERDP_SERVER_SAMPLE_SFREERDP_SERVER_H */
* limitations under the License.
*/
-#ifndef WFREERDP_H
-#define WFREERDP_H
+#ifndef FREERDP_SERVER_WIN_FREERDP_H
+#define FREERDP_SERVER_WIN_FREERDP_H
#include <freerdp/freerdp.h>
-#endif /* WFREERDP_H */
+#endif /* FREERDP_SERVER_WIN_FREERDP_H */
-#ifndef WF_DSOUND_H
-#define WF_DSOUND_H
+#ifndef FREERDP_SERVER_WIN_DSOUND_H
+#define FREERDP_SERVER_WIN_DSOUND_H
#include <freerdp/server/rdpsnd.h>
#include "wf_interface.h"
DWORD WINAPI wf_rdpsnd_directsound_thread(LPVOID lpParam);
-#endif
\ No newline at end of file
+#endif /* FREERDP_SERVER_WIN_DSOUND_H */
* limitations under the License.
*/
-#ifndef WF_DXGI_H
-#define WF_DXGI_H
+#ifndef FREERDP_SERVER_WIN_DXGI_H
+#define FREERDP_SERVER_WIN_DXGI_H
#include "wf_interface.h"
int wf_dxgi_getInvalidRegion(RECT* invalid);
-#endif
+#endif /* FREERDP_SERVER_WIN_DXGI_H */
* limitations under the License.
*/
-#ifndef WF_INFO_H
-#define WF_INFO_H
+#ifndef FREERDP_SERVER_WIN_INFO_H
+#define FREERDP_SERVER_WIN_INFO_H
#include "wf_interface.h"
-#define WF_INFO_DEFAULT_FPS 24
-#define WF_INFO_MAXPEERS 32
+#define FREERDP_SERVER_WIN_INFO_DEFAULT_FPS 24
+#define FREERDP_SERVER_WIN_INFO_MAXPEERS 32
BOOL wf_info_lock(wfInfo* wfi);
BOOL wf_info_try_lock(wfInfo* wfi, DWORD dwMilliseconds);
void wf_info_getScreenData(wfInfo* wfi, long* width, long* height, BYTE** pBits, int* pitch);
BOOL CALLBACK wf_info_monEnumCB(HMONITOR hMonitor, HDC hdcMonitor, LPRECT lprcMonitor, LPARAM dwData);
-#endif /* WF_INFO_H */
+#endif /* FREERDP_SERVER_WIN_INFO_H */
* limitations under the License.
*/
-#ifndef WF_INPUT_H
-#define WF_INPUT_H
+#ifndef FREERDP_SERVER_WIN_INPUT_H
+#define FREERDP_SERVER_WIN_INPUT_H
#include "wf_interface.h"
void wf_peer_mouse_event_dummy(rdpInput* input, UINT16 flags, UINT16 x, UINT16 y);
void wf_peer_extended_mouse_event_dummy(rdpInput* input, UINT16 flags, UINT16 x, UINT16 y);
-#endif /* WF_INPUT_H */
+#endif /* FREERDP_SERVER_WIN_INPUT_H */
* limitations under the License.
*/
-#ifndef WF_INTERFACE_H
-#define WF_INTERFACE_H
+#ifndef FREERDP_SERVER_WIN_INTERFACE_H
+#define FREERDP_SERVER_WIN_INTERFACE_H
#include <winpr/windows.h>
#define WITH_DXGI_1_2 1
#endif
-#define WF_SRV_CALLBACK_EVENT_CONNECT 1
-#define WF_SRV_CALLBACK_EVENT_DISCONNECT 2
-#define WF_SRV_CALLBACK_EVENT_ACTIVATE 4
-#define WF_SRV_CALLBACK_EVENT_AUTH 8
+#define FREERDP_SERVER_WIN_SRV_CALLBACK_EVENT_CONNECT 1
+#define FREERDP_SERVER_WIN_SRV_CALLBACK_EVENT_DISCONNECT 2
+#define FREERDP_SERVER_WIN_SRV_CALLBACK_EVENT_ACTIVATE 4
+#define FREERDP_SERVER_WIN_SRV_CALLBACK_EVENT_AUTH 8
typedef struct wf_info wfInfo;
typedef struct wf_peer_context wfPeerContext;
void wfreerdp_server_peer_callback_event(int pId, UINT32 eType);
-#endif /* WF_INTERFACE_H */
+#endif /* FREERDP_SERVER_WIN_INTERFACE_H */
* limitations under the License.
*/
-#ifndef WF_MIRAGE_H
-#define WF_MIRAGE_H
+#ifndef FREERDP_SERVER_WIN_MIRAGE_H
+#define FREERDP_SERVER_WIN_MIRAGE_H
#include "wf_interface.h"
BOOL wf_mirror_driver_activate(wfInfo* wfi);
void wf_mirror_driver_deactivate(wfInfo* wfi);
-#endif /* WF_MIRAGE_H */
+#endif /* FREERDP_SERVER_WIN_MIRAGE_H */
* limitations under the License.
*/
-#ifndef WF_PEER_H
-#define WF_PEER_H
+#ifndef FREERDP_SERVER_WIN_PEER_H
+#define FREERDP_SERVER_WIN_PEER_H
#include "wf_interface.h"
DWORD WINAPI wf_peer_main_loop(LPVOID lpParam);
-#endif /* WF_PEER_H */
+#endif /* FREERDP_SERVER_WIN_PEER_H */
* limitations under the License.
*/
-#ifndef WF_RDPSND_H
-#define WF_RDPSND_H
+#ifndef FREERDP_SERVER_WIN_RDPSND_H
+#define FREERDP_SERVER_WIN_RDPSND_H
#include <freerdp/freerdp.h>
#include <freerdp/listener.h>
BOOL wf_peer_rdpsnd_init(wfPeerContext* context);
-#endif /* WF_RDPSND_H */
+#endif /* FREERDP_SERVER_WIN_RDPSND_H */
* limitations under the License.
*/
-#ifndef WF_SETTINGS_H
-#define WF_SETTINGS_H
+#ifndef FREERDP_SERVER_WIN_SETTINGS_H
+#define FREERDP_SERVER_WIN_SETTINGS_H
#include "wf_interface.h"
BOOL wf_settings_read_dword(HKEY key, LPCSTR subkey, LPTSTR name, DWORD* value);
BOOL wf_settings_read_string_ascii(HKEY key, LPCSTR subkey, LPTSTR name, char** value);
-#endif /* WF_SETTINGS_H */
+#endif /* FREERDP_SERVER_WIN_SETTINGS_H */
* limitations under the License.
*/
-#ifndef WF_UPDATE_H
-#define WF_UPDATE_H
+#ifndef FREERDP_SERVER_WIN_UPDATE_H
+#define FREERDP_SERVER_WIN_UPDATE_H
#include "wf_interface.h"
void wf_update_peer_activate(wfInfo* wfi, wfPeerContext* context);
void wf_update_peer_deactivate(wfInfo* wfi, wfPeerContext* context);
-#endif /* WF_UPDATE_H */
+#endif /* FREERDP_SERVER_WIN_UPDATE_H */
-#ifndef WF_WASAPI_H
-#define WF_WASAPI_H
+#ifndef FREERDP_SERVER_WIN_WASAPI_H
+#define FREERDP_SERVER_WIN_WASAPI_H
#include <freerdp/server/rdpsnd.h>
#include "wf_interface.h"
DWORD WINAPI wf_rdpsnd_wasapi_thread(LPVOID lpParam);
-#endif
\ No newline at end of file
+#endif /* FREERDP_SERVER_WIN_WASAPI_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_MAC_H
-#define FREERDP_SHADOW_SERVER_MAC_H
+#ifndef FREERDP_SERVER_SHADOW_MAC_SHADOW_H
+#define FREERDP_SERVER_SHADOW_MAC_SHADOW_H
#include <freerdp/server/shadow.h>
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_MAC_H */
+#endif /* FREERDP_SERVER_SHADOW_MAC_SHADOW_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_WIN_DXGI_H
-#define FREERDP_SHADOW_SERVER_WIN_DXGI_H
+#ifndef FREERDP_SERVER_SHADOW_WIN_DXGI_H
+#define FREERDP_SERVER_SHADOW_WIN_DXGI_H
#if _WIN32_WINNT >= 0x0602
//#define WITH_DXGI_1_2 1
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_WIN_DXGI_H */
+#endif /* FREERDP_SERVER_SHADOW_WIN_DXGI_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_WIN_RDP_H
-#define FREERDP_SHADOW_SERVER_WIN_RDP_H
+#ifndef FREERDP_SERVER_SHADOW_WIN_RDP_H
+#define FREERDP_SERVER_SHADOW_WIN_RDP_H
#include <freerdp/addin.h>
#include <freerdp/gdi/gdi.h>
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_WIN_RDP_H */
+#endif /* FREERDP_SERVER_SHADOW_WIN_RDP_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_WIN_H
-#define FREERDP_SHADOW_SERVER_WIN_H
+#ifndef FREERDP_SERVER_SHADOW_WIN_H
+#define FREERDP_SERVER_SHADOW_WIN_H
#include <freerdp/assistance.h>
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_WIN_H */
+#endif /* FREERDP_SERVER_SHADOW_WIN_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_WIN_WDS_H
-#define FREERDP_SHADOW_SERVER_WIN_WDS_H
+#ifndef FREERDP_SERVER_SHADOW_WIN_WDS_H
+#define FREERDP_SERVER_SHADOW_WIN_WDS_H
#define WITH_WDS_API 1
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_WIN_WDS_H */
+#endif /* FREERDP_SERVER_SHADOW_WIN_WDS_H */
#define TAG SERVER_TAG("shadow.x11")
-static int x11_shadow_enum_monitors(MONITOR_DEF* monitors, int maxMonitors);
+static UINT32 x11_shadow_enum_monitors(MONITOR_DEF* monitors, UINT32 maxMonitors);
#ifdef WITH_PAM
BYTE* pDstData;
BYTE A, R, G, B;
rdpShadowSurface* surface;
+
+ if (!subsystem)
+ return -1;
+
surface = subsystem->server->surface;
nXSrc = 0;
nYSrc = 0;
return 1;
}
-int x11_shadow_enum_monitors(MONITOR_DEF* monitors, int maxMonitors)
+UINT32 x11_shadow_enum_monitors(MONITOR_DEF* monitors, UINT32 maxMonitors)
{
int index;
Display* display;
return numMonitors;
}
-static int x11_shadow_subsystem_init(x11ShadowSubsystem* subsystem)
+static int x11_shadow_subsystem_init(rdpShadowSubsystem* sub)
{
int i;
int pf_count;
XPixmapFormatValues* pf;
XPixmapFormatValues* pfs;
MONITOR_DEF* virtualScreen;
+ x11ShadowSubsystem* subsystem = (x11ShadowSubsystem*)sub;
+
+ if (!subsystem)
+ return -1;
+
subsystem->numMonitors = x11_shadow_enum_monitors(subsystem->monitors, 16);
x11_shadow_subsystem_base_init(subsystem);
return 1;
}
-static int x11_shadow_subsystem_uninit(x11ShadowSubsystem* subsystem)
+static int x11_shadow_subsystem_uninit(rdpShadowSubsystem* sub)
{
+ x11ShadowSubsystem* subsystem = (x11ShadowSubsystem*)sub;
+
if (!subsystem)
return -1;
return 1;
}
-static int x11_shadow_subsystem_start(x11ShadowSubsystem* subsystem)
+static int x11_shadow_subsystem_start(rdpShadowSubsystem* sub)
{
- if (!subsystem)
- return -1;
+ x11ShadowSubsystem* subsystem = (x11ShadowSubsystem*)sub;
+
+ if (!subsystem)
+ return -1;
if (!(subsystem->thread = CreateThread(NULL, 0,
(LPTHREAD_START_ROUTINE) x11_shadow_subsystem_thread,
return 1;
}
-static int x11_shadow_subsystem_stop(x11ShadowSubsystem* subsystem)
+static int x11_shadow_subsystem_stop(rdpShadowSubsystem* sub)
{
- if (!subsystem)
- return -1;
+ x11ShadowSubsystem* subsystem = (x11ShadowSubsystem*)sub;
+
+ if (!subsystem)
+ return -1;
if (subsystem->thread)
{
return 1;
}
-static x11ShadowSubsystem* x11_shadow_subsystem_new(void)
+static rdpShadowSubsystem* x11_shadow_subsystem_new(void)
{
x11ShadowSubsystem* subsystem;
subsystem = (x11ShadowSubsystem*) calloc(1, sizeof(x11ShadowSubsystem));
subsystem->use_xfixes = TRUE;
subsystem->use_xdamage = FALSE;
subsystem->use_xinerama = TRUE;
- return subsystem;
+ return (rdpShadowSubsystem*)subsystem;
}
-static void x11_shadow_subsystem_free(x11ShadowSubsystem* subsystem)
+static void x11_shadow_subsystem_free(rdpShadowSubsystem* subsystem)
{
if (!subsystem)
return;
FREERDP_API int X11_ShadowSubsystemEntry(RDP_SHADOW_ENTRY_POINTS* pEntryPoints)
{
- pEntryPoints->New = (pfnShadowSubsystemNew) x11_shadow_subsystem_new;
- pEntryPoints->Free = (pfnShadowSubsystemFree) x11_shadow_subsystem_free;
- pEntryPoints->Init = (pfnShadowSubsystemInit) x11_shadow_subsystem_init;
- pEntryPoints->Uninit = (pfnShadowSubsystemInit) x11_shadow_subsystem_uninit;
- pEntryPoints->Start = (pfnShadowSubsystemStart) x11_shadow_subsystem_start;
- pEntryPoints->Stop = (pfnShadowSubsystemStop) x11_shadow_subsystem_stop;
- pEntryPoints->EnumMonitors = (pfnShadowEnumMonitors) x11_shadow_enum_monitors;
+ if (!pEntryPoints)
+ return -1;
+
+ pEntryPoints->New = x11_shadow_subsystem_new;
+ pEntryPoints->Free = x11_shadow_subsystem_free;
+ pEntryPoints->Init = x11_shadow_subsystem_init;
+ pEntryPoints->Uninit = x11_shadow_subsystem_uninit;
+ pEntryPoints->Start = x11_shadow_subsystem_start;
+ pEntryPoints->Stop = x11_shadow_subsystem_stop;
+ pEntryPoints->EnumMonitors = x11_shadow_enum_monitors;
return 1;
}
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_X11_H
-#define FREERDP_SHADOW_SERVER_X11_H
+#ifndef FREERDP_SERVER_SHADOW_X11_H
+#define FREERDP_SERVER_SHADOW_X11_H
#include <freerdp/server/shadow.h>
HANDLE thread;
- int bpp;
+ UINT32 bpp;
int xfds;
- int depth;
- int width;
- int height;
+ UINT32 depth;
+ UINT32 width;
+ UINT32 height;
int number;
XImage* image;
Screen* screen;
Visual* visual;
Display* display;
- int scanline_pad;
+ UINT32 scanline_pad;
BOOL composite;
BOOL use_xshm;
Window root_window;
XShmSegmentInfo fb_shm_info;
- int cursorHotX;
- int cursorHotY;
- int cursorWidth;
- int cursorHeight;
+ UINT32 cursorHotX;
+ UINT32 cursorHotY;
+ UINT32 cursorWidth;
+ UINT32 cursorHeight;
UINT32 cursorId;
BYTE* cursorPixels;
- int cursorMaxWidth;
- int cursorMaxHeight;
+ UINT32 cursorMaxWidth;
+ UINT32 cursorMaxHeight;
rdpShadowClient* lastMouseClient;
#ifdef WITH_XDAMAGE
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_X11_H */
+#endif /* FREERDP_SERVER_SHADOW_X11_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_H
-#define FREERDP_SHADOW_SERVER_H
+#ifndef FREERDP_SERVER_SHADOW_SHADOW_H
+#define FREERDP_SERVER_SHADOW_SHADOW_H
#include <freerdp/server/shadow.h>
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_H */
+#endif /* FREERDP_SERVER_SHADOW_SHADOW_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_AUDIN_H
-#define FREERDP_SHADOW_SERVER_AUDIN_H
+#ifndef FREERDP_SERVER_SHADOW_AUDIN_H
+#define FREERDP_SERVER_SHADOW_AUDIN_H
#include <freerdp/server/shadow.h>
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_AUDIN_H */
+#endif /* FREERDP_SERVER_SHADOW_AUDIN_H */
return 1;
}
-int shadow_capture_compare(BYTE* pData1, int nStep1, int nWidth, int nHeight, BYTE* pData2, int nStep2, RECTANGLE_16* rect)
+int shadow_capture_compare(BYTE* pData1, UINT32 nStep1, UINT32 nWidth, UINT32 nHeight,
+ BYTE* pData2, UINT32 nStep2, RECTANGLE_16* rect)
{
BOOL equal;
BOOL allEqual;
- int tw, th;
- int tx, ty, k;
- int nrow, ncol;
- int l, t, r, b;
+ UINT32 tw, th;
+ UINT32 tx, ty, k;
+ UINT32 nrow, ncol;
+ UINT32 l, t, r, b;
BYTE *p1, *p2;
BOOL rows[1024];
#ifdef WITH_DEBUG_SHADOW_CAPTURE
ncol = (nWidth + 15) / 16;
l = ncol + 1;
- r = -1;
+ r = 0;
t = nrow + 1;
- b = -1;
+ b = 0;
for (ty = 0; ty < nrow; ty++)
{
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_CAPTURE_H
-#define FREERDP_SHADOW_SERVER_CAPTURE_H
+#ifndef FREERDP_SERVER_SHADOW_CAPTURE_H
+#define FREERDP_SERVER_SHADOW_CAPTURE_H
#include <freerdp/server/shadow.h>
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_CAPTURE_H */
+#endif /* FREERDP_SERVER_SHADOW_CAPTURE_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_CHANNELS_H
-#define FREERDP_SHADOW_SERVER_CHANNELS_H
+#ifndef FREERDP_SERVER_SHADOW_CHANNELS_H
+#define FREERDP_SERVER_SHADOW_CHANNELS_H
#include <freerdp/server/shadow.h>
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_CHANNELS_H */
+#endif /* FREERDP_SERVER_SHADOW_CHANNELS_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_CLIENT_H
-#define FREERDP_SHADOW_SERVER_CLIENT_H
+#ifndef FREERDP_SERVER_SHADOW_CLIENT_H
+#define FREERDP_SERVER_SHADOW_CLIENT_H
#include <freerdp/server/shadow.h>
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_CLIENT_H */
+#endif /* FREERDP_SERVER_SHADOW_CLIENT_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_ENCODER_H
-#define FREERDP_SHADOW_SERVER_ENCODER_H
+#ifndef FREERDP_SERVER_SHADOW_ENCODER_H
+#define FREERDP_SERVER_SHADOW_ENCODER_H
#include <winpr/crt.h>
#include <winpr/stream.h>
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_ENCODER_H */
+#endif /* FREERDP_SERVER_SHADOW_ENCODER_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_ENCOMSP_H
-#define FREERDP_SHADOW_SERVER_ENCOMSP_H
+#ifndef FREERDP_SERVER_SHADOW_ENCOMSP_H
+#define FREERDP_SERVER_SHADOW_ENCOMSP_H
#include <freerdp/server/shadow.h>
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_ENCOMSP_H */
+#endif /* FREERDP_SERVER_SHADOW_ENCOMSP_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_INPUT_H
-#define FREERDP_SHADOW_SERVER_INPUT_H
+#ifndef FREERDP_SERVER_SHADOW_INPUT_H
+#define FREERDP_SERVER_SHADOW_INPUT_H
#include <freerdp/server/shadow.h>
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_INPUT_H */
+#endif /* FREERDP_SERVER_SHADOW_INPUT_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_LOBBY_H
-#define FREERDP_SHADOW_SERVER_LOBBY_H
+#ifndef FREERDP_SERVER_SHADOW_LOBBY_H
+#define FREERDP_SERVER_SHADOW_LOBBY_H
#include <freerdp/server/shadow.h>
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_LOBBY_H */
+#endif /* FREERDP_SERVER_SHADOW_LOBBY_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_MCEVENT_H
-#define FREERDP_SHADOW_SERVER_MCEVENT_H
+#ifndef FREERDP_SERVER_SHADOW_MCEVENT_H
+#define FREERDP_SERVER_SHADOW_MCEVENT_H
#include <freerdp/server/shadow.h>
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_MCEVENT_H */
+#endif /* FREERDP_SERVER_SHADOW_MCEVENT_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_RDPGFX_H
-#define FREERDP_SHADOW_SERVER_RDPGFX_H
+#ifndef FREERDP_SERVER_SHADOW_RDPGFX_H
+#define FREERDP_SERVER_SHADOW_RDPGFX_H
#include <freerdp/server/shadow.h>
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_RDPGFX_H */
+#endif /* FREERDP_SERVER_SHADOW_RDPGFX_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_RDPSND_H
-#define FREERDP_SHADOW_SERVER_RDPSND_H
+#ifndef FREERDP_SERVER_SHADOW_RDPSND_H
+#define FREERDP_SERVER_SHADOW_RDPSND_H
#include <freerdp/server/shadow.h>
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_RDPSND_H */
+#endif /* FREERDP_SERVER_SHADOW_RDPSND_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_REMDESK_H
-#define FREERDP_SHADOW_SERVER_REMDESK_H
+#ifndef FREERDP_SERVER_SHADOW_REMDESK_H
+#define FREERDP_SERVER_SHADOW_REMDESK_H
#include <freerdp/server/shadow.h>
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_REMDESK_H */
+#endif /* FREERDP_SERVER_SHADOW_REMDESK_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_SCREEN_H
-#define FREERDP_SHADOW_SERVER_SCREEN_H
+#ifndef FREERDP_SERVER_SHADOW_SCREEN_H
+#define FREERDP_SERVER_SHADOW_SCREEN_H
#include <freerdp/server/shadow.h>
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_SCREEN_H */
+#endif /* FREERDP_SERVER_SHADOW_SCREEN_H */
return 1;
}
-rdpShadowSubsystem* shadow_subsystem_new()
+rdpShadowSubsystem* shadow_subsystem_new(void)
{
RDP_SHADOW_ENTRY_POINTS ep;
rdpShadowSubsystem* subsystem = NULL;
return status;
}
-int shadow_enum_monitors(MONITOR_DEF* monitors, int maxMonitors)
+UINT32 shadow_enum_monitors(MONITOR_DEF* monitors, UINT32 maxMonitors)
{
- int numMonitors = 0;
+ UINT32 numMonitors = 0;
RDP_SHADOW_ENTRY_POINTS ep;
if (shadow_subsystem_load_entry_points(&ep) < 0)
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_SUBSYSTEM_H
-#define FREERDP_SHADOW_SERVER_SUBSYSTEM_H
+#ifndef FREERDP_SERVER_SHADOW_SUBSYSTEM_H
+#define FREERDP_SERVER_SHADOW_SUBSYSTEM_H
#include <freerdp/server/shadow.h>
extern "C" {
#endif
-rdpShadowSubsystem* shadow_subsystem_new();
+rdpShadowSubsystem* shadow_subsystem_new(void);
void shadow_subsystem_free(rdpShadowSubsystem* subsystem);
int shadow_subsystem_init(rdpShadowSubsystem* subsystem, rdpShadowServer* server);
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_SUBSYSTEM_H */
+#endif /* FREERDP_SERVER_SHADOW_SUBSYSTEM_H */
* limitations under the License.
*/
-#ifndef FREERDP_SHADOW_SERVER_SURFACE_H
-#define FREERDP_SHADOW_SERVER_SURFACE_H
+#ifndef FREERDP_SERVER_SHADOW_SURFACE_H
+#define FREERDP_SERVER_SHADOW_SURFACE_H
#include <freerdp/server/shadow.h>
}
#endif
-#endif /* FREERDP_SHADOW_SERVER_SURFACE_H */
+#endif /* FREERDP_SERVER_SHADOW_SURFACE_H */
* OF THIS SOFTWARE.
*/
-#ifndef __UWAC_TOOLS_H_
-#define __UWAC_TOOLS_H_
+#ifndef UWAC_TOOLS_H_
+#define UWAC_TOOLS_H_
#include <stdbool.h>
#include <uwac/uwac.h>
*/
UWAC_API bool UwacTouchAutomataInjectEvent(UwacTouchAutomata *automata, UwacEvent *event);
-#endif /* __UWAC_TOOLS_H_ */
+#endif /* UWAC_TOOLS_H_ */
* OF THIS SOFTWARE.
*/
-#ifndef __UWAC_H_
-#define __UWAC_H_
+#ifndef UWAC_H_
+#define UWAC_H_
#include <wayland-client.h>
#include <stdbool.h>
}
#endif
-#endif /* __UWAC_H_ */
+#endif /* UWAC_H_ */
* Functions have been renamed just to prevent name clashes.
*/
-#ifndef __UWAC_OS_H
-#define __UWAC_OS_H
+#ifndef UWAC_OS_H
+#define UWAC_OS_H
#include <sys/socket.h>
int uwac_os_epoll_create_cloexec(void);
int uwac_create_anonymous_file(off_t size);
-#endif /* __UWAC_OS_H */
+#endif /* UWAC_OS_H */
* OF THIS SOFTWARE.
*/
-#ifndef __UWAC_PRIV_H_
-#define __UWAC_PRIV_H_
+#ifndef UWAC_PRIV_H_
+#define UWAC_PRIV_H_
#include "config.h"
UwacOutput *UwacCreateOutput(UwacDisplay *d, uint32_t id, uint32_t version);
int UwacDestroyOutput(UwacOutput *output);
-#endif /* __UWAC_PRIV_H_ */
+#endif /* UWAC_PRIV_H_ */
* OF THIS SOFTWARE.
*/
-#ifndef __UWAC_UTILS_H_
-#define __UWAC_UTILS_H_
+#ifndef UWAC_UTILS_H_
+#define UWAC_UTILS_H_
#include <stdlib.h>
void *xrealloc(char *p, size_t s);
-#endif /* __UWAC_UTILS_H_ */
+#endif /* UWAC_UTILS_H_ */