Xiqual 0.9.1

In file include/iffparse.h:

typedef struct IFFHandle

Handle returned by iff_new() and iff_open() calls.

[more]FILE* iff
[more]ulong type
FORM type.
[more]ulong id
Identifier, somewhat less strict.
[more]ulong chunksize
Size of current chunk.
[more]ulong prevchunksize
Makes the reader able to scan backwards.
[more]ulong size
Size of the IFF
[more]ulong pos
Position in file.
[more]List chunks
Linked list of chunk context nodes.
[more]char write
Are we in write mode?



Documentation

Handle returned by iff_new() and iff_open() calls. All reading/writing functions need this to see where they are, and to store temporary nodes while building an IFF.
oFILE* iff

oulong type
FORM type. See the IFF85 text for a thorough introduction.

oulong id
Identifier, somewhat less strict. Used by the reading functions. Soon to be replaced.

oulong chunksize
Size of current chunk. Used by the reading functions. Soon to be replaced.

oulong prevchunksize
Makes the reader able to scan backwards. Used by the reading functions. Soon to be replaced.

oulong size
Size of the IFF

oulong pos
Position in file. Usually the result of an ftell().

oList chunks
Linked list of chunk context nodes. Not used by the reader functions yet. The API is more or less locked down, but behind the scenes, there is some inconsistency between reading and writing of IFF. Fixing it soon.

ochar write
Are we in write mode? iff_close() checks this to see if the final filesize needs to be corrected, and if chunks are to be finalised.
Author:
Ronny Bangsund
See Also:
iff_new(), iff_open()

Alphabetic index



This page was generated with the help of DOC++.