00001 00019 #ifndef UTIL_H_ 00020 #define UTIL_H_ 00021 00022 /* 00023 * codifica azioni possibili per le funzioni 'parsing' e 'find' 00024 */ 00025 #define LS 0x00 00026 #define MKDIR 0x01 00027 #define MKFILE 0x02 00028 #define WRFILE 0x03 00029 #define RDFILE 0x04 00032 typedef unsigned int Action; 00033 00074 int parsing(FILE *fs, struct fat_ctrl *f_ctrl, char *path, Action azione); 00075 00116 int find(FILE *fs, struct fat_ctrl *f_ctrl, char *path, Action azione); 00117 00118 #endif /*UTIL_H_*/