102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
dttr_iso.h
Go to the documentation of this file.
1#ifndef DTTR_ISO_H
2#define DTTR_ISO_H
3
4#include <stdbool.h>
5#include <stddef.h>
6
7#define DTTR_ISO_MAX_PATH 260
8
9typedef struct {
10 bool open;
13
15 const char *cache_root,
16 const char *iso_relative_path,
17 char *out_path,
18 size_t out_path_size
19);
20bool DTTR_ISO_Open(DTTR_IsoImage *iso, const char *iso_path);
22 DTTR_IsoImage *iso,
23 const char *iso_relative_path,
24 const char *cache_root,
25 char *out_path,
26 size_t out_path_size
27);
29 DTTR_IsoImage *iso,
30 const char *iso_relative_path,
31 const char *cache_root
32);
33const char *DTTR_ISO_LastError();
35
36#endif // DTTR_ISO_H
#define DTTR_ISO_MAX_PATH
Definition dttr_iso.h:7
bool DTTR_ISO_CachePathForFile(const char *cache_root, const char *iso_relative_path, char *out_path, size_t out_path_size)
Definition iso.c:96
bool DTTR_ISO_ExtractFile(DTTR_IsoImage *iso, const char *iso_relative_path, const char *cache_root, char *out_path, size_t out_path_size)
Definition iso.c:411
void DTTR_ISO_Close(DTTR_IsoImage *iso)
Definition iso.c:593
bool DTTR_ISO_Open(DTTR_IsoImage *iso, const char *iso_path)
Definition iso.c:185
bool DTTR_ISO_ExtractTree(DTTR_IsoImage *iso, const char *iso_relative_path, const char *cache_root)
Definition iso.c:560
const char * DTTR_ISO_LastError()
Definition iso.c:44
char iso_path[DTTR_ISO_MAX_PATH]
Definition dttr_iso.h:11