-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfileOperation.h
31 lines (27 loc) · 986 Bytes
/
fileOperation.h
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
28
29
30
31
#define MAX_HB 500
#define MAX_CAT 500
struct homebrew{
char name[262];
char path[262];
char category[262];
struct ScePspDateTime dateModify;
char dateForSort[21];
short int type;
};
struct categories{
char name[262];
char path[262];
struct ScePspDateTime dateModify;
char dateForSort[21];
int repeated;//this stores if a category is repeated for merging it.
};
int getHBList(struct homebrew *HBlist, char *category, int flag);
int moveHBup(int index, struct homebrew *HBlist);
int moveHBdown(int index, struct homebrew *HBlist);
int saveHBlist(struct homebrew *HBlist, int HBcount);
int saveHBlistBM(struct homebrew *HBlist, int HBcount);//For browser mode, modifies eboot.pbp
int getCATList(struct categories *CAT);
int checkCATList(struct categories *CAT, struct categories *CAT_norep);
int moveCATup(int index, struct categories *CATlist);
int moveCATdown(int index, struct categories *CATlist);
int saveCATlist(struct categories *CATlist, int CATcount);