Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# chunk.c File Reference

`#include <lib3ds/chunk.h>`
`#include <lib3ds/io.h>`
`#include <lib3ds/chunktable.h>`
`#include <string.h>`
`#include <stdarg.h>`

Include dependency graph for chunk.c:

## Defines
#define | LIB3DS_EXPORT
## Functions
void | lib3ds_chunk_debug_enter (Lib3dsChunk *c)
void | lib3ds_chunk_debug_leave (Lib3dsChunk *c)
void | lib3ds_chunk_debug_dump (Lib3dsChunk *c)
void | lib3ds_chunk_enable_dump (Lib3dsBool enable, Lib3dsBool unknown)
Lib3dsBool | lib3ds_chunk_read (Lib3dsChunk *c, Lib3dsIo *io)
Lib3dsBool | lib3ds_chunk_read_start (Lib3dsChunk *c, Lib3dsWord chunk, Lib3dsIo *io)
void | lib3ds_chunk_read_tell (Lib3dsChunk *c, Lib3dsIo *io)
Lib3dsWord | lib3ds_chunk_read_next (Lib3dsChunk *c, Lib3dsIo *io)
void | lib3ds_chunk_read_reset (Lib3dsChunk *c, Lib3dsIo *io)
void | lib3ds_chunk_read_end (Lib3dsChunk *c, Lib3dsIo *io)
Lib3dsBool | lib3ds_chunk_write (Lib3dsChunk *c, Lib3dsIo *io)
Lib3dsBool | lib3ds_chunk_write_start (Lib3dsChunk *c, Lib3dsIo *io)
Lib3dsBool | lib3ds_chunk_write_end (Lib3dsChunk *c, Lib3dsIo *io)
const char * | lib3ds_chunk_name (Lib3dsWord chunk)
void | lib3ds_chunk_unknown (Lib3dsWord chunk)
void | lib3ds_chunk_dump_info (const char *format,...)
## Variables
Lib3dsBool | enable_dump = LIB3DS_FALSE
Lib3dsBool | enable_unknown = LIB3DS_FALSE
char | lib3ds_chunk_level [128] = ""

## Define Documentation

#define LIB3DS_EXPORT

## Function Documentation

void lib3ds_chunk_debug_dump | ( | Lib3dsChunk * | c | ) | `[static]`

void lib3ds_chunk_debug_enter | ( | Lib3dsChunk * | c | ) | `[static]`

void lib3ds_chunk_debug_leave | ( | Lib3dsChunk * | c | ) | `[static]`

## Variable Documentation

Lib3dsBool enable_dump = LIB3DS_FALSE`[static]`

Lib3dsBool enable_unknown = LIB3DS_FALSE`[static]`

char lib3ds_chunk_level[128] = ""`[static]`