Fixed use of reserved keywords for include guards.

This commit is contained in:
Armin Novak 2017-06-06 14:01:41 +02:00
parent 0490aeb018
commit 8b9e3fa51e
239 changed files with 779 additions and 768 deletions

View File

@ -1,5 +1,5 @@
#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}"
@ -8,4 +8,4 @@
#define BUILD_CONFIG "${FREERDP_BUILD_CONFIG}"
#define BUILD_TYPE "${CMAKE_BUILD_TYPE}"
#endif /*_FREERDP_BUILD_FLAGS_H */
#endif /* FREERDP_BUILD_FLAGS_H */

View File

@ -17,8 +17,8 @@
* 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"
@ -38,5 +38,5 @@
#define DEBUG_DVC(...) do { } while (0)
#endif
#endif /* FREERDP_AUDIN_CLIENT_MAIN_H */
#endif /* FREERDP_CHANNEL_AUDIN_CLIENT_MAIN_H */

View File

@ -27,8 +27,8 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
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>
@ -93,4 +93,4 @@ FREERDP_LOCAL int android_RecIn(OPENSL_STREAM* p, short* buffer, int size);
};
#endif
#endif // #ifndef OPENSL_IO
#endif /* FREERDP_CHANNEL_AUDIN_CLIENT_OPENSL_IO_H */

View File

@ -20,12 +20,12 @@
* 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 */

View File

@ -19,8 +19,8 @@
* 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>
@ -60,4 +60,4 @@ CliprdrClientContext* cliprdr_get_client_interface(cliprdrPlugin* cliprdr);
#define DEBUG_CLIPRDR(...) do { } while (0)
#endif
#endif /* __CLIPRDR_MAIN_H */
#endif /* FREERDP_CHANNEL_CLIPRDR_CLIENT_MAIN_H */

View File

@ -17,8 +17,8 @@
* 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>
@ -45,4 +45,4 @@ struct _cliprdr_server_private
};
typedef struct _cliprdr_server_private CliprdrServerPrivate;
#endif /* FREERDP_CHANNEL_SERVER_CLIPRDR_MAIN_H */
#endif /* FREERDP_CHANNEL_CLIPRDR_SERVER_MAIN_H */

View File

@ -19,8 +19,8 @@
* 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>
@ -137,4 +137,4 @@ struct drdynvc_plugin
IWTSVirtualChannelManager* channel_mgr;
};
#endif
#endif /* FREERDP_CHANNEL_DRDYNVC_CLIENT_MAIN_H */

View File

@ -17,8 +17,8 @@
* 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>
@ -34,4 +34,4 @@ struct _drdynvc_server_private
void* ChannelHandle;
};
#endif /* FREERDP_CHANNEL_SERVER_DRDYNVC_MAIN_H */
#endif /* FREERDP_CHANNEL_DRDYNVC_SERVER_MAIN_H */

View File

@ -23,8 +23,8 @@
* 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>
@ -68,4 +68,4 @@ BOOL drive_file_query_directory(DRIVE_FILE* file, UINT32 FsInformationClass, BYT
extern UINT sys_code_page;
#endif /* FREERDP_CHANNEL_DRIVE_FILE_H */
#endif /* FREERDP_CHANNEL_DRIVE_CLIENT_FILE_H */

View File

@ -17,8 +17,8 @@
* 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"
@ -36,5 +36,5 @@
#define DEBUG_DVC(...) do { } while (0)
#endif
#endif /* __ECHO_MAIN_H */
#endif /* FREERDP_CHANNEL_ECHO_CLIENT_MAIN_H */

View File

@ -17,8 +17,8 @@
* 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>
@ -33,4 +33,4 @@ struct _encomsp_server_private
void* ChannelHandle;
};
#endif /* FREERDP_CHANNEL_SERVER_ENCOMSP_MAIN_H */
#endif /* FREERDP_CHANNEL_ENCOMSP_SERVER_MAIN_H */

