diff options
author | Daniel Brahneborg <basic@chello.se> | 2002-03-04 14:31:16 +0000 |
---|---|---|
committer | Daniel Brahneborg <basic@chello.se> | 2002-03-04 14:31:16 +0000 |
commit | dbfc3ee2b91ed26eb00e85a32c715995f4fce41b (patch) | |
tree | 82605dba9b7a1d14c3e952af32bef2852d60703b /lib/sisfilerecord.h | |
parent | b68ab4b0002aa0c59fdbbfee3076e35aeac44d68 (diff) | |
download | plptools-dbfc3ee2b91ed26eb00e85a32c715995f4fce41b.tar.gz plptools-dbfc3ee2b91ed26eb00e85a32c715995f4fce41b.tar.bz2 plptools-dbfc3ee2b91ed26eb00e85a32c715995f4fce41b.zip |
Use plp standard types.
Fix copyright include.
Diffstat (limited to 'lib/sisfilerecord.h')
-rw-r--r-- | lib/sisfilerecord.h | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/lib/sisfilerecord.h b/lib/sisfilerecord.h index ae99836..0f6526b 100644 --- a/lib/sisfilerecord.h +++ b/lib/sisfilerecord.h @@ -1,4 +1,4 @@ -/** -*-c++-*- +/* -*-c++-*- * $Id$ * * This file is part of plptools. @@ -25,8 +25,6 @@ #include "sistypes.h" -#include <sys/types.h> - class SISFile; /** @@ -42,12 +40,12 @@ public: /** * Populate the fields. */ - SisRC fillFrom(uchar* buf, int* base, off_t len, SISFile* sisFile); + SisRC fillFrom(uint8_t* buf, int* base, off_t len, SISFile* sisFile); /** * 1 if multiple language versions, otherwise 0. */ - uint32 m_flags; + uint32_t m_flags; /** * Type of file. @@ -59,7 +57,7 @@ public: * - 4. Does not exist yet, but will be created when app is run, so * it should not be removed during an upgrade. */ - uint32 m_fileType; + uint32_t m_fileType; /** * If file type is 1: @@ -74,14 +72,14 @@ public: * - 1. Run during removal. * - 2. Run during both installation and removal. */ - uint32 m_fileDetails; + uint32_t m_fileDetails; - uint32 m_sourceLength; - uint32 m_sourcePtr; - uint32 m_destLength; - uint32 m_destPtr; - uint32* m_fileLengths; - uint32* m_filePtrs; + uint32_t m_sourceLength; + uint32_t m_sourcePtr; + uint32_t m_destLength; + uint32_t m_destPtr; + uint32_t* m_fileLengths; + uint32_t* m_filePtrs; }; #endif |