summaryrefslogtreecommitdiffstats
path: root/nebu/include/filesystem/nebu_filesystem.h
blob: cd6375a41df4548a174077092ac4031e9e2ed59b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef NEBU_FILE_SYSTEM_H
#define NEBU_FILESYSTEM_H

#include "base/nebu_types.h"
#include "filesystem/nebu_file_io.h"

#include <stdio.h>
#include <stdlib.h>

extern void initFilesystem(int argc, char *argv[]);

extern List* readDirectoryContents(const char *dirname, const char *prefix);

/* findpath.c, GPL'd code */
extern void goto_installpath(const char *executable);

extern void dirSetup(const char *executable);
extern int fileExists(const char *path);
extern void makeDirectory(const char* name);

#endif