Needs Unpack fixes
[ntk/apt.git] / apt-pkg / deb / dpkginit.h
CommitLineData
d38b7b3d
AL
1// -*- mode: cpp; mode: fold -*-
2// Description /*{{{*/
3// $Id: dpkginit.h,v 1.1 1998/11/23 07:03:11 jgg Exp $
4/* ######################################################################
5
6 DPKG init - Initialize the dpkg stuff
7
8 This basically gets a lock in /var/lib/dpkg and checks the updates
9 directory
10
11 ##################################################################### */
12 /*}}}*/
13#ifndef PKGLIB_DPKGINIT_H
14#define PKGLIB_DPKGINIT_H
15
16#ifdef __GNUG__
17#pragma interface "apt-pkg/dpkginit.h"
18#endif
19
20class pkgDpkgLock
21{
22 int LockFD;
23
24 public:
25
26 bool GetLock();
27 void Close();
28
29 pkgDpkgLock();
30 ~pkgDpkgLock();
31};
32
33#endif