Fixed use of reserved keywords for include guards.
authorArmin Novak <armin.novak@thincast.com>
Tue, 6 Jun 2017 12:01:41 +0000 (14:01 +0200)
committerArmin Novak <armin.novak@thincast.com>
Thu, 20 Jul 2017 07:35:41 +0000 (09:35 +0200)
239 files changed:
buildflags.h.in
channels/audin/client/audin_main.h
channels/audin/client/opensles/opensl_io.h
channels/cliprdr/client/cliprdr_format.h
channels/cliprdr/client/cliprdr_main.h
channels/cliprdr/server/cliprdr_main.h
channels/drdynvc/client/drdynvc_main.h
channels/drdynvc/server/drdynvc_main.h
channels/drive/client/drive_file.h
channels/echo/client/echo_main.h
channels/encomsp/server/encomsp_main.h
channels/printer/client/printer_cups.h
channels/printer/client/printer_main.h
channels/printer/client/printer_win.h
channels/printer/printer.h
channels/rail/client/rail_main.h
channels/rail/client/rail_orders.h
channels/rdpdr/server/rdpdr_main.h
channels/rdpei/server/rdpei_main.h
channels/rdpgfx/rdpgfx_common.h
channels/rdpsnd/client/opensles/opensl_io.h
channels/rdpsnd/client/rdpsnd_main.h
channels/rdpsnd/server/rdpsnd_main.h
channels/remdesk/server/remdesk_main.h
channels/server/channels.h
channels/tsmf/client/gstreamer/tsmf_platform.h
channels/tsmf/client/tsmf_audio.h
channels/tsmf/client/tsmf_codec.h
channels/tsmf/client/tsmf_constants.h
channels/tsmf/client/tsmf_decoder.h
channels/tsmf/client/tsmf_ifman.h
channels/tsmf/client/tsmf_main.h
channels/tsmf/client/tsmf_media.h
channels/tsmf/client/tsmf_types.h
channels/urbdrc/client/data_transfer.h
channels/urbdrc/client/isoch_queue.h
channels/urbdrc/client/libusb/libusb_udevice.h
channels/urbdrc/client/libusb/request_queue.h
channels/urbdrc/client/searchman.h
channels/urbdrc/client/urbdrc_main.h
channels/urbdrc/client/urbdrc_types.h
client/Android/android_cliprdr.h
client/Android/android_event.h
client/Android/android_freerdp.h
client/Android/android_freerdp_jni.h
client/Android/android_jni_callback.h
client/Android/android_jni_utils.h
client/DirectFB/df_event.h
client/DirectFB/df_graphics.h
client/DirectFB/dfreerdp.h
client/Mac/MRDPView.h
client/Mac/mf_client.h
client/Mac/mfreerdp.h
client/Wayland/wlf_channels.h
client/Wayland/wlf_input.h
client/Wayland/wlfreerdp.h
client/Windows/cli/wfreerdp.h
client/Windows/wf_channels.h
client/Windows/wf_client.h
client/Windows/wf_cliprdr.h
client/Windows/wf_event.h
client/Windows/wf_floatbar.h
client/Windows/wf_gdi.h
client/Windows/wf_graphics.h
client/Windows/wf_rail.h
client/X11/xf_channels.h
client/X11/xf_client.h
client/X11/xf_cliprdr.h
client/X11/xf_event.h
client/X11/xf_gdi.h
client/X11/xf_gfx.h
client/X11/xf_graphics.h
client/X11/xf_input.h
client/X11/xf_keyboard.h
client/X11/xf_monitor.h
client/X11/xf_rail.h
client/X11/xf_tsmf.h
client/X11/xf_window.h
client/X11/xfreerdp.h
client/common/compatibility.h
config.h.in
include/freerdp/channels/rdpei.h
include/freerdp/client/audin.h
include/freerdp/client/channels.h
include/freerdp/client/cliprdr.h
include/freerdp/client/disp.h
include/freerdp/client/drdynvc.h
include/freerdp/client/encomsp.h
include/freerdp/client/rail.h
include/freerdp/client/rdpei.h
include/freerdp/client/rdpgfx.h
include/freerdp/client/rdpsnd.h
include/freerdp/client/remdesk.h
include/freerdp/client/tsmf.h
include/freerdp/codec/region.h
include/freerdp/primitives.h
include/freerdp/server/channels.h
include/freerdp/server/cliprdr.h
include/freerdp/server/drdynvc.h
include/freerdp/server/encomsp.h
include/freerdp/server/rdpdr.h
include/freerdp/server/rdpei.h
include/freerdp/server/rdpgfx.h
include/freerdp/server/remdesk.h
include/freerdp/server/shadow.h
include/freerdp/session.h
include/freerdp/utils/ringbuffer.h
include/freerdp/version.h.in
libfreerdp/codec/nsc_encode.h
libfreerdp/codec/nsc_sse2.h
libfreerdp/codec/nsc_types.h
libfreerdp/codec/rfx_bitstream.h
libfreerdp/codec/rfx_constants.h
libfreerdp/codec/rfx_decode.h
libfreerdp/codec/rfx_differential.h
libfreerdp/codec/rfx_dwt.h
libfreerdp/codec/rfx_encode.h
libfreerdp/codec/rfx_neon.h
libfreerdp/codec/rfx_quantization.h
libfreerdp/codec/rfx_rlgr.h
libfreerdp/codec/rfx_sse2.h
libfreerdp/codec/rfx_types.h
libfreerdp/core/activation.h
libfreerdp/core/autodetect.h
libfreerdp/core/bulk.h
libfreerdp/core/capabilities.h
libfreerdp/core/certificate.h
libfreerdp/core/channels.h
libfreerdp/core/client.h
libfreerdp/core/connection.h
libfreerdp/core/errinfo.h
libfreerdp/core/fastpath.h
libfreerdp/core/gateway/http.h
libfreerdp/core/gateway/ncacn_http.h
libfreerdp/core/gateway/ntlm.h
libfreerdp/core/gateway/rdg.h
libfreerdp/core/gateway/rpc.h
libfreerdp/core/gateway/rpc_bind.h
libfreerdp/core/gateway/rpc_client.h
libfreerdp/core/gateway/rpc_fault.h
libfreerdp/core/gateway/rts.h
libfreerdp/core/gateway/rts_signature.h
libfreerdp/core/gateway/tsg.h
libfreerdp/core/gcc.h
libfreerdp/core/graphics.h
libfreerdp/core/heartbeat.h
libfreerdp/core/info.h
libfreerdp/core/input.h
libfreerdp/core/license.h
libfreerdp/core/listener.h
libfreerdp/core/mcs.h
libfreerdp/core/message.h
libfreerdp/core/multitransport.h
libfreerdp/core/nego.h
libfreerdp/core/nla.h
libfreerdp/core/orders.h
libfreerdp/core/peer.h
libfreerdp/core/proxy.h
libfreerdp/core/rdp.h
libfreerdp/core/redirection.h
libfreerdp/core/security.h
libfreerdp/core/server.h
libfreerdp/core/surface.h
libfreerdp/core/tcp.h
libfreerdp/core/timezone.h
libfreerdp/core/tpdu.h
libfreerdp/core/tpkt.h
libfreerdp/core/transport.h
libfreerdp/core/update.h
libfreerdp/core/window.h
libfreerdp/crypto/opensslcompat.h
libfreerdp/gdi/brush.h
libfreerdp/gdi/clipping.h
libfreerdp/gdi/drawing.h
libfreerdp/gdi/gdi.h
libfreerdp/gdi/graphics.h
libfreerdp/gdi/line.h
libfreerdp/locale/keyboard_xkbfile.h
libfreerdp/locale/liblocale.h
libfreerdp/locale/xkb_layout_ids.h
libfreerdp/primitives/prim_internal.h
libfreerdp/primitives/prim_templates.h
libfreerdp/primitives/test/TestPrimitivesYCoCg.c
libfreerdp/primitives/test/prim_test.h
server/Mac/mf_audin.h
server/Mac/mf_event.h
server/Mac/mf_info.h
server/Mac/mf_input.h
server/Mac/mf_interface.h
server/Mac/mf_mountain_lion.h
server/Mac/mf_peer.h
server/Mac/mf_rdpsnd.h
server/Mac/mfreerdp.h
server/Sample/sf_audin.h
server/Sample/sf_encomsp.h
server/Sample/sf_rdpsnd.h
server/Sample/sfreerdp.h
server/Windows/cli/wfreerdp.h
server/Windows/wf_directsound.h
server/Windows/wf_dxgi.h
server/Windows/wf_info.h
server/Windows/wf_input.h
server/Windows/wf_interface.h
server/Windows/wf_mirage.h
server/Windows/wf_peer.h
server/Windows/wf_rdpsnd.h
server/Windows/wf_settings.h
server/Windows/wf_update.h
server/Windows/wf_wasapi.h
server/shadow/Mac/mac_shadow.h
server/shadow/Win/win_dxgi.h
server/shadow/Win/win_rdp.h
server/shadow/Win/win_shadow.h
server/shadow/Win/win_wds.h
server/shadow/X11/x11_shadow.c
server/shadow/X11/x11_shadow.h
server/shadow/shadow.h
server/shadow/shadow_audin.h
server/shadow/shadow_capture.c
server/shadow/shadow_capture.h
server/shadow/shadow_channels.h
server/shadow/shadow_client.h
server/shadow/shadow_encoder.h
server/shadow/shadow_encomsp.h
server/shadow/shadow_input.h
server/shadow/shadow_lobby.h
server/shadow/shadow_mcevent.h
server/shadow/shadow_rdpgfx.h
server/shadow/shadow_rdpsnd.h
server/shadow/shadow_remdesk.h
server/shadow/shadow_screen.h
server/shadow/shadow_subsystem.c
server/shadow/shadow_subsystem.h
server/shadow/shadow_surface.h
uwac/include/uwac/uwac-tools.h
uwac/include/uwac/uwac.h
uwac/libuwac/uwac-os.h
uwac/libuwac/uwac-priv.h
uwac/libuwac/uwac-utils.h

