Public Attributes

sp_file_hdr_s Struct Reference

File header format. If compression is 0, then disksize may be 0 to mean that only the imagesize is needed. More...

#include <public/sourcepawn/sp_file_headers.h>

List of all members.

Public Attributes

uint32_t magic
uint16_t version
uint8_t compression
uint32_t disksize
uint32_t imagesize
uint8_t sections
uint32_t stringtab
uint32_t dataoffs

Detailed Description

File header format. If compression is 0, then disksize may be 0 to mean that only the imagesize is needed.

Definition at line 87 of file sp_file_headers.h.


Member Data Documentation

Magic number

Definition at line 89 of file sp_file_headers.h.

Version code

Definition at line 90 of file sp_file_headers.h.

Compression algorithm

Definition at line 91 of file sp_file_headers.h.

Size on disk

Definition at line 92 of file sp_file_headers.h.

Size in memory

Definition at line 93 of file sp_file_headers.h.

Number of sections

Definition at line 94 of file sp_file_headers.h.

Offset to string table

Definition at line 95 of file sp_file_headers.h.

Offset to file proper (any compression starts here)

Definition at line 96 of file sp_file_headers.h.


The documentation for this struct was generated from the following file: