added options.c to automake, so that chan_lcr gets built correctly
[lcr.git] / options.h
index 79e5fe0..976aaba 100644 (file)
--- 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,7 +22,6 @@ 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 */
@@ -34,4 +36,7 @@ extern char options_error[256];
 
 int read_options(void);
 
+#ifdef __cplusplus
+}
+#endif