1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-11-10 06:02:01 +00:00
TegraExplorer/source/meme/utils.h

18 lines
611 B
C
Raw Normal View History

#pragma once
2019-08-14 23:57:07 +01:00
#define OPTION1 (1 << 0)
#define OPTION2 (1 << 1)
#define OPTION3 (1 << 2)
#define OPTION4 (1 << 3)
2019-08-16 20:40:04 +01:00
#define PATHSIZE 512
void utils_gfx_init();
void removepartpath(char *path, char *root);
void addpartpath(char *path, char *add, char *root);
int readfolder(char *items[], unsigned int *muhbits, const char *path);
int copy(const char *src, const char *dst);
void addchartoarray(char *add, char *items[], int spot);
int copywithpath(const char *src, const char *dstpath, int mode, char *app);
2019-08-17 00:08:00 +01:00
void return_readable_byte_amounts(unsigned long int size, char *in);
2019-08-16 20:40:04 +01:00
int getfilesize(const char *path);