TGA_Callbacks Struct Reference

#include <tga.h>

List of all members.

Detailed Description

The function prototypes for the callbacks are basically the same as for the stdio functions fread, fseek, ftell. The one difference is that the FILE * arguments have been replaced with a void * - this is to be used as a pointer to whatever internal data these functions might need. In the stdio case, it's just a FILE * cast to a void *.

Public Attributes

int(* seek_func )(void *source, long offset, int whence)
long(* tell_func )(void *source)
size_t(* read_func )(void *buffer, size_t size, size_t count, void *source)
size_t(* write_func )(const void *buffer, size_t size, size_t count, void *source)

Member Data Documentation

int(* TGA_Callbacks::seek_func)(void *source, long offset, int whence)

long(* TGA_Callbacks::tell_func)(void *source)

size_t(* TGA_Callbacks::read_func)(void *buffer, size_t size, size_t count, void *source)

size_t(* TGA_Callbacks::write_func)(const void *buffer, size_t size, size_t count, void *source)

The documentation for this struct was generated from the following file:
Generated on Sat Oct 20 14:47:36 2007 for Dark Oberon by  doxygen 1.5.3