StringItem *StringItemP;
char *StrP;
- virtual bool ReMap();
+ virtual bool ReMap(bool const &Errorchecks = true);
inline bool Sync() {return Map.Sync();};
inline MMap &GetMap() {return Map;};
inline void *DataEnd() {return ((unsigned char *)Map.Data()) + Map.Size();};
If any of the size values do not exactly match what the client expects
then the client should refuse the load the file. */
unsigned short HeaderSz;
+ unsigned short GroupSz;
unsigned short PackageSz;
unsigned short PackageFileSz;
unsigned short VersionSz;
map_ptrloc Name; // StringItem
// Linked List
- /** Link to the first package which belongs to the group */
+ /** \brief Link to the first package which belongs to the group */
map_ptrloc FirstPackage; // Package
- /** Link to the last package which belongs to the group */
+ /** \brief Link to the last package which belongs to the group */
map_ptrloc LastPackage; // Package
- /** Link to the next Group */
+ /** \brief Link to the next Group */
map_ptrloc Next; // Group
+ /** \brief unique sequel ID */
+ unsigned int ID;
+
};
/*}}}*/
// Package structure /*{{{*/
/** \brief archive size for this version
For Debian this is the size of the .deb file. */
- map_ptrloc Size; // These are the .deb size
+ unsigned long long Size; // These are the .deb size
/** \brief uncompressed size for this version */
- map_ptrloc InstalledSize;
+ unsigned long long InstalledSize;
/** \brief characteristic value representing this version
No two packages in existence should have the same VerStr