]>
git.saurik.com Git - apt.git/blob - ftparchive/override.h
1 // -*- mode: cpp; mode: fold -*-
3 // $Id: override.h,v 1.4 2001/06/26 02:50:27 jgg Exp $
4 /* ######################################################################
8 Store the override file.
10 ##################################################################### */
16 #pragma interface "override.h"
35 map
<string
,string
> FieldOverride
;
36 string
SwapMaint(string Orig
,bool &Failed
);
39 map
<string
,Item
> Mapping
;
41 inline Item
*GetItem(string Package
)
43 map
<string
,Item
>::iterator I
= Mapping
.find(Package
);
44 if (I
== Mapping
.end())
49 bool ReadOverride(string File
,bool Source
= false);
50 bool ReadExtraOverride(string File
,bool Source
= false);