debrecords.h 992 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // -*- mode: cpp; mode: fold -*-
  2. // Description /*{{{*/
  3. // $Id: debrecords.h,v 1.1 1998/08/09 00:51:36 jgg Exp $
  4. /* ######################################################################
  5. Debian Package Records - Parser for debian package records
  6. This provides display-type parsing for the Packages file. This is
  7. different than the the list parser which provides cache generation
  8. services. There should be no overlap between these two.
  9. ##################################################################### */
  10. /*}}}*/
  11. // Header section: pkglib
  12. #ifndef PKGLIB_DEBRECORDS_H
  13. #define PKGLIB_DEBRECORDS_H
  14. #ifdef __GNUG__
  15. #pragma interface "apt-pkg/debrecords.h"
  16. #endif
  17. #include <apt-pkg/pkgrecords.h>
  18. #include <apt-pkg/tagfile.h>
  19. class debRecordParser : public pkgRecords::Parser
  20. {
  21. pkgTagFile Tags;
  22. pkgTagSection Section;
  23. public:
  24. virtual bool Jump(pkgCache::VerFileIterator &Ver);
  25. debRecordParser(FileFd &File);
  26. };
  27. #endif