View File

@ -17,12 +17,12 @@
* 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 */

View File

@ -20,8 +20,8 @@
* 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>
@ -66,4 +66,4 @@ struct rdp_print_job
pcClosePrintJob Close;
};
#endif
#endif /* FREERDP_CHANNEL_PRINTER_CLIENT_MAIN_H */

View File

@ -17,8 +17,8 @@
* 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>
@ -31,5 +31,5 @@ rdpPrinterDriver* printer_win_get_driver(void);
#define DEBUG_WINPR(...) do { } while (0)
#endif
#endif
#endif /* FREERDP_CHANNEL_PRINTER_CLIENT_WIN_H */

View File

@ -17,8 +17,8 @@
* 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
@ -34,4 +34,4 @@
#define RDPDR_PRINTER_ANNOUNCE_FLAG_XPSFORMAT 0x00000010
#endif /* __CHANNELS_PRINTER_PRINTER_H_ */
#endif /* FREERDP_CHANNEL_PRINTER_PRINTER_H */

View File

@ -21,8 +21,8 @@
* 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>
@ -56,4 +56,4 @@ typedef struct rail_plugin railPlugin;
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 */

View File

@ -20,8 +20,8 @@
* 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>
@ -64,4 +64,4 @@ UINT rail_send_client_window_move_order(railPlugin* rail, RAIL_WINDOW_MOVE_ORDER
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 */

View File

@ -20,8 +20,8 @@
* 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>
@ -86,4 +86,4 @@ struct _RDPDR_IRP
};
typedef struct _RDPDR_IRP RDPDR_IRP;
#endif /* FREERDP_CHANNEL_SERVER_RDPDR_MAIN_H */
#endif /* FREERDP_CHANNEL_RDPDR_SERVER_MAIN_H */

View File

@ -19,8 +19,8 @@
* 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>
@ -31,5 +31,5 @@
#endif /* FREERDP_CHANNEL_SERVER_RDPEI_MAIN_H_ */
#endif /* FREERDP_CHANNEL_RDPEI_SERVER_MAIN_H */

View File

@ -19,8 +19,8 @@
* 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>
@ -43,5 +43,5 @@ FREERDP_LOCAL UINT rdpgfx_write_rect16(wStream* s, RECTANGLE_16* rect16);
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 */

View File

@ -27,8 +27,8 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
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>
@ -108,4 +108,4 @@ FREERDP_LOCAL BOOL android_SetOutputVolume(OPENSL_STREAM* p, int level);
};
#endif
#endif // #ifndef OPENSL_IO
#endif /* FREERDP_CHANNEL_RDPSND_CLIENT_OPENSL_IO_H */

View File

@ -18,8 +18,8 @@
* 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>
@ -37,4 +37,4 @@
UINT rdpsnd_virtual_channel_write(rdpsndPlugin* rdpsnd, wStream* s);
#endif /* __RDPSND_MAIN_H */
#endif /* FREERDP_CHANNEL_RDPSND_CLIENT_MAIN_H */

View File

@ -18,8 +18,8 @@
* 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>
@ -55,4 +55,4 @@ struct _rdpsnd_server_private
CRITICAL_SECTION lock; /* Protect out_buffer and related parameters */
};
#endif /* FREERDP_CHANNEL_SERVER_RDPSND_MAIN_H */
#endif /* FREERDP_CHANNEL_RDPSND_SERVER_MAIN_H */

View File

@ -17,8 +17,8 @@
* 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>
@ -38,5 +38,5 @@ struct _remdesk_server_private
UINT32 Version;
};
#endif /* FREERDP_CHANNEL_SERVER_REMDESK_MAIN_H */
#endif /* FREERDP_CHANNEL_REMDESK_SERVER_MAIN_H */

View File

@ -18,9 +18,9 @@
* 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 */

View File

