X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=options.h;h=872ac7dfa219b9b3653ec521b384f22873dbb3b0;hp=79e5fe026b74cf6367eb19db406b5102300efc4b;hb=20a671d76854520ad9d5ea9d481e008240465e62;hpb=b1ab2b9ac1cfc15d2a8f5850145dd69043cc3ef7 diff --git a/options.h b/options.h index 79e5fe0..872ac7d 100644 --- a/options.h +++ b/options.h @@ -8,6 +8,9 @@ ** options header file ** ** ** \*****************************************************************************/ +#ifdef __cplusplus +extern "C" { +#endif struct options { char log[128]; /* location of log file */ @@ -19,13 +22,14 @@ struct options { char tones_dir[64]; /* directory of all tones/patterns */ char fetch_tones[256]; /* directories of tones to fetch */ - char extensions_dir[64]; /* directory of extensions */ 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 gsm; /* enable gsm support */ }; extern struct options options; @@ -34,4 +38,7 @@ extern char options_error[256]; int read_options(void); +#ifdef __cplusplus +} +#endif