summaryrefslogtreecommitdiff
path: root/include/rvl/DVD/dvdfs.h
blob: 8426071ddc41f84b2370128d5af56afc544c41c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef RVL_SDK_DVD_FS_H
#define RVL_SDK_DVD_FS_H
#include "common.h"
#include "rvl/DVD/dvd.h"
#include "rvl/OS.h" // IWYU pragma: export


#ifdef __cplusplus
extern "C" {
#endif

extern OSThreadQueue __DVDThreadQueue;
extern BOOL __DVDLongFileNameFlag;

void __DVDFSInit(void);
s32 DVDConvertPathToEntrynum(const char *path);
BOOL DVDFastOpen(s32 entrynum, DVDFileInfo *info);
BOOL DVDOpen(const char *path, DVDFileInfo *info);
BOOL DVDClose(DVDFileInfo *info);
BOOL DVDGetCurrentDir(char *buffer, u32 maxlen);
BOOL DVDReadAsyncPrio(DVDFileInfo *info, void *dst, s32 size, s32 offset, DVDAsyncCallback callback, s32 prio);
s32 DVDReadPrio(DVDFileInfo *info, void *dst, s32 size, s32 offset, s32 prio);

#ifdef __cplusplus
}
#endif
#endif