Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs
gdiff.h File Reference
#include "prio.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _diffdata

Defines

#define GDIFF_MAGIC   "\xD1\xFF\xD1\xFF"
#define GDIFF_MAGIC_LEN   4
#define GDIFF_VER   5
#define GDIFF_EOF   "\0"
#define GDIFF_VER_POS   4
#define GDIFF_CS_POS   5
#define GDIFF_CSLEN_POS   6
#define GDIFF_HEADERSIZE   7
#define GDIFF_APPDATALEN   4
#define GDIFF_CS_NONE   0
#define GDIFF_CS_MD5   1
#define GDIFF_CS_SHA   2
#define GDIFF_CS_CRC32   32
#define CRC32_LEN   4
#define ENDDIFF   0
#define ADD8MAX   246
#define ADD16   247
#define ADD32   248
#define COPY16BYTE   249
#define COPY16SHORT   250
#define COPY16LONG   251
#define COPY32BYTE   252
#define COPY32SHORT   253
#define COPY32LONG   254
#define COPY64   255
#define ADD16SIZE   2
#define ADD32SIZE   4
#define COPY16BYTESIZE   3
#define COPY16SHORTSIZE   4
#define COPY16LONGSIZE   6
#define COPY32BYTESIZE   5
#define COPY32SHORTSIZE   6
#define COPY32LONGSIZE   8
#define COPY64SIZE   12
#define GDIFF_OK   0
#define GDIFF_ERR_UNKNOWN   -1
#define GDIFF_ERR_ARGS   -2
#define GDIFF_ERR_ACCESS   -3
#define GDIFF_ERR_MEM   -4
#define GDIFF_ERR_HEADER   -5
#define GDIFF_ERR_BADDIFF   -6
#define GDIFF_ERR_OPCODE   -7
#define GDIFF_ERR_OLDFILE   -8
#define GDIFF_ERR_CHKSUMTYPE   -9
#define GDIFF_ERR_CHECKSUM   -10
#define GDIFF_ERR_CHECKSUM_TARGET   -11
#define GDIFF_ERR_CHECKSUM_RESULT   -12
#define APPFLAG_W32BOUND   "autoinstall:Win32PE"
#define APPFLAG_APPLESINGLE   "autoinstall:AppleSingle"
#define TRUE   1
#define FALSE   0

Typedefs

typedef unsigned char uchar
typedef struct _diffdata DIFFDATA
typedef DIFFDATApDIFFDATA

Class Documentation

struct _diffdata

Definition at line 121 of file gdiff.h.

Collaboration diagram for _diffdata:
Class Members
PRBool bMacAppleSingle
uint32 bufsize
PRBool bWin32BoundImage
uint8 checksumLength
uint8 checksumType
uchar * databuf
PRFileDesc * fDiff
PRFileDesc * fOut
PRFileDesc * fSrc
uchar * newChecksum
uchar * oldChecksum

Define Documentation

#define ADD16   247

Definition at line 70 of file gdiff.h.

#define ADD16SIZE   2

Definition at line 81 of file gdiff.h.

#define ADD32   248

Definition at line 71 of file gdiff.h.

#define ADD32SIZE   4

Definition at line 82 of file gdiff.h.

#define ADD8MAX   246

Definition at line 69 of file gdiff.h.

#define APPFLAG_APPLESINGLE   "autoinstall:AppleSingle"

Definition at line 143 of file gdiff.h.

#define APPFLAG_W32BOUND   "autoinstall:Win32PE"

Definition at line 142 of file gdiff.h.

#define COPY16BYTE   249

Definition at line 72 of file gdiff.h.

Definition at line 83 of file gdiff.h.

#define COPY16LONG   251

Definition at line 74 of file gdiff.h.

Definition at line 85 of file gdiff.h.

#define COPY16SHORT   250

Definition at line 73 of file gdiff.h.

Definition at line 84 of file gdiff.h.

#define COPY32BYTE   252

Definition at line 75 of file gdiff.h.

Definition at line 86 of file gdiff.h.

#define COPY32LONG   254

Definition at line 77 of file gdiff.h.

Definition at line 88 of file gdiff.h.

#define COPY32SHORT   253

Definition at line 76 of file gdiff.h.

Definition at line 87 of file gdiff.h.

#define COPY64   255

Definition at line 78 of file gdiff.h.

#define COPY64SIZE   12

Definition at line 89 of file gdiff.h.

#define CRC32_LEN   4

Definition at line 63 of file gdiff.h.

#define ENDDIFF   0

Definition at line 68 of file gdiff.h.

#define FALSE   0

Definition at line 150 of file gdiff.h.

Definition at line 56 of file gdiff.h.

Definition at line 61 of file gdiff.h.

Definition at line 59 of file gdiff.h.

Definition at line 58 of file gdiff.h.

Definition at line 52 of file gdiff.h.

Definition at line 60 of file gdiff.h.

Definition at line 53 of file gdiff.h.

#define GDIFF_EOF   "\0"

Definition at line 49 of file gdiff.h.

Definition at line 98 of file gdiff.h.

Definition at line 97 of file gdiff.h.

Definition at line 101 of file gdiff.h.

Definition at line 105 of file gdiff.h.

Definition at line 107 of file gdiff.h.

Definition at line 106 of file gdiff.h.

Definition at line 104 of file gdiff.h.

Definition at line 100 of file gdiff.h.

Definition at line 99 of file gdiff.h.

Definition at line 103 of file gdiff.h.

Definition at line 102 of file gdiff.h.

Definition at line 96 of file gdiff.h.

Definition at line 55 of file gdiff.h.

#define GDIFF_MAGIC   "\xD1\xFF\xD1\xFF"

Definition at line 46 of file gdiff.h.

Definition at line 47 of file gdiff.h.

#define GDIFF_OK   0

Definition at line 95 of file gdiff.h.

#define GDIFF_VER   5

Definition at line 48 of file gdiff.h.

Definition at line 51 of file gdiff.h.

#define TRUE   1

Definition at line 146 of file gdiff.h.


Typedef Documentation

typedef struct _diffdata DIFFDATA
typedef DIFFDATA* pDIFFDATA

Definition at line 135 of file gdiff.h.

typedef unsigned char uchar

Definition at line 117 of file gdiff.h.