@ -19,8 +19,8 @@
* 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>
@ -84,4 +84,4 @@ int tsmf_window_unmap(TSMFGstreamerDecoder* decoder);
BOOL tsmf_gstreamer_add_pad(TSMFGstreamerDecoder* mdecoder);
void tsmf_gstreamer_remove_pad(TSMFGstreamerDecoder* mdecoder);
#endif
#endif /* FREERDP_CHANNEL_TSMF_CLIENT_GST_PLATFORM_H */

View File

@ -17,8 +17,8 @@
* 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"
@ -47,5 +47,4 @@ typedef ITSMFAudioDevice* (*TSMF_AUDIO_DEVICE_ENTRY) (void);
ITSMFAudioDevice* tsmf_load_audio_device(const char* name, const char* device);
#endif
#endif /* FREERDP_CHANNEL_TSMF_CLIENT_AUDIO_H */

View File

@ -17,13 +17,13 @@
* 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 */

View File

@ -18,8 +18,8 @@
* 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
@ -136,5 +136,4 @@
#define TSMF_FORMAT_TYPE_VIDEOINFO2 4
#define TSMF_FORMAT_TYPE_MPEG1VIDEOINFO 5
#endif
#endif /* FREERDP_CHANNEL_TSMF_CLIENT_CONSTANTS_H */

View File

@ -18,8 +18,8 @@
* 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"
@ -72,5 +72,4 @@ typedef ITSMFDecoder *(*TSMF_DECODER_ENTRY)(void);
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 */

View File

@ -19,8 +19,8 @@
* 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>
@ -66,5 +66,5 @@ UINT tsmf_ifman_on_playback_restarted(TSMF_IFMAN* ifman);
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 */

View File

@ -19,8 +19,8 @@
* 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>
@ -68,5 +68,4 @@ BOOL tsmf_send_eos_response(IWTSVirtualChannelCallback* pChannelCallback, UINT32
BOOL tsmf_playback_ack(IWTSVirtualChannelCallback* pChannelCallback,
UINT32 message_id, UINT64 duration, UINT32 data_size);
#endif
#endif /* FREERDP_CHANNEL_TSMF_CLIENT_MAIN_H */

View File

@ -25,8 +25,8 @@
* 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>
@ -69,5 +69,5 @@ BOOL tsmf_stream_push_sample(TSMF_STREAM* stream, IWTSVirtualChannelCallback* pC
BOOL tsmf_media_init(void);
void tsmf_stream_start_threads(TSMF_STREAM* stream);
#endif
#endif /* FREERDP_CHANNEL_TSMF_CLIENT_MEDIA_H */

View File

@ -17,8 +17,8 @@
* 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"
@ -57,5 +57,5 @@ typedef struct _TS_AM_MEDIA_TYPE
UINT32 ExtraDataSize;
} TS_AM_MEDIA_TYPE;
#endif
#endif /* FREERDP_CHANNEL_TSMF_CLIENT_TYPES_H */

View File

@ -18,8 +18,8 @@
* 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"
@ -31,5 +31,5 @@
void *urbdrc_process_udev_data_transfer(void* arg);
#endif
#endif /* FREERDP_CHANNEL_URBDRC_CLIENT_DATA_TRANSFER_H */

View File

@ -18,8 +18,8 @@
* 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"
@ -66,4 +66,4 @@ ISOCH_CALLBACK_QUEUE* isoch_queue_new(void);
#endif /* __ISOCH_QUEUE_H */
#endif /* FREERDP_CHANNEL_URBDRC_CLIENT_ISOCH_QUEUE_H */

View File

@ -20,8 +20,8 @@
#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>
@ -82,4 +82,4 @@ IUDEVICE* udev_new_by_addr(int bus_number, int dev_number);
extern int libusb_debug;
#endif /* __LIBUSB_UDEVICE_H */
#endif /* FREERDP_CHANNEL_URBDRC_CLIENT_LIBUSB_UDEVICE_H */

View File

@ -18,8 +18,8 @@
* 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"
@ -62,4 +62,4 @@ struct _REQUEST_QUEUE
REQUEST_QUEUE* request_queue_new(void);
#endif /* __REQUEST_QUEUE_H */
#endif /* FREERDP_CHANNEL_URBDRC_CLIENT_LIBUSB_REQUEST_QUEUE_H */

View File

@ -18,8 +18,8 @@
* 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"
@ -74,5 +74,5 @@ struct _USB_SEARCHMAN
USB_SEARCHMAN* searchman_new(void* urbdrc, UINT32 UsbDevice);
#endif
#endif /* FREERDP_CHANNEL_URBDRC_CLIENT_SEARCHMAN_H */

View File

@ -20,8 +20,8 @@
#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"
@ -224,4 +224,4 @@ struct _IUDEVMAN
void (*wait_urb) (IUDEVMAN* idevman);
};
#endif /* __URBDRC_MAIN_H */
#endif /* FREERDP_CHANNEL_URBDRC_CLIENT_MAIN_H */

