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 * names of UNIX sockets for inter-process communication 19 */ 20 21 #if !defined(XRDP_SOCKETS_H) 22 #define XRDP_SOCKETS_H 23 24 /* basename of socket files */ 25 #define XRDP_CHANSRV_BASE_STR "xrdp_chansrv_socket_%d" 26 #define CHANSRV_PORT_OUT_BASE_STR "xrdp_chansrv_audio_out_socket_%d" 27 #define CHANSRV_PORT_IN_BASE_STR "xrdp_chansrv_audio_in_socket_%d" 28 #define CHANSRV_API_BASE_STR "xrdpapi_%d" 29 #define XRDP_X11RDP_BASE_STR "xrdp_display_%d" 30 #define XRDP_DISCONNECT_BASE_STR "xrdp_disconnect_display_%d" 31 32 /* fullpath of sockets */ 33 #define XRDP_CHANSRV_STR XRDP_SOCKET_PATH "/" XRDP_CHANSRV_BASE_STR 34 #define CHANSRV_PORT_OUT_STR XRDP_SOCKET_PATH "/" CHANSRV_PORT_OUT_BASE_STR 35 #define CHANSRV_PORT_IN_STR XRDP_SOCKET_PATH "/" CHANSRV_PORT_IN_BASE_STR 36 #define CHANSRV_API_STR XRDP_SOCKET_PATH "/" CHANSRV_API_BASE_STR 37 #define XRDP_X11RDP_STR XRDP_SOCKET_PATH "/" XRDP_X11RDP_BASE_STR 38 #define XRDP_DISCONNECT_STR XRDP_SOCKET_PATH "/" XRDP_DISCONNECT_BASE_STR 39 40 #endif 41