summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/dpkginit.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:56:32 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:56:32 +0000
commitb2e465d6d32d2dc884f58b94acb7e35f671a87fe (patch)
tree5928383b9bde7b0ba9812e6526ad746466e558f7 /apt-pkg/deb/dpkginit.h
parent00b47c98ca4a4349686a082eba6d77decbb03a4d (diff)
Join with aliencode
Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode
Diffstat (limited to 'apt-pkg/deb/dpkginit.h')
-rw-r--r--apt-pkg/deb/dpkginit.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/apt-pkg/deb/dpkginit.h b/apt-pkg/deb/dpkginit.h
deleted file mode 100644
index 532ff6236..000000000
--- a/apt-pkg/deb/dpkginit.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// -*- mode: cpp; mode: fold -*-
-// Description /*{{{*/
-// $Id: dpkginit.h,v 1.2 1999/07/26 17:46:08 jgg Exp $
-/* ######################################################################
-
- DPKG init - Initialize the dpkg stuff
-
- This basically gets a lock in /var/lib/dpkg and checks the updates
- directory
-
- ##################################################################### */
- /*}}}*/
-#ifndef PKGLIB_DPKGINIT_H
-#define PKGLIB_DPKGINIT_H
-
-#ifdef __GNUG__
-#pragma interface "apt-pkg/dpkginit.h"
-#endif
-
-class pkgDpkgLock
-{
- int LockFD;
-
- public:
-
- bool CheckUpdates();
- bool GetLock(bool WithUpdates);
- void Close();
-
- pkgDpkgLock(bool WithUpdates = true);
- ~pkgDpkgLock();
-};
-
-#endif