summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/mmap.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:54:19 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:54:19 +0000
commit349cd3b8dbb1e218b31443be55933b01042c4acf (patch)
tree756c95331ad46dd0609f966a260e87ecf4519b28 /apt-pkg/contrib/mmap.h
parent1089ca897591b5b493b0085d37bec18017614bdd (diff)
Added a depends option to apt-cache
Author: jgg Date: 1999-07-15 03:15:48 GMT Added a depends option to apt-cache
Diffstat (limited to 'apt-pkg/contrib/mmap.h')
-rw-r--r--apt-pkg/contrib/mmap.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/apt-pkg/contrib/mmap.h b/apt-pkg/contrib/mmap.h
index 0c11d3202..d086e51ab 100644
--- a/apt-pkg/contrib/mmap.h
+++ b/apt-pkg/contrib/mmap.h
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: mmap.h,v 1.9 1999/04/18 06:36:36 jgg Exp $
+// $Id: mmap.h,v 1.10 1999/07/15 03:15:49 jgg Exp $
/* ######################################################################
MMap Class - Provides 'real' mmap or a faked mmap using read().
@@ -32,6 +32,11 @@
#include <string>
#include <apt-pkg/fileutl.h>
+/* This should be a 32 bit type, larger tyes use too much ram and smaller
+ types are too small. Where ever possible 'unsigned long' should be used
+ instead of this internal type */
+typedef unsigned int map_ptrloc;
+
class MMap
{
protected: