#define DEBUG /* Activate self-sanity checks */
-#include <linux/ext2_fs.h> /* Main kernel ext2 include file */
+#include <ext2fs/ext2_fs.h> /* Main kernel ext2 include file */
#include <sys/stat.h>
#include <ncurses.h>
#define MAX_COMMANDS_NUM 30 /* Maximum number of commands of one type */
#define REMEMBER_COUNT 30 /* Object memory size */
-/*
+/*
The user screen consists of four parts:
1. Title window (title_win).
2. Show (status) window (show_win).
3. Main show pad (show_pad).
4. Command window (command_win).
-
+
*/
/*
struct struct_file_info { /* Used to handle files and directories */
struct ext2_inode *inode_ptr;
-
+
long inode_offset;
long global_block_num,global_block_offset;
long block_num,blocks_count;
int display;
/* The following is used if the file is a directory */
-
+
long dir_entry_num,dir_entries_count;
long dir_entry_offset;
};