GLUS
Functions
glus_file_binary.h File Reference

Go to the source code of this file.

Functions

GLUSAPI GLUSboolean GLUSAPIENTRY glusFileLoadBinary (const GLUSchar *filename, GLUSbinaryfile *binaryfile)
 Loads a binary file. More...
 
GLUSAPI GLUSboolean GLUSAPIENTRY glusFileSaveBinary (const GLUSchar *filename, const GLUSbinaryfile *binaryfile)
 Saves a binary file. More...
 
GLUSAPI GLUSvoid GLUSAPIENTRY glusFileDestroyBinary (GLUSbinaryfile *binaryfile)
 Destroys the content of a binary structure. More...
 

Function Documentation

GLUSAPI GLUSvoid GLUSAPIENTRY glusFileDestroyBinary ( GLUSbinaryfile binaryfile)

Destroys the content of a binary structure.

Has to be called for freeing the resources.

Parameters
binaryfileThe binary file structure.
GLUSAPI GLUSboolean GLUSAPIENTRY glusFileLoadBinary ( const GLUSchar filename,
GLUSbinaryfile binaryfile 
)

Loads a binary file.

Parameters
filenameThe name of the file to load.
binaryfileThe structure to fill the binary data.
Returns
GLUS_TRUE, if loading succeeded.
GLUSAPI GLUSboolean GLUSAPIENTRY glusFileSaveBinary ( const GLUSchar filename,
const GLUSbinaryfile binaryfile 
)

Saves a binary file.

Parameters
filenameThe name of the file to save.
binaryfileThe structure with the binary data.
Returns
GLUS_TRUE, if saving succeeded.