-
Notifications
You must be signed in to change notification settings - Fork 0
/
handler_reports.h
45 lines (25 loc) · 1.64 KB
/
handler_reports.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef HANDLER_REPORTS_H
#define HANDLER_REPORTS_H
#include<enums.h>
#include <structures.h>
#include <handler_fs.h>
using namespace std;
void reportTree(char path_report[],char id[]);
Response reportBitmap(int,char[],char[],char[]);
void reportSuperBlock(char[],char[],char[]);
Response reportInodes(char path[], char name[], char path_report[]);
Response reportBlocks(char path[], char name[], char path_report[]);
Response reportFile(char pathFile[],char path[],char partition[],char reportPath[]);
void graphInodo(Inodo*,int,FILE*,char[],SuperBlock*);
void graphBlockDirectory(BlockDirectory *block,int initBlock, FILE *myFile,int indexInodo,SuperBlock *sb,char path[],bool graphConnection);
void graphConnectionInodoBloque(int indexnodo,int indexBloque,int indexPuerto,FILE *myFile);
void graphConnectionBloqueInodo(int indexnodo,int indexBloque,int indexPuerto,FILE *myFile);
void graphConnectionBloqueBLoque(int indexB1,int indexB2,int indexPuerto,FILE *myFile);
void graphBlockFile(BlockFile *block,int initBlock, FILE *myFile,int indexInodo);
Response graphFile(char *text,char *title,char reportPath[]);
void graphBlockPointer(int level,int indexBlock,int indexInodo,FILE *fileReport,char path[],SuperBlock *sb,bool graphConnection,TypeInode type);
Response reportJournal(char path[],char namePart[],char reportPath[]);
Response reportLs(char path[], char name[], char path_report[]);
void graphInodoForLs(Inodo* inodo,FILE *myFile,char path[],char namePart[],SuperBlock *sb,char name[]);
void graphInodoForLsRec(int level,int indexBlock,FILE *fileReport,char path[],char namePart[],SuperBlock *sb,TypeInode type);
#endif // HANDLER_REPORTS_H