1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-11-09 21:51:48 +00:00
TegraExplorer/source/meme/utils.h
2019-08-20 19:39:30 +02:00

20 lines
No EOL
727 B
C

#pragma once
#define OPTION1 (1 << 0)
#define OPTION2 (1 << 1)
#define OPTION3 (1 << 2)
#define OPTION4 (1 << 3)
#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, int print);
void addchartoarray(char *add, char *items[], int spot);
int copywithpath(const char *src, const char *dstpath, int mode, char *app);
void return_readable_byte_amounts(unsigned long int size, char *in);
int getfilesize(const char *path);
int dumptosd(const char *path);
void mallocandaddfolderbit(unsigned int *muhbits, int spot, bool value);