File: locks.h

package info (click to toggle)
speaker 1.0.1-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 264 kB
  • ctags: 174
  • sloc: cpp: 1,521; tcl: 786; makefile: 91; sh: 22
file content (18 lines) | stat: -rw-r--r-- 411 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//************************************************************
//  locks.h - source file for creation and removal of port 
//             locks
//************************************************************

class Locks
{
   int PortLocked;
   char*  LockFileName;
  public:
   Locks();
   ~Locks();
   void Init(ConfigInfo* conf);
   int  MakeLockFile();
   int  CheckLockFile();
   void RemoveLockFile();
};