]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgrecords.h
You can't just assume the start is always zero :/.
[apt.git] / apt-pkg / pkgrecords.h
index a151fa12335f6827b18f9b3b1897f33afebd0285..b5eec305e388ba8f5d0c27647405e8de84de45ee 100644 (file)
@@ -101,6 +101,9 @@ class pkgRecords::Parser                                            /*{{{*/
    // The record in binary form
    virtual void GetRec(const char *&Start,const char *&Stop) {Start = Stop = 0;};
 
+   // Locate a tag
+   virtual bool Find(const char *Tag,const char *&Start, const char *&End) {Start = End = 0; return false;};
+
    Parser();
    virtual ~Parser();