View File

@ -18,8 +18,8 @@
* 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"
@ -330,4 +330,4 @@ enum device_descriptor_table
_t = (_tp.tv_sec * 1000) + (_tp.tv_usec / 1000); \
} while (0)
#endif /* __URBDRC_TYPES_H */
#endif /* FREERDP_CHANNEL_URBDRC_CLIENT_TYPES_H */

View File

@ -17,8 +17,8 @@
* 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>
@ -33,4 +33,4 @@ FREERDP_LOCAL BOOL android_cliprdr_init(androidContext* afc,
FREERDP_LOCAL BOOL android_cliprdr_uninit(androidContext* afc,
CliprdrClientContext* cliprdr);
#endif /* __ANDROID_CLIPRDR_H__ */
#endif /* FREERDP_CLIENT_ANDROID_CLIPRDR_H */

View File

@ -9,8 +9,8 @@
* 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>
@ -79,4 +79,4 @@ FREERDP_LOCAL void android_event_free(ANDROID_EVENT* event);
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 */

View File

@ -7,8 +7,8 @@
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>
@ -40,6 +40,6 @@ struct android_context
};
typedef struct android_context androidContext;
#endif /* __ANDROID_FREERDP_H */
#endif /* FREERDP_CLIENT_ANDROID_FREERDP_H */

View File

@ -17,12 +17,12 @@
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 */

View File

@ -10,8 +10,8 @@
* 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>
@ -27,5 +27,5 @@ FREERDP_LOCAL jboolean freerdp_callback_bool_result(const char* callback,
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 */

View File

@ -9,8 +9,8 @@
* 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>
@ -34,4 +34,4 @@ FREERDP_LOCAL extern JavaVM* g_JavaVm;
}
#endif
#endif /* _ANDROID_JNI_UTILS_H_ */
#endif /* FREERDP_CLIENT_ANDROID_JNI_UTILS_H */

View File

@ -17,12 +17,12 @@
* 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 */

View File

@ -17,11 +17,11 @@
* 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 */

View File

@ -17,8 +17,8 @@
* 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>
@ -67,4 +67,4 @@ struct df_info
IDirectFBEventBuffer* event_buffer;
};
#endif /* __DFREERDP_H */
#endif /* FREERDP_CLIENT_DF_FREERDP_H */

View File

@ -1,5 +1,5 @@
#ifndef MRDPVIEW_H
#define MRDPVIEW_H
#ifndef FREERDP_CLIENT_MAC_MRDPVIEW_H
#define FREERDP_CLIENT_MAC_MRDPVIEW_H
/**
* FreeRDP: A Remote Desktop Protocol Implementation
@ -85,4 +85,4 @@ BOOL mac_post_connect(freerdp* instance);
BOOL mac_authenticate(freerdp* instance, char** username, char** password,
char** domain);
#endif // MRDPVIEW_H
#endif /* FREERDP_CLIENT_MAC_MRDPVIEW_H */

