summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2014-08-06 13:21:01 -0700
committerJay Sorg <jay.sorg@gmail.com>2014-08-06 13:21:01 -0700
commit8397055e8b412d58df84172fd6d883f7fe5b6906 (patch)
tree1f574323964fab8d3525cb0fb247c5496bbc23c5 /common
parente4d054654f30ad8be900e72e1f943f93baf1809c (diff)
downloadxrdp-proprietary-8397055e8b412d58df84172fd6d883f7fe5b6906.tar.gz
xrdp-proprietary-8397055e8b412d58df84172fd6d883f7fe5b6906.zip
move some hard code paths to defines in header
Diffstat (limited to 'common')
-rw-r--r--common/file_loc.h20
1 files changed, 20 insertions, 0 deletions
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