16 lines
413 B
C
16 lines
413 B
C
#ifndef OS_H
|
|
#define OS_H
|
|
|
|
// Declare the global reload_path so that it can be used in other files.
|
|
extern char reload_path[256];
|
|
|
|
// Declaration for the nested OS shell.
|
|
void run_os(void);
|
|
|
|
// Functions to save and load the OS state (the in-memory file system).
|
|
// The state is saved in a custom file type (".osstate").
|
|
int save_state(const char *filename);
|
|
int load_state(const char *filename);
|
|
|
|
#endif // OS_H
|