index 0b8b310..0cc4a64 100644 (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 */
index 50a0b6c..419986c 100644 (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 */
 
index 7d8d33f..259b55a 100644 (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 */
index 11fb1be..dfe6965 100644 (file)
  * 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 */
index e994f38..25bad18 100644 (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 */
index 362d85a..248f341 100644 (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 */
index 261fcd8..1d83582 100644 (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 */
index aa69b57..8e17f89 100644 (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 */
index 3cc9145..9b2eed4 100644 (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 */
index 565142f..04cda41 100644 (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 */
 
index 1338f6e..18daf72 100644 (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 */
index 434d64a..876cb47 100644 (file)
  * 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 */
 
index 3d9b75a..dfb56d8 100644 (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 */
index c0a0420..22777d0 100644 (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 */
 
index 2373130..5ce8f5e 100644 (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 */
index e581a38..86e752f 100644 (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 */
index d7e807b..dab414b 100644 (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 */
index dc09aad..035ff7d 100644 (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 */
index 81ad293..f6505f5 100644 (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 */
 
index 161a1e2..d9d7270 100644 (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 */
 
index 00e4f12..0bb121a 100644 (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 */
index dcd976f..81cb426 100644 (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 */
index 797eaaf..f058abb 100644 (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 */
index 3c35b45..857376a 100644 (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 */
 
index 96a295d..f054c91 100644 (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 */
index 0d6fc5a..7fb6be1 100644 (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 */
index ac90ee2..a8c7a49 100644 (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 */
index 0dd4198..a678ea4 100644 (file)
  * 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 */
 
index 3ca92f6..d84370a 100644 (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
 #define TSMF_FORMAT_TYPE_VIDEOINFO2         4
 #define TSMF_FORMAT_TYPE_MPEG1VIDEOINFO     5
 
-#endif
-
+#endif /* FREERDP_CHANNEL_TSMF_CLIENT_CONSTANTS_H */
index e4c71da..a12e8ce 100644 (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 */
index 84d0406..b698620 100644 (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 */
 
index db3c945..0143d29 100644 (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 */
index 3a08b1c..3ab21dd 100644 (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 */
 
index cdda337..a6833f0 100644 (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 */
 
index e7bd8ac..bc3d708 100644 (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 */
 
index 4a01cdc..90ab1a1 100644 (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 */
index d753039..c79dfca 100644 (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 */
index e10e7ae..35e80c5 100644 (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 */
index 483e7bc..b449a98 100644 (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 */
 
index c51f17d..129b844 100644 (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 */
index 78c550e..204cade 100644 (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 */
index f7fdd60..af142c2 100644 (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 */
index 38e00f3..584d672 100644 (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 */
index 5c15ee7..ac8ca89 100644 (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 */
 
 
index bd949bd..5bf48a2 100644 (file)
    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 */
 
index 98af6f7..7f91306 100644 (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 */
 
index 12816ae..5414e33 100644 (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 */
index 8e4cc77..fc00674 100644 (file)
  * 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 */
index 8185b94..bf90668 100644 (file)
  * 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 */
index 6b14bf9..544619b 100644 (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 */
index 63cea78..60e47d8 100644 (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 */
index 341fcac..79712cc 100644 (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 */
index c0b59d6..d263a03 100644 (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 */
index b0e2ff1..d3d47d2 100644 (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 */
index 2e26ab8..701edf5 100644 (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 */
index f9fe716..7605e46 100644 (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 */
 
index 913d5d6..2bb57bc 100644 (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 */
index 97ac2bb..d80f243 100644 (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 */
index 1e4ac62..708c1c1 100644 (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 */
index 69cd052..3a6b4a1 100644 (file)
  * 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 */
index d7e4a55..a9d7108 100644 (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 */
index 7b6f67d..9867e9d 100644 (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 */
index 23b5ec4..3ceec49 100644 (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 */
index 1450808..da2e36e 100644 (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 */
index 4fbeb74..1bf8c27 100644 (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 */
index 1be37c4..441ca99 100644 (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 */
index 1ac55e8..34535a1 100644 (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 */
index 7175b3a..f9c3583 100644 (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 */
index 8477b69..4e880aa 100644 (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 */
index f11bd0b..84dcfc4 100644 (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 */
index df0c8e2..11c1720 100644 (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 */
index d185baa..303e116 100644 (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 */
index 6289fdb..c08fea0 100644 (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 */
index cdd2d21..c7e601b 100644 (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 */
index 8e15a3a..2e3cd2f 100644 (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 */
index d7a47ea..2e1ea53 100644 (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 */
index 0469d68..63a973a 100644 (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 */
index 37c92ae..44921cc 100644 (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 */
index 12b142d..8cfcb24 100644 (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 */
 
index 358587c..1a5d3e0 100644 (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 */
 
index 4e97ee1..b634b53 100644 (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 */
index ac76bf3..375fa60 100644 (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 */
 
index 56a7f00..e78e4b1 100644 (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 */
 
index 4e71fcc..336ba53 100644 (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 */
 
index cb4b69c..3fe4082 100644 (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 */
index be21164..d61644c 100644 (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 */
 
index 1bccd64..332927c 100644 (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 */
index 3be18cd..0ac5a2d 100644 (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 */
index f492f5f..2284fac 100644 (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 */
 
index 30a011f..3b8e961 100644 (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 */
index 333f30e..50b1914 100644 (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 */
index 6f4ba8b..089046c 100644 (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 */
 
index 600a421..dae72f8 100644 (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 */
 
index 674a9c7..3730716 100644 (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 */
index 5a64935..c667052 100644 (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 */
index 14cdeeb..022da27 100644 (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 */
index cd14831..b2bcb36 100644 (file)
  * 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 */
 
index 221d837..fe4bc27 100644 (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 */
index dd50cd2..2b355c4 100644 (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 */
index f8485a4..1112240 100644 (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 */
index 27c41e4..a533f61 100644 (file)
@@ -20,8 +20,8 @@
  * 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>
@@ -152,4 +152,4 @@ FREERDP_API void rdpdr_server_context_free(RdpdrServerContext* context);
  }
 #endif
 
-#endif /* FREERDP_CHANNEL_SERVER_RDPDR_H */
+#endif /* FREERDP_CHANNEL_RDPDR_SERVER_RDPDR_H */
index 74af11f..86db2b4 100644 (file)
@@ -20,8 +20,8 @@
  * 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>
@@ -69,4 +69,4 @@ FREERDP_API UINT rdpei_server_resume(RdpeiServerContext *context);
 
 
 
-#endif /* __FREERDP_CHANNEL_RDPEI_SERVER_H__ */
+#endif /* FREERDP_CHANNEL_RDPEI_SERVER_H */
index fad7789..dada58f 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
 
@@ -97,4 +97,4 @@ FREERDP_API UINT rdpgfx_server_handle_messages(RdpgfxServerContext* context);
 }
 #endif
 
-#endif /* FREERDP_CHANNEL_SERVER_RDPGFX_H */
+#endif /* FREERDP_CHANNEL_RDPGFX_SERVER_RDPGFX_H */
index 181e366..e8f531d 100644 (file)
@@ -19,8 +19,8 @@
  * 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>
@@ -61,5 +61,5 @@ FREERDP_API void remdesk_server_context_free(RemdeskServerContext* context);
  }
 #endif
 
-#endif /* FREERDP_CHANNEL_SERVER_REMDESK_H */
+#endif /* FREERDP_CHANNEL_REMDESK_SERVER_REMDESK_H */
 
index 94bfc7a..6cfc6a0 100644 (file)
@@ -63,7 +63,7 @@ typedef int (*pfnShadowSubsystemUninit)(rdpShadowSubsystem* subsystem);
 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,
@@ -311,15 +311,15 @@ FREERDP_API int shadow_server_stop(rdpShadowServer* server);
 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);
 
index 9d7ed51..489453a 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -45,4 +45,4 @@ struct rdp_logon_info_ex {
 };
 typedef struct rdp_logon_info_ex logon_info_ex;
 
-#endif /* __FREERDP_SESSION_H__ */
+#endif /* FREERDP_SESSION_H */
index dfe9e83..1215786 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -125,4 +125,4 @@ FREERDP_API void ringbuffer_commit_read_bytes(RingBuffer *rb, size_t sz);
 }
 #endif
 
-#endif /* __RINGBUFFER_H___ */
+#endif /* FREERDP_UTILS_RINGBUFFER_H */
index 74f07ef..3930dc3 100644 (file)
@@ -17,8 +17,8 @@
  * 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}
@@ -29,4 +29,4 @@
 #define FREERDP_VERSION_FULL "${FREERDP_VERSION_FULL}"
 #define GIT_REVISION "${GIT_REVISION}"
 
-#endif // _FREERDP_VERSION_H_
+#endif /* FREERDP_VERSION_H */
index 762fa00..e220de4 100644 (file)
  * 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 */
index 7c73557..8b795d7 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -31,4 +31,4 @@ FREERDP_LOCAL void nsc_init_sse2(NSC_CONTEXT* context);
 #endif
 #endif
 
-#endif /* __NSC_SSE2_H */
+#endif /* FREERDP_LIB_CODEC_NSC_SSE2_H */
index 28553b8..9045008 100644 (file)
@@ -18,8 +18,8 @@
  * 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"
@@ -51,4 +51,4 @@ struct _NSC_CONTEXT_PRIV
        PROFILER_DEFINE(prof_nsc_encode);
 };
 
-#endif /* __NSC_TYPES_H */
+#endif /* FREERDP_LIB_CODEC_NSC_TYPES_H */
index bb03d39..14d06c0 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
 
@@ -82,4 +82,4 @@ typedef struct _RFX_BITSTREAM RFX_BITSTREAM;
 #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 */
index 2482101..43ded82 100644 (file)
@@ -17,8 +17,8 @@
  * 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
@@ -56,5 +56,5 @@
 /* properties.qt */
 #define SCALAR_QUANTIZATION    0x1
 
-#endif /* __RFX_CONSTANTS_H */
+#endif /* FREERDP_LIB_CODEC_RFX_CONSTANTS_H */
 
index 266dde0..9bf9cd9 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -27,5 +27,5 @@
 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 */
 
index 978ca8a..f777969 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -48,4 +48,4 @@ static INLINE void rfx_differential_encode(INT16* buffer, int size)
        }
 }
 
-#endif /* __RFX_DIFFERENTIAL_H */
+#endif /* FREERDP_LIB_CODEC_RFX_DIFFERENTIAL_H */
index 4ba1d6e..f5b4692 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -26,4 +26,4 @@
 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 */
index 3f238c5..ad6ab0e 100644 (file)
  * 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 */
 
index 5ccade8..b6216c3 100644 (file)
@@ -17,8 +17,8 @@
    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>
@@ -31,5 +31,5 @@ FREERDP_LOCAL void rfx_init_neon(RFX_CONTEXT* context);
 #endif
 #endif
 
-#endif /* __RFX_NEON_H */
+#endif /* FREERDP_LIB_CODEC_RFX_NEON_H */
 
index 99ac86e..9349c89 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -31,4 +31,4 @@ FREERDP_LOCAL void rfx_quantization_encode(INT16* buffer,
 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 */
index b3b6e34..49c0d62 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -29,4 +29,4 @@ FREERDP_LOCAL int rfx_rlgr_encode(RLGR_MODE mode, const INT16* data,
 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 */
index 03e40ba..b0d3998 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -31,4 +31,4 @@ FREERDP_LOCAL void rfx_init_sse2(RFX_CONTEXT* context);
 #endif
 #endif
 
-#endif /* __RFX_SSE2_H */
+#endif /* FREERDP_LIB_CODEC_RFX_SSE2_H */
index 082e141..e42591f 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
@@ -77,4 +77,4 @@ struct _RFX_CONTEXT_PRIV
        PROFILER_DEFINE(prof_rfx_encode_format_rgb);
 };
 
-#endif /* __RFX_TYPES_H */
+#endif /* FREERDP_LIB_CODEC_RFX_TYPES_H */
index a6a02a1..31b72e8 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
 
@@ -64,4 +64,4 @@ FREERDP_LOCAL BOOL rdp_server_accept_client_control_pdu(rdpRdp* rdp,
 FREERDP_LOCAL BOOL rdp_server_accept_client_font_list_pdu(rdpRdp* rdp,
         wStream* s);
 
-#endif /* __ACTIVATION_H */
+#endif /* FREERDP_LIB_CORE_ACTIVATION_H */
index 9236122..cbe499e 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
 
@@ -52,4 +52,4 @@ FREERDP_LOCAL BOOL autodetect_send_connecttime_bandwidth_measure_stop(
 
 #define AUTODETECT_TAG FREERDP_TAG("core.autodetect")
 
-#endif /* __AUTODETECT_H */
+#endif /* FREERDP_LIB_CORE_AUTODETECT_H */
index 0ce240a..2151b1a 100644 (file)
@@ -17,8 +17,8 @@
  * 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;
 
@@ -59,4 +59,4 @@ FREERDP_LOCAL void bulk_reset(rdpBulk* bulk);
 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 */
index d40f49c..b38d897 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
 
@@ -181,4 +181,4 @@ FREERDP_LOCAL BOOL rdp_recv_confirm_active(rdpRdp* rdp, wStream* s);
 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 */
index 990fd29..cfabda8 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
 
@@ -77,4 +77,4 @@ FREERDP_LOCAL void key_free(rdpRsaKey* key);
 #define DEBUG_CERTIFICATE(...) do { } while (0)
 #endif
 
-#endif /* __CERTIFICATE_H */
+#endif /* FREERDP_LIB_CORE_CERTIFICATE_H */
index 43ee8be..307533f 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
@@ -30,4 +30,4 @@ FREERDP_LOCAL BOOL freerdp_channel_process(freerdp* instance, wStream* s,
 FREERDP_LOCAL BOOL freerdp_channel_peer_process(freerdp_peer* client,
         wStream* s, UINT16 channelId);
 
-#endif /* __CHANNEL_H */
+#endif /* FREERDP_LIB_CORE_CHANNELS_H */
index 46900b7..3f1e1f4 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -124,4 +124,4 @@ FREERDP_LOCAL UINT freerdp_channels_pre_connect(rdpChannels* channels,
         freerdp* instance);
 FREERDP_LOCAL UINT freerdp_channels_post_connect(rdpChannels* channels,
         freerdp* instance);
-#endif /* FREERDP_CORE_CLIENT_H */
+#endif /* FREERDP_LIB_CORE_CLIENT_H */
index 7313b67..7a6ebf5 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
@@ -75,4 +75,4 @@ FREERDP_LOCAL BOOL rdp_server_establish_keys(rdpRdp* rdp, wStream* s);
 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 */
index 2fa2bc9..cc426f3 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -33,4 +33,4 @@ typedef struct _ERRINFO ERRINFO;
 
 FREERDP_LOCAL void rdp_print_errinfo(UINT32 code);
 
-#endif
+#endif /* FREERDP_LIB_CORE_ERRINFO_H */
index 7b6f942..9706994 100644 (file)
@@ -17,8 +17,8 @@
  * 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
@@ -174,4 +174,4 @@ FREERDP_LOCAL BOOL fastpath_send_surfcmd_frame_marker(rdpFastPath* fastpath,
 FREERDP_LOCAL rdpFastPath* fastpath_new(rdpRdp* rdp);
 FREERDP_LOCAL void fastpath_free(rdpFastPath* fastpath);
 
-#endif
+#endif /* FREERDP_LIB_CORE_FASTPATH_H */
index 35f1174..543be72 100644 (file)
@@ -17,8 +17,8 @@
  * 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;
@@ -117,4 +117,4 @@ FREERDP_LOCAL HttpResponse* http_response_recv(rdpTls* tls);
 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 */
index 8f4b49c..2280476 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -45,4 +45,4 @@ FREERDP_LOCAL int rpc_ncacn_http_send_out_channel_request(rdpRpc* rpc,
 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 */
index 38b1f00..f384378 100644 (file)
@@ -19,8 +19,8 @@
  * 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;
 
@@ -78,4 +78,4 @@ FREERDP_LOCAL BOOL ntlm_client_make_spn(rdpNtlm* ntlm, LPCTSTR ServiceClass,
 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 */
index 2fedd62..8eca518 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -153,4 +153,4 @@ FREERDP_LOCAL DWORD rdg_get_event_handles(rdpRdg* rdg, HANDLE* events,
 FREERDP_LOCAL BOOL rdg_check_event_handles(rdpRdg* rdg);
 
 
-#endif /* FREERDP_CORE_RDG_H */
+#endif /* FREERDP_LIB_CORE_GATEWAY_RDG_H */
index 6702333..006b629 100644 (file)
@@ -19,8 +19,8 @@
  * 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>
@@ -803,4 +803,4 @@ FREERDP_LOCAL BOOL rpc_connect(rdpRpc* rpc, int timeout);
 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 */
index 2c370d4..f52e384 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
 
@@ -39,4 +39,4 @@ FREERDP_LOCAL int rpc_recv_bind_ack_pdu(rdpRpc* rpc, BYTE* buffer,
                                         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 */
index 67ba656..a3c31fc 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
 
@@ -45,4 +45,4 @@ FREERDP_LOCAL int rpc_client_write_call(rdpRpc* rpc, BYTE* data, int length,
 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 */
index a408f6a..aa55088 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
 
@@ -28,4 +28,4 @@
 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 */
index 4fe2003..2f1898b 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
@@ -174,4 +174,4 @@ FREERDP_LOCAL int rts_recv_out_of_sequence_pdu(rdpRpc* rpc, BYTE* buffer,
 
 #include "rts_signature.h"
 
-#endif /* FREERDP_CORE_RTS_H */
+#endif /* FREERDP_LIB_CORE_GATEWAY_RTS_H */
index ec1494c..cb1c96c 100644 (file)
@@ -17,8 +17,8 @@
  * 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;
@@ -188,4 +188,4 @@ FREERDP_LOCAL UINT32 rts_identify_pdu_signature(rdpRpc* rpc,
 FREERDP_LOCAL int rts_print_pdu_signature(rdpRpc* rpc,
         RtsPduSignature* signature);
 
-#endif
+#endif /* FREERDP_LIB_CORE_GATEWAY_RTS_SIGNATURE_H */
index f6ad341..f1d6144 100644 (file)
@@ -19,8 +19,8 @@
  * 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;
 
@@ -332,4 +332,4 @@ FREERDP_LOCAL void tsg_free(rdpTsg* tsg);
 
 FREERDP_LOCAL BIO_METHOD* BIO_s_tsg(void);
 
-#endif /* FREERDP_CORE_TSG_H */
+#endif /* FREERDP_LIB_CORE_GATEWAY_TSG_H */
index 500bd73..ca5350b 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
 
@@ -88,4 +88,4 @@ FREERDP_LOCAL BOOL gcc_read_server_multitransport_channel_data(wStream* s,
 FREERDP_LOCAL void gcc_write_server_multitransport_channel_data(wStream* s,
         rdpMcs* mcs);
 
-#endif /* FREERDP_CORE_GCC_H */
+#endif /* FREERDP_LIB_CORE_GCC_H */
index 65b9444..8738c0f 100644 (file)
@@ -18,8 +18,8 @@
  * 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>
@@ -27,4 +27,4 @@
 
 FREERDP_LOCAL void Bitmap_Free(rdpContext* context, rdpBitmap* bitmap);
 
-#endif /* FREERDP_CORE_GRAPHICS_H */
+#endif /* FREERDP_LIB_CORE_GRAPHICS_H */
index 877c8f9..53dfe63 100644 (file)
@@ -17,8 +17,8 @@
  * 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;
 
@@ -42,4 +42,4 @@ FREERDP_LOCAL void heartbeat_free(rdpHeartbeat* heartbeat);
 
 #define HEARTBEAT_TAG FREERDP_TAG("core.heartbeat")
 
-#endif /* __HEARTBEAT_H */
+#endif /* FREERDP_LIB_CORE_HEARTBEET_H */
index 6ed61d1..20980d5 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
 
@@ -65,4 +65,4 @@ FREERDP_LOCAL BOOL rdp_recv_save_session_info(rdpRdp* rdp, wStream* s);
 FREERDP_LOCAL BOOL rdp_send_save_session_info(rdpContext* context, UINT32 type,
         void* data);
 
-#endif /* __INFO_H */
+#endif /* FREERDP_LIB_CORE_INFO_H */
index af49ce0..a3bb6d5 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
@@ -68,4 +68,4 @@ FREERDP_LOCAL BOOL input_register_client_callbacks(rdpInput* input);
 FREERDP_LOCAL rdpInput* input_new(rdpRdp* rdp);
 FREERDP_LOCAL void input_free(rdpInput* input);
 
-#endif /* __INPUT_H */
+#endif /* FREERDP_LIB_CORE_INPUT_H */
index 7603206..bf4a351 100644 (file)
@@ -17,8 +17,8 @@
  * 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;
 
@@ -216,4 +216,4 @@ FREERDP_LOCAL void license_free(rdpLicense* license);
 #define DEBUG_LICENSE(...) do { } while (0)
 #endif
 
-#endif /* __LICENSE_H */
+#endif /* FREERDP_LIB_CORE_LICENSE_H */
index 1474bf7..720d118 100644 (file)
@@ -17,8 +17,8 @@
  * 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;
 
@@ -40,5 +40,5 @@ struct rdp_listener
        HANDLE events[MAX_LISTENER_HANDLES];
 };
 
-#endif
+#endif /* FREERDP_LIB_CORE_LISTENER_H */
 
index 8b94cbc..a48b302 100644 (file)
@@ -19,8 +19,8 @@
  * 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;
 
@@ -201,4 +201,4 @@ FREERDP_LOCAL BOOL mcs_client_begin(rdpMcs* mcs);
 FREERDP_LOCAL rdpMcs* mcs_new(rdpTransport* transport);
 FREERDP_LOCAL void mcs_free(rdpMcs* mcs);
 
-#endif /* __MCS_H */
+#endif /* FREERDP_LIB_CORE_MCS_H */
index fe8ceb5..26f78ad 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -166,4 +166,4 @@ FREERDP_LOCAL int input_message_queue_process_pending_messages(rdpInput* input);
 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 */
index fdc3c2f..631bc0a 100644 (file)
@@ -17,8 +17,8 @@
  * 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;
 
@@ -39,4 +39,4 @@ FREERDP_LOCAL int rdp_recv_multitransport_packet(rdpRdp* rdp, wStream* s);
 FREERDP_LOCAL rdpMultitransport* multitransport_new(void);
 FREERDP_LOCAL void multitransport_free(rdpMultitransport* multitransport);
 
-#endif /* __MULTITRANSPORT_H */
+#endif /* FREERDP_LIB_CORE_MULTITRANSPORT_H */
index fdbce70..c03d68d 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
 
@@ -166,4 +166,4 @@ FREERDP_LOCAL void nego_set_preconnection_id(rdpNego* nego,
 FREERDP_LOCAL void nego_set_preconnection_blob(rdpNego* nego,
         char* PreconnectionBlob);
 
-#endif /* __NEGO_H */
+#endif /* FREERDP_LIB_CORE_NEGO_H */
index 559add7..5039fb4 100644 (file)
@@ -17,8 +17,8 @@
  * 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;
 
@@ -97,4 +97,4 @@ FREERDP_LOCAL rdpNla* nla_new(freerdp* instance, rdpTransport* transport,
                               rdpSettings* settings);
 FREERDP_LOCAL void nla_free(rdpNla* nla);
 
-#endif /* FREERDP_CORE_NLA_H */
+#endif /* FREERDP_LIB_CORE_NLA_H */
index 69b0c4f..6692b7c 100644 (file)
@@ -19,8 +19,8 @@
  * 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"
 
@@ -299,4 +299,4 @@ FREERDP_LOCAL BOOL update_write_switch_surface_order(
     wStream* s,
     const SWITCH_SURFACE_ORDER* switch_surface);
 
-#endif /* __ORDERS_H */
+#endif /* FREERDP_LIB_CORE_ORDERS_H */
index e9cd039..d9c3bc4 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
@@ -26,5 +26,5 @@
 
 #include <freerdp/peer.h>
 
-#endif /* __PEER */
+#endif /* FREERDP_LIB_CORE_PEER_H */
 
index 9a22125..1b337a3 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -28,4 +28,4 @@ BOOL proxy_prepare(rdpSettings* settings, const char** lpPeerHostname, UINT16* l
 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 */
index cd68c9f..d9a8cbc 100644 (file)
@@ -18,8 +18,8 @@
  * 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"
@@ -250,4 +250,4 @@ BOOL rdp_decrypt(rdpRdp* rdp, wStream* s, INT32 length, UINT16 securityFlags);
 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 */
index cf6bca7..cfe5f0f 100644 (file)
@@ -17,8 +17,8 @@
  * 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;
 
@@ -65,4 +65,4 @@ FREERDP_LOCAL void redirection_free(rdpRedirection* redirection);
 #define DEBUG_REDIR(...) do { } while (0)
 #endif
 
-#endif /* __REDIRECTION_H */
+#endif /* FREERDP_LIB_CORE_REDIRECTION_H */
index 9564631..1617bc5 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -54,4 +54,4 @@ FREERDP_LOCAL BOOL security_fips_decrypt(BYTE* data, size_t length, rdpRdp* rdp)
 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 */
index 01c6566..f543606 100644 (file)
@@ -18,8 +18,8 @@
  * 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>
@@ -247,4 +247,4 @@ FREERDP_LOCAL BOOL WINAPI FreeRDP_WTSLogoffUser(HANDLE hServer);
 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 */
index 89d4fa6..2176714 100644 (file)
@@ -17,8 +17,8 @@
  * limitations under the License.
  */
 
-#ifndef __SURFACE
-#define __SURFACE
+#ifndef FREERDP_LIB_CORE_SURFACE_H
+#define FREERDP_LIB_CORE_SURFACE_H
 
 #include "rdp.h"
 
@@ -43,5 +43,5 @@ FREERDP_LOCAL BOOL update_write_surfcmd_surface_bits_header(wStream* s,
 FREERDP_LOCAL BOOL update_write_surfcmd_frame_marker(wStream* s,
         UINT16 frameAction, UINT32 frameId);
 
-#endif /* __SURFACE */
+#endif /* FREERDP_LIB_CORE_SURFACE_H */
 
index 4e72b80..6638c19 100644 (file)
@@ -18,8 +18,8 @@
  * 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>
 
@@ -67,4 +67,4 @@ FREERDP_LOCAL int freerdp_tcp_connect(rdpContext* context,
                                       rdpSettings* settings,
                                       const char* hostname, int port, int timeout);
 
-#endif /* __TCP_H */
+#endif /* FREERDP_LIB_CORE_TCP_H */
index ba9a2e2..6e721d2 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
 
@@ -43,4 +43,4 @@ FREERDP_LOCAL BOOL rdp_write_client_time_zone(wStream* s,
 #define DEBUG_TIMEZONE(...) do { } while (0)
 #endif
 
-#endif /* __TIMEZONE_H */
+#endif /* FREERDP_LIB_CORE_TIMEZONE_H */
index 93f59df..fc28c3b 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -52,4 +52,4 @@ FREERDP_LOCAL void tpdu_write_disconnect_request(wStream* s, UINT16 length);
 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 */
index 9b18048..cb264d4 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
@@ -32,4 +32,4 @@ FREERDP_LOCAL BOOL tpkt_verify_header(wStream* s);
 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 */
index f265450..1f82506 100644 (file)
@@ -17,8 +17,8 @@
  * limitations under the License.
  */
 
-#ifndef __TRANSPORT_H
-#define __TRANSPORT_H
+#ifndef FREERDP_LIB_CORE_TRANSPORT_H
+#define FREERDP_LIB_CORE_TRANSPORT_H
 
 typedef enum
 {
@@ -123,4 +123,4 @@ FREERDP_LOCAL int transport_receive_pool_return(rdpTransport* transport,
 FREERDP_LOCAL rdpTransport* transport_new(rdpContext* context);
 FREERDP_LOCAL void transport_free(rdpTransport* transport);
 
-#endif
+#endif /* FREERDP_LIB_CORE_TRANSPORT_H */
index 8f71c7a..d9b43d0 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
@@ -67,4 +67,4 @@ FREERDP_LOCAL void update_register_server_callbacks(rdpUpdate* update);
 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 */
index e9e173c..7bb8a20 100644 (file)
@@ -18,8 +18,8 @@
  * 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"
 
@@ -38,4 +38,4 @@ FREERDP_LOCAL BOOL update_recv_altsec_window_order(rdpUpdate* update,
 #define DEBUG_WND(...) do { } while (0)
 #endif
 
-#endif /* __WINDOW_H */
+#endif /* FREERDP_LIB_CORE_WINDOW_H */
index b42d32f..911a900 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
@@ -62,4 +62,4 @@ void RSA_get0_key(const RSA* r, const BIGNUM** n, const BIGNUM** e, const BIGNUM
 #endif /* OPENSSL < 1.1.0 || LIBRESSL */
 #endif /* WITH_OPENSSL */
 
-#endif /* FREERDP_CRYPTO_OPENSSLCOMPAT_H */
+#endif /* FREERDP_LIB_CRYPTO_OPENSSLCOMPAT_H */
index a9dd30f..0be6366 100644 (file)
@@ -19,8 +19,8 @@
  * 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>
@@ -47,4 +47,4 @@ static INLINE UINT32 gdi_GetBrushStyle(HGDI_DC hdc)
 }
 #endif
 
-#endif /* FREERDP_GDI_BRUSH_H */
+#endif /* FREERDP_LIB_GDI_BRUSH_H */
index 5e403db..d7ebf6b 100644 (file)
@@ -19,8 +19,8 @@
  * 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>
@@ -40,4 +40,4 @@ FREERDP_LOCAL BOOL gdi_ClipCoords(HGDI_DC hdc, UINT32* x, UINT32* y,
 }
 #endif
 
-#endif /* FREERDP_GDI_CLIPPING_H */
+#endif /* FREERDP_LIB_GDI_CLIPPING_H */
index a69cff5..94daef9 100644 (file)
@@ -19,8 +19,8 @@
  * 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>
@@ -41,4 +41,4 @@ FREERDP_LOCAL UINT32 gdi_SetTextColor(HGDI_DC hdc, UINT32 crColor);
 }
 #endif
 
-#endif /* FREERDP_GDI_DRAWING_H */
+#endif /* FREERDP_LIB_GDI_DRAWING_H */
index 2d74fcb..e17f310 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
@@ -92,4 +92,4 @@ static INLINE BYTE* gdi_get_brush_pointer(HGDI_DC hdcBrush, UINT32 x, UINT32 y)
        return p;
 }
 
-#endif /* __GDI_CORE_H */
+#endif /* FREERDP_LIB_GDI_CORE_H */
index 0f9d4ed..1c6e166 100644 (file)
@@ -19,8 +19,8 @@
  * 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>
@@ -32,4 +32,4 @@ FREERDP_LOCAL HGDI_BITMAP gdi_create_bitmap(rdpGdi* gdi, UINT32 width,
 
 FREERDP_LOCAL BOOL gdi_register_graphics(rdpGraphics* graphics);
 
-#endif /* __GDI_GRAPHICS_H */
+#endif /* FREERDP_LIB_GDI_GRAPHICS_H */
index 4bced80..f583ca6 100644 (file)
@@ -19,8 +19,8 @@
  * 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>
@@ -41,4 +41,4 @@ FREERDP_LOCAL BOOL gdi_MoveToEx(HGDI_DC hdc, UINT32 X, UINT32 Y,
 }
 #endif
 
-#endif /* FREERDP_GDI_LINE_H */
+#endif /* FREERDP_LIB_GDI_LINE_H */
index b4d6b61..72fd608 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -32,4 +32,4 @@ FREERDP_LOCAL int detect_keyboard_layout_from_xkbfile(void* display,
 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 */
index 34fa8c2..b9310fa 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
@@ -40,4 +40,4 @@
 #define DEBUG_TIMEZONE(...) do { } while (0)
 #endif
 
-#endif /* __LIBLOCALE_H */
+#endif /* FREERDP_LIB_LOCALE_LIB_H */
index 84d5cc1..1816f08 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -26,4 +26,4 @@
 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 */
index f931212..3cd7b1d 100644 (file)
  *
  */
 
-#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
@@ -193,4 +189,4 @@ FREERDP_LOCAL void primitives_init_colors_opt(primitives_t* prims);
 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 */
index ba2405c..b68c670 100644 (file)
@@ -17,8 +17,8 @@
 # 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 */
index de09cca..c115336 100644 (file)
@@ -52,7 +52,7 @@ static BOOL test_YCoCgRToRGB_8u_AC4R_func(UINT32 width, UINT32 height)
        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++)
        {
index 45519f3..761e36f 100644 (file)
@@ -13,8 +13,8 @@
  * 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>
@@ -57,4 +57,4 @@ BOOL speed_test(const char* name, const char* dsc, UINT32 iterations,
                speed_test_fkt generic, speed_test_fkt optimized,
                ...);
 
-#endif // !__PRIMTEST_H_INCLUDED__
+#endif /* FREERDP_LIB_PRIMTEST_H */
index d3e172b..e50e119 100644 (file)
@@ -18,8 +18,8 @@
  * 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>
@@ -30,5 +30,5 @@
 
 void mf_peer_audin_init(mfPeerContext* context);
 
-#endif /* MF_AUDIN_H */
+#endif /* FREERDP_SERVER_MAC_AUDIN_H */
 
index a9111a6..883ba41 100644 (file)
@@ -17,8 +17,8 @@
  * 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;
@@ -31,8 +31,8 @@ typedef struct mf_event_region mfEventRegion;
 
 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
@@ -72,4 +72,4 @@ void mf_event_free(mfEvent* 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 */
index da420c3..9c092a0 100644 (file)
  * 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
 
 
 
@@ -47,4 +47,4 @@ BOOL mf_info_have_invalid_region(mfInfo* mfi);
 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 */
index 09be9af..8e8903c 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
 
@@ -33,4 +33,4 @@ void mf_input_unicode_keyboard_event_dummy(rdpInput* input, UINT16 flags, UINT16
 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
index 80c1017..9019d68 100644 (file)
@@ -18,8 +18,8 @@
  * 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>
 
@@ -102,4 +102,4 @@ struct mf_info
        BOOL force_all_disconnect;
 };
 
-#endif
+#endif /* FREERDP_SERVER_MAC_INTERFACE_H */
index 4b840f0..1790a3c 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
 
@@ -36,4 +36,4 @@ int mf_mlion_clear_dirty_region(void);
 
 int mf_mlion_get_pixelData(long x, long y, long width, long height, BYTE **pxData);
 
-#endif
+#endif /* FREERDP_SERVER_MAC_MLION_H */
index 02a6b17..9b137db 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
 
@@ -41,4 +41,4 @@ BOOL mf_peer_accepted(freerdp_listener* instance, freerdp_peer* client);
 
 void* mf_peer_main_loop(void* arg);
 
-#endif /* MF_PEER_H */
+#endif /* FREERDP_SERVER_MAC_PEER_H */
index dedc09d..ea90996 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -62,5 +62,5 @@ typedef struct _AQRecorderState AQRecorderState;
 BOOL mf_peer_rdpsnd_init(mfPeerContext* context);
 BOOL mf_peer_rdpsnd_stop(void);
 
-#endif /* MF_RDPSND_H */
+#endif /* FREERDP_SERVER_MAC_RDPSND_H */
 
index 2008b25..38fa25b 100644 (file)
  * 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 */
index db762fc..e99321c 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -28,5 +28,5 @@
 
 void sf_peer_audin_init(testPeerContext* context);
 
-#endif /* WF_AUDIN_H */
+#endif /* FREERDP_SERVER_SAMPLE_SF_AUDIN_H */
 
index 2770314..7976abc 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -28,4 +28,4 @@
 
 BOOL sf_peer_encomsp_init(testPeerContext* context);
 
-#endif /* SF_ENCOMSP_H */
+#endif /* FREERDP_SERVER_SAMPLE_SF_ENCOMSP_H */
index 78e7c9b..7da3f5a 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -28,5 +28,5 @@
 
 BOOL sf_peer_rdpsnd_init(testPeerContext* context);
 
-#endif /* SF_RDPSND_H */
+#endif /* FREERDP_SERVER_SAMPLE_SF_RDPSND_H */
 
index 1b81d82..529282e 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -60,5 +60,5 @@ struct test_peer_context
 };
 typedef struct test_peer_context testPeerContext;
 
-#endif /* SFREERDP_SERVER_H */
+#endif /* FREERDP_SERVER_SAMPLE_SFREERDP_SERVER_H */
 
index f3ab71c..017106d 100644 (file)
@@ -17,9 +17,9 @@
  * 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 */
index 9e51b27..01c1bdd 100644 (file)
@@ -1,5 +1,5 @@
-#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"
@@ -10,4 +10,4 @@ int wf_directsound_activate(RdpsndServerContext* context);
 
 DWORD WINAPI wf_rdpsnd_directsound_thread(LPVOID lpParam);
 
-#endif
\ No newline at end of file
+#endif /* FREERDP_SERVER_WIN_DSOUND_H */
index 1f47ee3..3feaa24 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
 
@@ -39,4 +39,4 @@ int wf_dxgi_releasePixelData(wfInfo* context);
 int wf_dxgi_getInvalidRegion(RECT* invalid);
 
 
-#endif
+#endif /* FREERDP_SERVER_WIN_DXGI_H */
index 14ea6ea..affa7e8 100644 (file)
  * 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);
@@ -42,4 +42,4 @@ BOOL wf_info_have_invalid_region(wfInfo* wfi);
 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 */
index d185f2b..a7b9870 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
 
@@ -33,4 +33,4 @@ void wf_peer_unicode_keyboard_event_dummy(rdpInput* input, UINT16 flags, UINT16
 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 */
index 6ab6b6f..1fbe223 100644 (file)
@@ -18,8 +18,8 @@
 * 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;
@@ -137,4 +137,4 @@ FREERDP_API void wfreerdp_server_register_callback_event(cbCallback cb);
 
 void wfreerdp_server_peer_callback_event(int pId, UINT32 eType);
 
-#endif /* WF_INTERFACE_H */
+#endif /* FREERDP_SERVER_WIN_INTERFACE_H */
index 372e02b..b889718 100644 (file)
@@ -18,8 +18,8 @@
  * 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"
 
@@ -218,4 +218,4 @@ BOOL wf_mirror_driver_cleanup(wfInfo* wfi);
 BOOL wf_mirror_driver_activate(wfInfo* wfi);
 void wf_mirror_driver_deactivate(wfInfo* wfi);
 
-#endif /* WF_MIRAGE_H */
+#endif /* FREERDP_SERVER_WIN_MIRAGE_H */
index 7d8f1d0..0abbb5a 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
 
@@ -48,4 +48,4 @@ BOOL wf_peer_accepted(freerdp_listener* instance, freerdp_peer* client);
 DWORD WINAPI wf_peer_main_loop(LPVOID lpParam);
 
 
-#endif /* WF_PEER_H */
+#endif /* FREERDP_SERVER_WIN_PEER_H */
index c61de61..9a82664 100644 (file)
@@ -17,8 +17,8 @@
  * 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>
@@ -31,5 +31,5 @@ int wf_rdpsnd_unlock(void);
 BOOL wf_peer_rdpsnd_init(wfPeerContext* context);
 
 
-#endif /* WF_RDPSND_H */
+#endif /* FREERDP_SERVER_WIN_RDPSND_H */
 
index 205ab97..40e25aa 100644 (file)
  * 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 */
index 0fb9c46..47553af 100644 (file)
@@ -17,8 +17,8 @@
  * 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"
 
@@ -34,4 +34,4 @@ void wf_update_end(wfInfo* wfi);
 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 */
index 7461f2a..303b4f9 100644 (file)
@@ -1,5 +1,5 @@
-#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"
@@ -12,4 +12,4 @@ int wf_wasapi_get_device_string(LPWSTR pattern, LPWSTR * deviceStr);
 
 DWORD WINAPI wf_rdpsnd_wasapi_thread(LPVOID lpParam);
 
-#endif
\ No newline at end of file
+#endif /* FREERDP_SERVER_WIN_WASAPI_H */
index dc5d24b..dff555e 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -62,4 +62,4 @@ extern "C" {
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_MAC_H */
+#endif /* FREERDP_SERVER_SHADOW_MAC_SHADOW_H */
index 1dcdf7a..92b2089 100644 (file)
@@ -16,8 +16,8 @@
  * 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
@@ -57,4 +57,4 @@ int win_shadow_dxgi_get_invalid_region(winShadowSubsystem* subsystem);
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_WIN_DXGI_H */
+#endif /* FREERDP_SERVER_SHADOW_WIN_DXGI_H */
index e48d46e..bc6b1a1 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
@@ -53,4 +53,4 @@ int win_shadow_rdp_stop(winShadowSubsystem* subsystem);
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_WIN_RDP_H */
+#endif /* FREERDP_SERVER_SHADOW_WIN_RDP_H */
index c403bd6..2ce22f1 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -87,4 +87,4 @@ extern "C" {
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_WIN_H */
+#endif /* FREERDP_SERVER_SHADOW_WIN_H */
index d8859d7..8262e85 100644 (file)
@@ -16,8 +16,8 @@
  * 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
 
@@ -44,4 +44,4 @@ int win_shadow_wds_uninit(winShadowSubsystem* subsystem);
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_WIN_WDS_H */
+#endif /* FREERDP_SERVER_SHADOW_WIN_WDS_H */
index 9c75053..2a3f890 100644 (file)
@@ -46,7 +46,7 @@
 
 #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
 
@@ -591,6 +591,10 @@ static int x11_shadow_blend_cursor(x11ShadowSubsystem* subsystem)
        BYTE* pDstData;
        BYTE A, R, G, B;
        rdpShadowSurface* surface;
+
+       if (!subsystem)
+               return -1;
+
        surface = subsystem->server->surface;
        nXSrc = 0;
        nYSrc = 0;
@@ -1102,7 +1106,7 @@ static int x11_shadow_xshm_init(x11ShadowSubsystem* subsystem)
        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;
@@ -1175,7 +1179,7 @@ int x11_shadow_enum_monitors(MONITOR_DEF* monitors, int maxMonitors)
        return numMonitors;
 }
 
-static int x11_shadow_subsystem_init(x11ShadowSubsystem* subsystem)
+static int x11_shadow_subsystem_init(rdpShadowSubsystem* sub)
 {
        int i;
        int pf_count;
@@ -1188,6 +1192,11 @@ static int x11_shadow_subsystem_init(x11ShadowSubsystem* subsystem)
        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);
 
@@ -1311,8 +1320,10 @@ static int x11_shadow_subsystem_init(x11ShadowSubsystem* 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;
 
@@ -1337,10 +1348,12 @@ static int x11_shadow_subsystem_uninit(x11ShadowSubsystem* subsystem)
        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,
@@ -1353,10 +1366,12 @@ static int x11_shadow_subsystem_start(x11ShadowSubsystem* subsystem)
        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)
        {
@@ -1370,7 +1385,7 @@ static int x11_shadow_subsystem_stop(x11ShadowSubsystem* subsystem)
        return 1;
 }
 
-static x11ShadowSubsystem* x11_shadow_subsystem_new(void)
+static rdpShadowSubsystem* x11_shadow_subsystem_new(void)
 {
        x11ShadowSubsystem* subsystem;
        subsystem = (x11ShadowSubsystem*) calloc(1, sizeof(x11ShadowSubsystem));
@@ -1395,10 +1410,10 @@ static x11ShadowSubsystem* x11_shadow_subsystem_new(void)
        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;
@@ -1409,12 +1424,15 @@ static void x11_shadow_subsystem_free(x11ShadowSubsystem* subsystem)
 
 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;
 }
index 5425bf2..e6e361e 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -57,17 +57,17 @@ struct x11_shadow_subsystem
 
        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;
@@ -80,14 +80,14 @@ struct x11_shadow_subsystem
        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
@@ -112,4 +112,4 @@ extern "C" {
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_X11_H */
+#endif /* FREERDP_SERVER_SHADOW_X11_H */
index b41449d..2532bfd 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -42,5 +42,5 @@ extern "C" {
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_H */
+#endif /* FREERDP_SERVER_SHADOW_SHADOW_H */
 
index a02bd3b..5bc6252 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -35,4 +35,4 @@ void shadow_client_audin_uninit(rdpShadowClient* client);
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_AUDIN_H */
+#endif /* FREERDP_SERVER_SHADOW_AUDIN_H */
index dbf0ae6..18c33b9 100644 (file)
@@ -80,14 +80,15 @@ int shadow_capture_align_clip_rect(RECTANGLE_16* rect, RECTANGLE_16* clip)
        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
@@ -105,10 +106,10 @@ int shadow_capture_compare(BYTE* pData1, int nStep1, int nWidth, int nHeight, BY
        ncol = (nWidth + 15) / 16;
 
        l = ncol + 1;
-       r = -1;
+       r = 0;
 
        t = nrow + 1;
-       b = -1;
+       b = 0;
 
        for (ty = 0; ty < nrow; ty++)
        {
index f5e7404..2989ff8 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -45,4 +45,4 @@ void shadow_capture_free(rdpShadowCapture* capture);
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_CAPTURE_H */
+#endif /* FREERDP_SERVER_SHADOW_CAPTURE_H */
index e35b6f6..cdd739f 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -41,4 +41,4 @@ void shadow_client_channels_free(rdpShadowClient* client);
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_CHANNELS_H */
+#endif /* FREERDP_SERVER_SHADOW_CHANNELS_H */
index 789dde5..e61b451 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -32,4 +32,4 @@ BOOL shadow_client_accepted(freerdp_listener* instance, freerdp_peer* client);
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_CLIENT_H */
+#endif /* FREERDP_SERVER_SHADOW_CLIENT_H */
index 611850d..0299a4b 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
@@ -74,4 +74,4 @@ void shadow_encoder_free(rdpShadowEncoder* encoder);
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_ENCODER_H */
+#endif /* FREERDP_SERVER_SHADOW_ENCODER_H */
index c154dc9..4e7d806 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -35,4 +35,4 @@ void shadow_client_encomsp_uninit(rdpShadowClient* client);
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_ENCOMSP_H */
+#endif /* FREERDP_SERVER_SHADOW_ENCOMSP_H */
index cc87ffc..95ed4da 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -31,4 +31,4 @@ void shadow_input_register_callbacks(rdpInput* input);
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_INPUT_H */
+#endif /* FREERDP_SERVER_SHADOW_INPUT_H */
index c3aa681..6c308e6 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -36,4 +36,4 @@ BOOL shadow_client_init_lobby(rdpShadowServer* server);
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_LOBBY_H */
+#endif /* FREERDP_SERVER_SHADOW_LOBBY_H */
index d604700..d6f4dab 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -62,4 +62,4 @@ HANDLE shadow_multiclient_getevent(void* subscriber);
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_MCEVENT_H */
+#endif /* FREERDP_SERVER_SHADOW_MCEVENT_H */
index 0ac810d..36af757 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -35,4 +35,4 @@ void shadow_client_rdpgfx_uninit(rdpShadowClient* client);
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_RDPGFX_H */
+#endif /* FREERDP_SERVER_SHADOW_RDPGFX_H */
index b95e9ce..c5e60b2 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -35,4 +35,4 @@ void shadow_client_rdpsnd_uninit(rdpShadowClient* client);
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_RDPSND_H */
+#endif /* FREERDP_SERVER_SHADOW_RDPSND_H */
index 78779ab..9532893 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -35,4 +35,4 @@ void shadow_client_remdesk_uninit(rdpShadowClient* client);
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_REMDESK_H */
+#endif /* FREERDP_SERVER_SHADOW_REMDESK_H */
index 806d40f..e8f5c17 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -49,4 +49,4 @@ void shadow_screen_free(rdpShadowScreen* screen);
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_SCREEN_H */
+#endif /* FREERDP_SERVER_SHADOW_SCREEN_H */
index 7f3173a..cc5766a 100644 (file)
@@ -44,7 +44,7 @@ static int shadow_subsystem_load_entry_points(RDP_SHADOW_ENTRY_POINTS* pEntryPoi
        return 1;
 }
 
-rdpShadowSubsystem* shadow_subsystem_new()
+rdpShadowSubsystem* shadow_subsystem_new(void)
 {
        RDP_SHADOW_ENTRY_POINTS ep;
        rdpShadowSubsystem* subsystem = NULL;
@@ -165,9 +165,9 @@ int shadow_subsystem_stop(rdpShadowSubsystem* subsystem)
        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)
index 7170cf2..ef8d7ef 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -28,7 +28,7 @@
 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);
@@ -41,5 +41,5 @@ int shadow_subsystem_stop(rdpShadowSubsystem* subsystem);
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_SUBSYSTEM_H */
+#endif /* FREERDP_SERVER_SHADOW_SUBSYSTEM_H */
 
index 2eefe5e..abfbd56 100644 (file)
@@ -16,8 +16,8 @@
  * 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>
 
@@ -36,4 +36,4 @@ BOOL shadow_surface_resize(rdpShadowSurface *surface, int x, int y, int width, i
 }
 #endif
 
-#endif /* FREERDP_SHADOW_SERVER_SURFACE_H */
+#endif /* FREERDP_SERVER_SHADOW_SURFACE_H */
index 07813fb..859e51d 100644 (file)
@@ -20,8 +20,8 @@
  * 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>
@@ -57,4 +57,4 @@ UWAC_API void UwacTouchAutomataReset(UwacTouchAutomata *automata);
  */
 UWAC_API bool UwacTouchAutomataInjectEvent(UwacTouchAutomata *automata, UwacEvent *event);
 
-#endif /* __UWAC_TOOLS_H_ */
+#endif /* UWAC_TOOLS_H_ */
index fd422f4..5042803 100644 (file)
@@ -20,8 +20,8 @@
  * OF THIS SOFTWARE.
  */
 
-#ifndef __UWAC_H_
-#define __UWAC_H_
+#ifndef UWAC_H_
+#define UWAC_H_
 
 #include <wayland-client.h>
 #include <stdbool.h>
@@ -483,4 +483,4 @@ UWAC_API const char *UwacSeatGetName(const UwacSeat *seat);
 }
 #endif
 
-#endif /* __UWAC_H_ */
+#endif /* UWAC_H_ */
index be927df..64b5821 100644 (file)
@@ -28,8 +28,8 @@
  * 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>
 
@@ -42,4 +42,4 @@ ssize_t uwac_os_recvmsg_cloexec(int sockfd, struct msghdr *msg, int flags);
 int uwac_os_epoll_create_cloexec(void);
 
 int uwac_create_anonymous_file(off_t size);
-#endif /* __UWAC_OS_H */
+#endif /* UWAC_OS_H */
index 8b0324d..2a8e16b 100644 (file)
@@ -20,8 +20,8 @@
  * OF THIS SOFTWARE.
  */
 
-#ifndef __UWAC_PRIV_H_
-#define __UWAC_PRIV_H_
+#ifndef UWAC_PRIV_H_
+#define UWAC_PRIV_H_
 
 #include "config.h"
 
@@ -234,4 +234,4 @@ void UwacSeatDestroy(UwacSeat *s);
 UwacOutput *UwacCreateOutput(UwacDisplay *d, uint32_t id, uint32_t version);
 int UwacDestroyOutput(UwacOutput *output);
 
-#endif /* __UWAC_PRIV_H_ */
+#endif /* UWAC_PRIV_H_ */
index e305073..bd96bb0 100644 (file)
@@ -20,8 +20,8 @@
  * OF THIS SOFTWARE.
  */
 
-#ifndef __UWAC_UTILS_H_
-#define __UWAC_UTILS_H_
+#ifndef UWAC_UTILS_H_
+#define UWAC_UTILS_H_
 
 #include <stdlib.h>
 
@@ -50,4 +50,4 @@ char *xstrdup(const char *s);
 
 void *xrealloc(char *p, size_t s);
 
-#endif /* __UWAC_UTILS_H_ */
+#endif /* UWAC_UTILS_H_ */