libbluray
|
Filesystem interface. More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | BD_FILE_H |
File access. More... | |
struct | BD_DIRENT |
Directory entry. More... | |
struct | BD_DIR_H |
Directory access. More... | |
Typedefs | |
typedef BD_FILE_H *(* | BD_FILE_OPEN) (const char *filename, const char *mode) |
Open a file. More... | |
typedef BD_DIR_H *(* | BD_DIR_OPEN) (const char *dirname) |
Open a directory. More... | |
Functions | |
BD_FILE_OPEN | bd_register_file (BD_FILE_OPEN p) |
Register function pointer that will be used to open a file. More... | |
BD_DIR_OPEN | bd_register_dir (BD_DIR_OPEN p) |
Register function pointer that will be used to open a directory. More... | |
Filesystem interface.
File access wrappers can be used to bind libbluray to external filesystem. Typical use case would be playing BluRay from network filesystem.
typedef BD_DIR_H*(* BD_DIR_OPEN) (const char *dirname) |
Open a directory.
Prototype for a function that returns BD_DIR_H implementation.
dirname | name of the directory to open |
typedef BD_FILE_H*(* BD_FILE_OPEN) (const char *filename, const char *mode) |
Open a file.
Prototype for a function that returns BD_FILE_H implementation.
filename | name of the file to open |
mode | string starting with "r" for reading or "w" for writing |
BD_DIR_OPEN bd_register_dir | ( | BD_DIR_OPEN | p | ) |
Register function pointer that will be used to open a directory.
p | function pointer |
BD_FILE_OPEN bd_register_file | ( | BD_FILE_OPEN | p | ) |
Register function pointer that will be used to open a file.
p | function pointer |