First alpha release.
[mdsms.git] / setup.h
1 /*
2  * $Id$
3  *
4  * $Log$
5  * Revision 1.1.1.1  1999/05/26 13:06:26  short
6  * First alpha release.
7  *
8  */
9
10 #define CONFIG_MAIN "/etc/" PACKAGE "rc"
11 #define CONFIG_HOME    "/." PACKAGE "rc" /* $HOME is prepended automatically */
12 #define DEF_DEVICE "/dev/mobildock"
13 #ifndef DEF_LOCKFILE
14 #define DEF_LOCKFILE "/var/lock/LCK..%s"
15 #endif
16 #define DEF_CHARTIME 10
17 #define DEF_CMDTIME 500
18 #define MAXCONFIG 4096
19 #define MAXCFGARGS 256
20 #define MAXCFGLOOP 5
21 #define MAXCFGNUM 20
22 #define DEVLOCK_PERIOD 2 /* sec between attempts to obtain a lockfile */
23 #define DEVLOCK_MAXEMPTY 1
24 #define MAXSENDTIME 2
25 #define ADDR_NAT 0x81
26 #define ADDR_INT 0x91
27 #define PDU_TYPE 0x11
28 #define PDU_MR   0x00
29 #define PDU_PID  0x00
30 #define PDU_DCS  0x00
31 #define PDU_VP   0xFF
32 #define MAXNUMLEN 20
33 #define MAXBODYLEN 160
34 #define BODYLOAD 200
35 #define ERROR_SUBSTR1 "ERROR"
36 #define ERROR_SUBSTR2 "\nError:"