/* Contest Arbitrator v0.3.2 by Dmitry Gorokh, UR4MCK
This program is freeware!
Configuration file
Changes:
11.03.2015: DEFAULT_REPORT_DIR was changed to 'reports'
*/
#ifndef CONFIG_H
#define CONFIG_H
/* This is only needed on Win32 platform. On native Linux missing functions are in Libc */
#ifdef __WIN32__
#include "missing.h"
#endif
//#define _DEBUG_ /* Uncomment to enable debug */
#define VERSION "0.3.2" /* Program version */
/* Contests identifiers */
#define CONTEST_ID_NONE 0
#define CONTEST_ID_RUQRP_WAKEUP 1
/* TODO: add other contests */
#define CONTEST_ID_GENERAL 128
#define CONTEST_ID_UNDEFINED -1
#define CONTEST_NAME_UNDEFINED "Unknown contest"
#define MAX_STR 256 /* Maximum string length */
#define MAX_BANDS 32 /* Maximum possible bands in the list */
#define MAX_MODES 32 /* Maximum possible operating modes in the list */
#define LIST_DELIMITER "," /* Separates values in the contest configuration strings */
#define CONFIG_FILE_COMMENT_CHAR '#' /* Commentary character in configuration file */
/* Contest defaults */
#define DEFAULT_CONFIG_FILE "contest.conf" /* Default configuration file */
#define DEFAULT_CONTEST_ID (CONTEST_ID_UNDEFINED)
#define DEFAULT_CONTEST_NAME (CONTEST_NAME_UNDEFINED)
#define DEFAULT_CONTEST_DURATION (24 * 60 * 60) /* 24 hours */
#define DEFAULT_TIME_DIFFERENCE (3 * 60) /* 3 minutes */
#define DEFAULT_BAND_LIST "160M,80M,40M,20M,15M,10M"
#define DEFAULT_MODE_LIST "SSB,CW"
#define DEFAULT_CFM_UNRESOLVED 2
#define DEFAULT_REPORT_DIR "reports"
#define DEFAULT_UBN_DIR "ubn"
#define GENERAL_XCHECK_TIME_DIFFERENCE (2 * DEFAULT_TIME_DIFFERENCE)
/* For debug output */
#ifdef _DEBUG_
#define DEBUG printf
#else
#define DEBUG
#endif
#endif