View File

@ -19,8 +19,8 @@
* 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>
@ -40,4 +40,4 @@ FREERDP_API int RdpClientEntry(RDP_CLIENT_ENTRY_POINTS* pEntryPoints);
}
#endif
#endif
#endif /* FREERDP_CLIENT_MAC_CLIENT_H */

View File

@ -1,5 +1,5 @@
#ifndef MFREERDP_H
#define MFREERDP_H
#ifndef FREERDP_CLIENT_MAC_FREERDP_H
#define FREERDP_CLIENT_MAC_FREERDP_H
typedef struct mf_context mfContext;
@ -86,4 +86,4 @@ struct mf_context
int yMaxScroll; // maximum vertical scroll value
};
#endif // MFREERDP_H
#endif /* FREERDP_CLIENT_MAC_FREERDP_H */

View File

@ -17,8 +17,8 @@
* 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>
@ -39,4 +39,4 @@ void wlf_OnChannelConnectedEventHandler(rdpContext* context,
void wlf_OnChannelDisconnectedEventHandler(rdpContext* context,
ChannelDisconnectedEventArgs* e);
#endif
#endif /* FREERDP_CLIENT_WAYLAND_CHANNELS_H */

View File

@ -18,8 +18,8 @@
* 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>
@ -35,4 +35,4 @@ BOOL wlf_handle_pointer_axis(freerdp* instance, UwacPointerAxisEvent* ev);
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 */

View File

@ -17,8 +17,8 @@
* 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>
@ -50,5 +50,5 @@ struct wlf_context
EncomspClientContext* encomsp;
};
#endif /* __WLFREERDP_H */
#endif /* FREERDP_CLIENT_WAYLAND_FREERDP_H */

View File

@ -19,9 +19,9 @@
* 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 */

View File

