8#ifndef ULTRALIGHT_CAPI_FILESYSTEM_H
9#define ULTRALIGHT_CAPI_FILESYSTEM_H
struct C_String * ULString
Definition CAPI_Defines.h:54
struct C_Buffer * ULBuffer
Definition CAPI_Defines.h:55
ULBuffer(* ULFileSystemOpenFileCallback)(ULString path)
Open file for reading and map it to a Buffer.
Definition CAPI_FileSystem.h:58
bool(* ULFileSystemFileExistsCallback)(ULString path)
The callback invoked when the FileSystem wants to check if a file path exists, return true if it exis...
Definition CAPI_FileSystem.h:25
ULString(* ULFileSystemGetFileMimeTypeCallback)(ULString path)
Get the mime-type of the file (eg "text/html").
Definition CAPI_FileSystem.h:36
ULString(* ULFileSystemGetFileCharsetCallback)(ULString path)
Get the charset / encoding of the file (eg "utf-8").
Definition CAPI_FileSystem.h:48
Definition CAPI_FileSystem.h:60
ULFileSystemOpenFileCallback open_file
Definition CAPI_FileSystem.h:64
ULFileSystemGetFileMimeTypeCallback get_file_mime_type
Definition CAPI_FileSystem.h:62
ULFileSystemFileExistsCallback file_exists
Definition CAPI_FileSystem.h:61
ULFileSystemGetFileCharsetCallback get_file_charset
Definition CAPI_FileSystem.h:63