You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

69 lines
1.7 KiB

  1. /**
  2. * xrdp: A Remote Desktop Protocol server.
  3. *
  4. * Copyright (C) Jay Sorg 2004-2014
  5. *
  6. * Licensed under the Apache License, Version 2.0 (the "License");
  7. * you may not use this file except in compliance with the License.
  8. * You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. *
  18. * default file locations for log, config, etc
  19. */
  20. #if !defined(FILE_LOC_H)
  21. #define FILE_LOC_H
  22. #if !defined(XRDP_CFG_PATH)
  23. #define XRDP_CFG_PATH "/etc/xrdp"
  24. #endif
  25. #if !defined(XRDP_PID_PATH)
  26. #define XRDP_PID_PATH "/var/run"
  27. #endif
  28. #if !defined(XRDP_SBIN_PATH)
  29. #define XRDP_SBIN_PATH "/usr/local/sbin"
  30. #endif
  31. #if !defined(XRDP_SHARE_PATH)
  32. #define XRDP_SHARE_PATH "/usr/local/share/xrdp"
  33. #endif
  34. #if !defined(XRDP_MODULE_PATH)
  35. #define XRDP_MODULE_PATH "/usr/local/lib/xrdp"
  36. #endif
  37. #if !defined(XRDP_LOG_PATH)
  38. #define XRDP_LOG_PATH "/var/log"
  39. #endif
  40. #if !defined(XRDP_CHANSRV_STR)
  41. #define XRDP_CHANSRV_STR "/tmp/.xrdp/xrdp_chansrv_socket_%d"
  42. #endif
  43. #if !defined(CHANSRV_PORT_OUT_STR)
  44. #define CHANSRV_PORT_OUT_STR "/tmp/.xrdp/xrdp_chansrv_audio_out_socket_%d"
  45. #endif
  46. #if !defined(CHANSRV_PORT_IN_STR)
  47. #define CHANSRV_PORT_IN_STR "/tmp/.xrdp/xrdp_chansrv_audio_in_socket_%d"
  48. #endif
  49. #if !defined(CHANSRV_API_STR)
  50. #define CHANSRV_API_STR "/tmp/.xrdp/xrdpapi_%d"
  51. #endif
  52. #if !defined(XRDP_X11RDP_STR)
  53. #define XRDP_X11RDP_STR "/tmp/.xrdp/xrdp_display_%d"
  54. #endif
  55. #endif