X-Git-Url: http://git.jankratochvil.net/?p=mdsms.git;a=blobdiff_plain;f=setup.h;h=c057cb990975b61d1fe4063bfea18ef560cee617;hp=14d6e2c95882ad4978e5ad067e496b8cd7f5f755;hb=e1aac87e10809e1f8fa9d0a7a4ebdde684d7ae35;hpb=b0936a0dc5347ca47bb704dd922ba4fe5efae352 diff --git a/setup.h b/setup.h index 14d6e2c..c057cb9 100644 --- a/setup.h +++ b/setup.h @@ -1,28 +1,19 @@ /* * $Id$ - * - * $Log$ - * Revision 1.3 1999/06/03 10:52:32 short - * Commented all the entries in setup.h. - * - * Revision 1.2 1999/06/03 10:38:52 short - * Implemented remaining communication timeouts and maximum retry count. - * - * Revision 1.1.1.1 1999/05/26 13:06:26 short - * First alpha release. - * */ #define CONFIG_MAIN "/etc/" PACKAGE "rc" /* global configuration file */ #define CONFIG_HOME "/." PACKAGE "rc" /* user-local cfg file, $HOME is prepended automatically */ #define DEF_DEVICE "/dev/mobildock" /* --device default */ +#define DEF_LOGNAME "" /* --log default */ #ifndef DEF_LOCKFILE #define DEF_LOCKFILE "/var/lock/LCK..%s" /* --lockfile default */ #endif #define DEF_MAXRETRY 10 /* --maxretry default */ #define DEF_READTIME 60*60 /* --readtime default */ -#define DEF_CHARTIME 10 /* --chartime default */ +#define DEF_CHARTIME 10 /* --chartime default + (500ms per 80char=6.25ms recommended by Siemens */ #define DEF_CMDTIME 500 /* --cmdtime default */ #define MAXCONFIG 4096 /* maximum allowed size of any configuration file */ #define MAXCFGARGS 256 /* maximum allowed number of arguments in cfg file */ @@ -32,6 +23,8 @@ #define DEVLOCK_MAXEMPTY 1 /* seconds to wait while lockfile is empty to prevent races during lock creation */ #define MAXSENDTIME 2 /* max. allowed number of seconds for sending one char */ +#define LOCKREPORT 15 /* report to logfile if device lock took more than + this parameter taken in seconds */ #define ADDR_NAT 0x81 /* PDU address type for non-'+' numbers */ #define ADDR_INT 0x91 /* PDU address type for numbers prefixed by '+' */ #define PDU_TYPE 0x11 /* first byte of PDU, SMS submit */