@ -16,8 +16,8 @@
* 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>
@ -33,4 +33,4 @@ void wf_OnChannelConnectedEventHandler(rdpContext* context,
void wf_OnChannelDisconnectedEventHandler(rdpContext* context,
ChannelDisconnectedEventArgs* e);
#endif
#endif /* FREERDP_CLIENT_WIN_CHANNELS_H */

View File

@ -19,8 +19,8 @@
* 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>
@ -148,4 +148,4 @@ FREERDP_API void wf_size_scrollbars(wfContext* wfc, UINT32 client_width,
}
#endif
#endif
#endif /* FREERDP_CLIENT_WIN_INTERFACE_H */

View File

@ -16,12 +16,12 @@
* 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 */

View File

@ -19,8 +19,8 @@
* 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>
@ -38,4 +38,4 @@ void wf_event_focus_in(wfContext* wfc);
#define DEBUG_KBD(...) do { } while (0)
#endif
#endif /* __WF_EVENT_H */
#endif /* FREERDP_CLIENT_WIN_EVENT_H */

View File

@ -17,8 +17,8 @@
* 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;
@ -27,4 +27,4 @@ void floatbar_window_create(wfContext* wfc);
int floatbar_show(FloatBar* floatbar);
int floatbar_hide(FloatBar* floatbar);
#endif
#endif /* FREERDP_CLIENT_WIN_FLOATBAR_H */

View File

@ -19,8 +19,8 @@
* 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"
@ -37,4 +37,4 @@ void wf_gdi_register_update_callbacks(rdpUpdate* update);
void wf_update_canvas_diff(wfContext* wfc);
#endif /* __WF_GDI_H */
#endif /* FREERDP_CLIENT_WIN_GDI_H */

View File

@ -17,8 +17,8 @@
* 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"
@ -31,4 +31,4 @@ void wf_image_free(wfBitmap* image);
BOOL wf_register_pointer(rdpGraphics* graphics);
BOOL wf_register_graphics(rdpGraphics* graphics);
#endif /* WF_GRAPHICS */
#endif /* FREERDP_CLIENT_WIN_GRAPHICS_H */

View File

@ -16,8 +16,8 @@
* 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;
@ -46,4 +46,4 @@ void wf_rail_uninit(wfContext* wfc, RailClientContext* rail);
void wf_rail_invalidate_region(wfContext* wfc, REGION16* invalidRegion);
#endif
#endif /* FREERDP_CLIENT_WIN_RAIL_H */

View File

@ -17,8 +17,8 @@
* 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>
@ -35,4 +35,4 @@ int xf_on_channel_disconnected(freerdp* instance, const char* name, void* pInter
void xf_OnChannelConnectedEventHandler(rdpContext* context, ChannelConnectedEventArgs* e);
void xf_OnChannelDisconnectedEventHandler(rdpContext* context, ChannelDisconnectedEventArgs* e);
#endif
#endif /* FREERDP_CLIENT_X11_CHANNELS_H */

View File

@ -17,8 +17,8 @@
* 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>
@ -50,4 +50,4 @@ FREERDP_API int RdpClientEntry(RDP_CLIENT_ENTRY_POINTS* pEntryPoints);
}
#endif
#endif /* __XF_CLIENT_H */
#endif /* FREERDP_CLIENT_X11_CLIENT_H */

View File

@ -17,8 +17,8 @@
* 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"
@ -33,4 +33,4 @@ void xf_cliprdr_uninit(xfContext* xfc, CliprdrClientContext* cliprdr);
void xf_cliprdr_handle_xevent(xfContext* xfc, XEvent* event);
#endif /* __XF_CLIPRDR_H */
#endif /* FREERDP_CLIENT_X11_CLIPRDR_H */

View File

@ -17,8 +17,8 @@
* 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"
@ -37,4 +37,4 @@ BOOL xf_generic_MotionNotify(xfContext* xfc, int x, int y, int state, Window win
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 */

View File

@ -19,8 +19,8 @@
* 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>
@ -29,4 +29,4 @@
void xf_gdi_register_update_callbacks(rdpUpdate* update);
#endif /* __XF_GDI_H */
#endif /* FREERDP_CLIENT_X11_GDI_H */

View File

@ -19,8 +19,8 @@
* 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"
@ -53,4 +53,4 @@ UINT xf_OutputExpose(xfContext* xfc, UINT32 x, UINT32 y,
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 */

View File

@ -17,8 +17,8 @@
* 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"
@ -29,4 +29,4 @@ BOOL xf_register_graphics(rdpGraphics* graphics);
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 */

View File

@ -17,8 +17,8 @@
* 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"
@ -30,4 +30,4 @@
int xf_input_init(xfContext* xfc, Window window);
int xf_input_handle_event(xfContext* xfc, XEvent* event);
#endif
#endif /* FREERDP_CLIENT_X11_INPUT_H */

View File

@ -17,8 +17,8 @@
* 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>
@ -59,4 +59,4 @@ void xf_keyboard_handle_special_keys_release(xfContext* xfc, KeySym keysym);
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 */

View File

@ -17,8 +17,8 @@
* 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>
@ -47,4 +47,4 @@ FREERDP_API int xf_list_monitors(xfContext* xfc);
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 */

View File

@ -17,8 +17,8 @@
* 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"
@ -36,4 +36,4 @@ void xf_rail_disable_remoteapp_mode(xfContext* xfc);
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 */

View File

@ -17,8 +17,8 @@
* 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"
@ -26,4 +26,4 @@
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 */

View File

@ -17,8 +17,8 @@
* 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>
@ -174,4 +174,4 @@ void xf_StartLocalMoveSize(xfContext* xfc, xfAppWindow* appWindow, int direction
void xf_EndLocalMoveSize(xfContext* xfc, xfAppWindow* appWindow);
xfAppWindow* xf_AppWindowFromX11Window(xfContext* xfc, Window wnd);
#endif /* __XF_WINDOW_H */
#endif /* FREERDP_CLIENT_X11_WINDOW_H */

View File

@ -19,8 +19,8 @@
* 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;
@ -287,5 +287,5 @@ void xf_draw_screen(xfContext* xfc, int x, int y, int w, int h);
FREERDP_API DWORD xf_exit_code_from_disconnect_reason(DWORD reason);
#endif /* __XFREERDP_H */
#endif /* FREERDP_CLIENT_X11_FREERDP_H */

View File

@ -17,8 +17,8 @@
* 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>
@ -26,5 +26,5 @@
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 */

View File

@ -1,5 +1,5 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#ifndef FREERDP_CONFIG_H
#define FREERDP_CONFIG_H
/* Include files */
#cmakedefine HAVE_FCNTL_H
@ -90,4 +90,4 @@
#cmakedefine WITH_DEBUG_X11_LOCAL_MOVESIZE
#cmakedefine WITH_DEBUG_XV
#cmakedefine WITH_DEBUG_RINGBUFFER
#endif
#endif /* FREERDP_CONFIG_H */

View File

@ -19,8 +19,8 @@
* 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>
@ -87,5 +87,5 @@ struct _RDPINPUT_TOUCH_EVENT
typedef struct _RDPINPUT_TOUCH_EVENT RDPINPUT_TOUCH_EVENT;
#endif /* __FREERDP_CHANNEL_RDPEI_H_ */
#endif /* FREERDP_CHANNEL_RDPEI_H */

View File

@ -19,8 +19,8 @@
* 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>
@ -69,5 +69,5 @@ typedef FREERDP_AUDIN_DEVICE_ENTRY_POINTS* PFREERDP_AUDIN_DEVICE_ENTRY_POINTS;
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 */

View File

@ -17,8 +17,8 @@
* 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>
@ -38,5 +38,5 @@ FREERDP_API void freerdp_channels_addin_list_free(FREERDP_ADDIN** ppAddins);
}
#endif
#endif /* FREERDP_CHANNELS_CLIENT */
#endif /* FREERDP_CHANNELS_CLIENT_H */

View File

@ -19,8 +19,8 @@
* 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>
@ -180,4 +180,4 @@ struct _RDP_CB_TEMPDIR_EVENT
};
typedef struct _RDP_CB_TEMPDIR_EVENT RDP_CB_TEMPDIR_EVENT;
#endif /* FREERDP_CHANNEL_CLIENT_CLIPRDR_H */
#endif /* FREERDP_CHANNEL_CLIPRDR_CLIENT_CLIPRDR_H */

View File

@ -19,8 +19,8 @@
* 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
@ -62,5 +62,5 @@ struct _disp_client_context
pcDispSendMonitorLayout SendMonitorLayout;
};
#endif /* FREERDP_CHANNEL_CLIENT_DISP_H */
#endif /* FREERDP_CHANNEL_DISP_CLIENT_DISP_H */

View File

@ -19,8 +19,8 @@
* 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
@ -50,4 +50,4 @@ struct _drdynvc_client_context
pcDrdynvcOnChannelDetached OnChannelDetached;
};
#endif /* FREERDP_CHANNEL_CLIENT_DRDYNVC_H */
#endif /* FREERDP_CHANNEL_DRDYNVC_CLIENT_DRDYNVC_H */

