LCR now runs as a user.
[lcr.git] / lcrsocket.h
index 735b610..6c7983f 100644 (file)
@@ -9,7 +9,7 @@
 **                                                                           **
 \*****************************************************************************/
 
-#define SOCKET_NAME "/var/run/LCR.socket"
+#define SOCKET_NAME "%s/LCR.socket"
 
 /* structures that define message between admin-tool and pbx */
 
@@ -77,6 +77,7 @@ struct admin_response_interface {
        int             channels;
        char            busy[256]; /* if port is idle(0) busy(1) */
        unsigned int    port[256]; /* current port */
+       int             mode[256];
 };
 
 struct admin_response_remote {