1 #include	"dotlock.h"
2 #include	"varlist.h"
3 #include	"buffer.h"
4 #include	"xconfig.h"
5 
6 static const char rcsid[]="$Id: dotlockmaildrop.C,v 1.2 1999/03/31 07:30:03 mrsam Exp $";
7 
GetLockSleep()8 unsigned DotLock::GetLockSleep()
9 {
10 Buffer	b;
11 
12 	b="LOCKSLEEP";
13 
14 	return GetVar(b)->Int(LOCKSLEEP_DEF);
15 }
16 
GetLockTimeout()17 unsigned DotLock::GetLockTimeout()
18 {
19 Buffer	b;
20 
21 	b="LOCKTIMEOUT";
22 	return (GetVar(b)->Int(LOCKTIMEOUT_DEF));
23 }
24 
GetLockRefresh()25 unsigned DotLock::GetLockRefresh()
26 {
27 Buffer	b;
28 
29 	b="LOCKREFRESH";
30 	return (GetVar(b)->Int(LOCKREFRESH_DEF));
31 }
32 
GetLockExt()33 const	char *DotLock::GetLockExt()
34 {
35 Buffer varname;
36 
37 	varname="LOCKEXT";
38 
39 	return (GetVarStr(varname));
40 }
41