X-Git-Url: https://git.jankratochvil.net/?p=mdsms.git;a=blobdiff_plain;f=setup.h;h=aecda2964346e71e108c211c4983a95fa7706104;hp=14d6e2c95882ad4978e5ad067e496b8cd7f5f755;hb=25f8b04f0bb7af6a2bb1b73d50762de53b87663c;hpb=b0936a0dc5347ca47bb704dd922ba4fe5efae352 diff --git a/setup.h b/setup.h index 14d6e2c..aecda29 100644 --- a/setup.h +++ b/setup.h @@ -2,6 +2,9 @@ * $Id$ * * $Log$ + * Revision 1.4 1999/06/03 11:46:41 short + * Logging (--log) implemented. + * * Revision 1.3 1999/06/03 10:52:32 short * Commented all the entries in setup.h. * @@ -17,6 +20,7 @@ #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 @@ -32,6 +36,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 */