mirror of
https://github.com/ksherlock/profuse.git
synced 2024-12-23 11:31:43 +00:00
bfe481b412
git-svn-id: https://profuse.googlecode.com/svn/trunk@48 aa027e90-d47c-11dd-86d7-074df07e0730
32 lines
498 B
C
32 lines
498 B
C
/*
|
|
* DiskCopy42.h
|
|
* profuse
|
|
*
|
|
* Created by Kelvin Sherlock on 1/4/09.
|
|
*
|
|
*/
|
|
|
|
#ifndef __DISKCOPY42__
|
|
#define __DISKCOPY42__
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
struct DiskCopy42
|
|
{
|
|
bool Load(const uint8_t *buffer);
|
|
static uint32_t CheckSum(uint8_t *buffer, unsigned length);
|
|
|
|
char disk_name[64];
|
|
uint32_t data_size;
|
|
uint32_t tag_size;
|
|
uint32_t data_checksum;
|
|
uint32_t tag_checksum;
|
|
unsigned disk_format;
|
|
unsigned format_byte;
|
|
unsigned private_word;
|
|
};
|
|
|
|
#endif
|
|
|