3 #if !defined(FILE_H_INCLUDED) 4 #define FILE_H_INCLUDED 1 33 #endif // !defined(FILE_H_INCLUDED) void File__flush(File file)
Flushes file content out of internal buffers.
void File__close(File file)
Closes file.
FILE * File
FILE is a file I/O object.
int File__integer_attribute_read(File in_file, String_Const attribute_name)
Reads in an XML attribute with a integer value.
unsigned int File__byte_read(File file)
Read a byte from file.
int File__character_read(File in_file)
Return the next character read from in_file.
void File__format(File file, String_Const format,...)
will write format out to file with all patterns that start with "%" replaced by formatted versions of...
double File__double_attribute_read(File in_file, String_Const attribute_name)
Reads in an XML attribute with a floating point value.
float File__float_attribute_read(File in_file, String_Const attribute_name)
Reads in an XML attribute with a floating point value.
void File__little_endian_short_write(File, unsigned int xshort)
Write 16-bit xshort to file in little endian format.
void File__tag_match(File in_file, String_Const tag_name)
Matchs and "XML" start tag.
unsigned int File__little_endian_short_read(File)
Read a little endian short (16-bits) from file.
void File__byte_write(File file, unsigned int byte)
Write byte ot file.
const char * String_Const
File File__open(String_Const file_name, String_Const flags)
will open file_name using flags to specify read/write options.
void File__string_match(File in_file, String_Const pattern)
Exactly matches pattern read from in_file.