From 8397055e8b412d58df84172fd6d883f7fe5b6906 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Wed, 6 Aug 2014 13:21:01 -0700 Subject: move some hard code paths to defines in header --- common/file_loc.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'common') diff --git a/common/file_loc.h b/common/file_loc.h index 3b408e43..7389a1ed 100644 --- a/common/file_loc.h +++ b/common/file_loc.h @@ -45,4 +45,24 @@ #define XRDP_LOG_PATH "/var/log" #endif +#if !defined(XRDP_CHANSRV_STR) +#define XRDP_CHANSRV_STR "/tmp/.xrdp/xrdp_chansrv_socket_%d" +#endif + +#if !defined(CHANSRV_PORT_OUT_STR) +#define CHANSRV_PORT_OUT_STR "/tmp/.xrdp/xrdp_chansrv_audio_out_socket_%d" +#endif + +#if !defined(CHANSRV_PORT_IN_STR) +#define CHANSRV_PORT_IN_STR "/tmp/.xrdp/xrdp_chansrv_audio_in_socket_%d" +#endif + +#if !defined(CHANSRV_API_STR) +#define CHANSRV_API_STR "/tmp/.xrdp/xrdpapi_%d" +#endif + +#if !defined(XRDP_X11RDP_STR) +#define XRDP_X11RDP_STR "/tmp/.xrdp/xrdp_display_%d" +#endif + #endif -- cgit v1.2.1