Sha256: 4e79ab355b0ce6466d8cd73ca899f6abadc1a4f94cecba640708e8bbdc0a7ae2

Contents?: true

Size: 1.56 KB

Versions: 3

Compression:

Stored size: 1.56 KB

Contents

/* This file is part of libmspack.
 * © 2013 Intel Corporation
 *
 * libmspack is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License (LGPL) version 2.1
 *
 * For further details, see the file COPYING.LIB distributed with libmspack
 */

#ifndef MSPACK_OAB_H
#define MSPACK_OAB_H 1

#include <system.h>

/* generic OAB definitions */

/* OAB compression definitions */

struct msoab_compressor_p {
  struct msoab_compressor base;
  struct mspack_system *system;
  /* todo */
};

/* OAB decompression definitions */

struct msoab_decompressor_p {
  struct msoab_decompressor base;
  struct mspack_system *system;
  int buf_size;
  /* todo */
};

#define oabhead_VersionHi    (0x0000)
#define oabhead_VersionLo    (0x0004)
#define oabhead_BlockMax     (0x0008)
#define oabhead_TargetSize   (0x000c)
#define oabhead_SIZEOF       (0x0010)

#define oabblk_Flags         (0x0000)
#define oabblk_CompSize      (0x0004)
#define oabblk_UncompSize    (0x0008)
#define oabblk_CRC           (0x000c)
#define oabblk_SIZEOF        (0x0010)

#define patchhead_VersionHi  (0x0000)
#define patchhead_VersionLo  (0x0004)
#define patchhead_BlockMax   (0x0008)
#define patchhead_SourceSize (0x000c)
#define patchhead_TargetSize (0x0010)
#define patchhead_SourceCRC  (0x0014)
#define patchhead_TargetCRC  (0x0018)
#define patchhead_SIZEOF     (0x001c)

#define patchblk_PatchSize   (0x0000)
#define patchblk_TargetSize  (0x0004)
#define patchblk_SourceSize  (0x0008)
#define patchblk_CRC         (0x000c)
#define patchblk_SIZEOF      (0x0010)

#endif

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
libmspack-0.11.0 ext/libmspack/mspack/oab.h
libmspack-0.10.1.2 ext/libmspack/mspack/oab.h
libmspack-0.10.1 ext/libmspack/mspack/oab.h