LCR now runs as a user.
[lcr.git] / options.h
index 571ba8e..79e5fe0 100644 (file)
--- a/options.h
+++ b/options.h
@@ -11,8 +11,6 @@
 
 struct options {
        char    log[128];               /* location of log file */
-       char    ports[256];             /* use of ports */
-//     int     ptp;                    /* if layer 2 should be watched */
        int     deb;                    /* debugging */
        char    law;                    /* 'a' or 'u' law */
 
@@ -26,10 +24,14 @@ struct options {
        int     dsptones;               /* tones will be generated via dsp.o 1=american 2=ger */
        int     schedule;               /* run process in realtime @ given priority */
        char    email[128];             /* source email address */
+       char    lock[128];              /* path of lock files */
+       int     socketrights;           /* rights of lcr admin socket */
 };     
 
 extern struct options options;
 
+extern char options_error[256];
+
 int read_options(void);