head 1.1; branch 1.1.1; access ; symbols start:1.1.1.1 PAlibDoc:1.1.1; locks ; strict; comment @# @; 1.1 date 2005.11.02.08.30.25; author jandujar; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2005.11.02.08.30.25; author jandujar; state Exp; branches ; next ; desc @@ 1.1 log @Initial revision @ text @ PA_lib: GBFS wrapper

GBFS wrapper


Functions

u32 PA_InitGBFS (void)
 Initialises GBFS and collects info on the files. Returns the number of files found... Stores the file infos in the following form : PA_GBFSfile[file number].File is a pointer towards the file, .Name is the file name without the extension, .Ext si the file extension (txt, html, etc...), and .Length is the file length.
s32 PA_GetGBFSFile (s16 start, char *name, char *extension)
 Search in GBFS for a given file. Returns the number of the file in the PA GBFS system, or -1 if no file was found
s16 PA_GBFSSearchExt (s16 *array, char *extension)
 Puts the number of all the GBFS files with a given extension in the array, and returns the number of files found

Detailed Description

Easily use GBFS...

Function Documentation

s16 PA_GBFSSearchExt s16 *  array,
char *  extension
 

Puts the number of all the GBFS files with a given extension in the array, and returns the number of files found

Parameters:
array Array in which to store the GBFS file positions
extension Extension to search, such as "txt"

inline s32 PA_GetGBFSFile s16  start,
char *  name,
char *  extension
[inline]
 

Search in GBFS for a given file. Returns the number of the file in the PA GBFS system, or -1 if no file was found

Parameters:
start From which file to start the search, usualy 0... Can be useful if you are searching all the files with a given extension
name File name, without the extension. Putting "" as a file name should search all the files with the given extension
extension File extension (ex : txt). Putting "" should search all the files with the given name


Generated on Fri Oct 28 23:16:51 2005 for PA_lib by  doxygen 1.3.9.1
@ 1.1.1.1 log @Initial import of PalibDoc, begin on PAlib0.64b @ text @@