View File

@ -19,8 +19,8 @@
* 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>
@ -60,4 +60,4 @@ struct _encomsp_client_context
pcEncomspGraphicsStreamResumed GraphicsStreamResumed;
};
#endif /* FREERDP_CHANNEL_CLIENT_ENCOMSP_H */
#endif /* FREERDP_CHANNEL_ENCOMSP_CLIENT_ENCOMSP_H */

View File

@ -17,8 +17,8 @@
* 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>
@ -83,5 +83,5 @@ struct _rail_client_context
pcRailServerGetAppIdResponse ServerGetAppIdResponse;
};
#endif /* FREERDP_CHANNEL_CLIENT_RAIL_H */
#endif /* FREERDP_CHANNEL_RAIL_CLIENT_RAIL_H */

View File

@ -19,8 +19,8 @@
* 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>
@ -57,4 +57,4 @@ struct _rdpei_client_context
pcRdpeiResumeTouch ResumeTouch;
};
#endif /* FREERDP_CHANNEL_CLIENT_RDPEI_H */
#endif /* FREERDP_CHANNEL_RDPEI_CLIENT_RDPEI_H */

View File

@ -19,8 +19,8 @@
* 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>
@ -114,4 +114,4 @@ struct _rdpgfx_client_context
PROFILER_DEFINE(SurfaceProfiler);
};
#endif /* FREERDP_CHANNEL_CLIENT_RDPGFX_H */
#endif /* FREERDP_CHANNEL_RDPGFX_CLIENT_RDPGFX_H */

