X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=options.h;h=d7e76034395331056e04142b3406bc65b3870e47;hp=976aaba1df2871181e030163103116368d13095f;hb=79bd731c0db3e3202cfeed2af3fb217ae744b70f;hpb=1d89e5aebc31e5bb5c610e9fd350b50f66612590 diff --git a/options.h b/options.h index 976aaba..d7e7603 100644 --- a/options.h +++ b/options.h @@ -23,18 +23,19 @@ struct options { char tones_dir[64]; /* directory of all tones/patterns */ char fetch_tones[256]; /* directories of tones to fetch */ char dummyid[32]; /* caller id for external calls if not available */ - 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 */ + int socketuser; /* socket chown to this user */ + int socketgroup; /* socket chgrp to this group */ + int polling; + char otp_dir[256]; /* directory of OTP files */ }; extern struct options options; -extern char options_error[256]; - -int read_options(void); +int read_options(char *options_error); #ifdef __cplusplus }