~ubuntu-branches/ubuntu/trusty/apt/trusty

« back to all changes in this revision

Viewing changes to apt-pkg/tagfile.h

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2014-04-01 17:48:58 UTC
  • mfrom: (1.4.87 sid)
  • Revision ID: package-import@ubuntu.com-20140401174858-4mv29mm29zu22fn1
Tags: 1.0.1ubuntu1
merge with the debian/sid 1.0.1 version
(LP: #1302033)

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef PKGLIB_TAGFILE_H
21
21
#define PKGLIB_TAGFILE_H
22
22
 
 
23
#include <apt-pkg/macros.h>
 
24
 
23
25
#include <stdio.h>
24
26
 
25
27
#include <string>
65
67
   unsigned long long FindULL(const char *Tag, unsigned long long const &Default = 0) const;
66
68
   bool FindFlag(const char *Tag,unsigned long &Flags,
67
69
                 unsigned long Flag) const;
68
 
   bool static const FindFlag(unsigned long &Flags, unsigned long Flag,
 
70
   bool static FindFlag(unsigned long &Flags, unsigned long Flag,
69
71
                                const char* Start, const char* Stop);
70
72
   bool Scan(const char *Start,unsigned long MaxLength);
71
73
   inline unsigned long size() const {return Stop - Section;};
93
95
{
94
96
   pkgTagFilePrivate *d;
95
97
 
96
 
   bool Fill();
97
 
   bool Resize();
98
 
   bool Resize(unsigned long long const newSize);
 
98
   APT_HIDDEN bool Fill();
 
99
   APT_HIDDEN bool Resize();
 
100
   APT_HIDDEN bool Resize(unsigned long long const newSize);
99
101
 
100
102
   public:
101
103