/** * config.h * * General configuration header. Contains constants used to configure * certain user-definable locations and files. * * Author : Sajid Sadi * Last Mod : January 15, 2002 * Purpose : Communications module for the CLIC Video Automation Project * Professor: Henning Schulzrinne * Mentor : Xiaotao Wu * * Copyright (c) 2002 by Columbia University. All rights reserved. */ #ifndef __CONFIG_H #define __CONFIG_H /* * used in matrix_control.c * The following two fields are used to locate and list * all of the preset maps for the switches. MAP_DIR is the * directory for the files, and MAP_FILTER is a filter to * find map files (same patterning as used by unix "ls"). */ #define MAP_DIR "settings" #define MAP_FILTER "*.map" /* * used in matrix_control.c * The following 2 fields point to the locations * of the input/output labels of the switches */ #define KNOX_LABELS_FILE "settings/knox_io.txt" #define EXTRON_LABELS_FILE "settings/extron_io.txt" /* * used in comm.c * File where the port settings are stored */ #define PORTS_FILE "settings/ports.txt" /* * used in main.c * the lock file for single-user locking. Much be world * writable, or belong to the user/grp of the httpd */ #define SESSION_FILE "session/lock" /* * Comment this line to enable reading from the switches. * Note: This also disables I/O to the Slink-e, since that * class also requires input */ #define DISABLE_READS 1 #endif