View File

@ -18,8 +18,8 @@
* 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>
@ -100,5 +100,5 @@ typedef FREERDP_RDPSND_DEVICE_ENTRY_POINTS* PFREERDP_RDPSND_DEVICE_ENTRY_POINTS;
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 */

View File

@ -17,8 +17,8 @@
* 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>
@ -34,5 +34,5 @@ struct _remdesk_client_context
void* custom;
};
#endif /* FREERDP_CHANNEL_CLIENT_REMDESK_H */
#endif /* FREERDP_CHANNEL_REMDESK_CLIENT_REMDESK_H */

View File

@ -17,8 +17,8 @@
* 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>
@ -61,4 +61,4 @@ struct _tsmf_client_context
pcTsmfFrameEvent FrameEvent;
};
#endif /* FREERDP_CHANNEL_CLIENT_TSMF_H */
#endif /* FREERDP_CHANNEL_TSMF_CLIENT_TSMF_H */

View File

@ -21,8 +21,8 @@
* 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>
@ -153,4 +153,4 @@ FREERDP_API void region16_uninit(REGION16* region);
}
#endif
#endif /* __REGION_H___ */
#endif /* FREERDP_CODEC_REGION_H */

View File

@ -17,8 +17,8 @@
# 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>
@ -267,4 +267,4 @@ FREERDP_API primitives_t* primitives_get_generic(void);
}
#endif
#endif /* !__PRIMITIVES_H_INCLUDED__ */
#endif /* FREERDP_PRIMITIVES_H */

View File

@ -17,10 +17,10 @@
* 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 */

View File

@ -19,8 +19,8 @@
* 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>
@ -116,4 +116,4 @@ FREERDP_API void cliprdr_server_context_free(CliprdrServerContext* context);
}
#endif
#endif /* FREERDP_CHANNEL_SERVER_CLIPRDR_H */
#endif /* FREERDP_CHANNEL_CLIPRDR_SERVER_CLIPRDR_H */

View File

@ -19,8 +19,8 @@
* 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>
@ -57,4 +57,4 @@ FREERDP_API void drdynvc_server_context_free(DrdynvcServerContext* context);
}
#endif
#endif /* FREERDP_CHANNEL_SERVER_DRDYNVC_H */
#endif /* FREERDP_CHANNEL_DRDYNVC_SERVER_DRDYNVC_H */

View File

@ -19,8 +19,8 @@
* 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>
@ -86,4 +86,4 @@ FREERDP_API void encomsp_server_context_free(EncomspServerContext* context);
}
#endif
#endif /* FREERDP_CHANNEL_SERVER_ENCOMSP_H */
#endif /* FREERDP_CHANNEL_ENCOMSP_SERVER_ENCOMSP_H */

Some files were not shown because too many files have changed in this diff Show More