remove unnecessary values for enum

struct for saving last used cluster

2003/10/29 10:25:42+00:00 flatcap.org!ntfs
display cluster info about a file / inode

(Logical change 1.299)
edge.strict_endians
flatcap.org!ntfs 2004-03-06 17:42:28 +00:00
parent 3a6065e753
commit 0e41f6aab1
1 changed files with 19 additions and 6 deletions

View File

@ -25,14 +25,17 @@
#define _NTFSCLUSTER_H_
#include "types.h"
#include "layout.h"
enum action {
act_none = 1,
act_info = 2,
act_cluster = 3,
act_sector = 4,
act_last = 5,
act_error = 6,
act_none,
act_info,
act_cluster,
act_sector,
act_inode,
act_file,
act_last,
act_error,
};
struct options {
@ -41,10 +44,20 @@ struct options {
int quiet; /* Less output */
int verbose; /* Extra output */
int force; /* Override common sense */
char *filename; /* File to examine */
u64 inode; /* Inode to examine */
u64 range_begin; /* Look for objects in this range */
u64 range_end;
};
struct match {
u64 inum; /* Inode number */
ATTR_TYPES type; /* Attribute type */
uchar_t *name; /* Attribute name */
int name_len; /* Length of attribute name */
LCN lcn; /* Last cluster in use */
};
#endif /* _NTFSCLUSTER_H_ */