SDL 3.0
SDL_StorageInterface Struct Reference

#include <SDL_storage.h>

Data Fields

int(* close )(void *userdata)
 
SDL_bool(* ready )(void *userdata)
 
int(* enumerate )(void *userdata, const char *path, SDL_EnumerateDirectoryCallback callback, void *callback_userdata)
 
int(* info )(void *userdata, const char *path, SDL_PathInfo *info)
 
int(* read_file )(void *userdata, const char *path, void *destination, Uint64 length)
 
int(* write_file )(void *userdata, const char *path, const void *source, Uint64 length)
 
int(* mkdir )(void *userdata, const char *path)
 
int(* remove )(void *userdata, const char *path)
 
int(* rename )(void *userdata, const char *oldpath, const char *newpath)
 
Uint64(* space_remaining )(void *userdata)
 

Detailed Description

Definition at line 44 of file SDL_storage.h.

Field Documentation

◆ close

int(* SDL_StorageInterface::close) (void *userdata)

Definition at line 47 of file SDL_storage.h.

◆ enumerate

int(* SDL_StorageInterface::enumerate) (void *userdata, const char *path, SDL_EnumerateDirectoryCallback callback, void *callback_userdata)

Definition at line 53 of file SDL_storage.h.

◆ info

int(* SDL_StorageInterface::info) (void *userdata, const char *path, SDL_PathInfo *info)

Definition at line 56 of file SDL_storage.h.

◆ mkdir

int(* SDL_StorageInterface::mkdir) (void *userdata, const char *path)

Definition at line 65 of file SDL_storage.h.

◆ read_file

int(* SDL_StorageInterface::read_file) (void *userdata, const char *path, void *destination, Uint64 length)

Definition at line 59 of file SDL_storage.h.

◆ ready

SDL_bool(* SDL_StorageInterface::ready) (void *userdata)

Definition at line 50 of file SDL_storage.h.

◆ remove

int(* SDL_StorageInterface::remove) (void *userdata, const char *path)

Definition at line 68 of file SDL_storage.h.

◆ rename

int(* SDL_StorageInterface::rename) (void *userdata, const char *oldpath, const char *newpath)

Definition at line 71 of file SDL_storage.h.

◆ space_remaining

Uint64(* SDL_StorageInterface::space_remaining) (void *userdata)

Definition at line 74 of file SDL_storage.h.

◆ write_file

int(* SDL_StorageInterface::write_file) (void *userdata, const char *path, const void *source, Uint64 length)

Definition at line 62 of file SDL_storage.h.


The documentation for this struct was generated from the following file: