sbin_PROGRAMS = lcr genrc genextension chan_lcr.so
chan_lcr_so_SOURCES =
chan_lcr_so_LDFLAGS = -shared
-chan_lcr_so_LDADD = chan_lcr.o bchannel.o
+chan_lcr_so_LDADD = chan_lcr.o bchannel.o options.o
chan_lcr.o: chan_lcr.c chan_lcr.h
$(CC) $(INCLUDES) -D_GNU_SOURCE -c chan_lcr.c
** options header file **
** **
\*****************************************************************************/
+#ifdef __cplusplus
+extern "C" {
+#endif
struct options {
char log[128]; /* location of log file */
int read_options(void);
+#ifdef __cplusplus
+}
+#endif