mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 10:48:05 +11:00
11 lines
326 B
C
11 lines
326 B
C
|
#define BLKSIZE 0x100
|
||
|
#define HEADERSIZE 0x20
|
||
|
#define MAX_FN_LEN 25 // 26 - null char
|
||
|
#define MAX_FILE_SIZE (BLKSIZE * 0x100) - HEADERSIZE
|
||
|
|
||
|
void set_spit_stream(FILE *stream);
|
||
|
int is_regular_file(char *path);
|
||
|
void spitempty();
|
||
|
int spitblock(char *fullpath, char *fn);
|
||
|
int spitdir(char *path, char *prefix, char **patterns);
|