File: types.h

package info (click to toggle)
defrag 0.73pjm1-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 692 kB
  • ctags: 614
  • sloc: ansic: 4,803; sh: 780; makefile: 104
file content (24 lines) | stat: -rw-r--r-- 556 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _DEFRAG_TYPES_H
#define _DEFRAG_TYPES_H

/*
 * types.h
 *
 * Common type definitions for the defrag and dump programs.  We define them
 * here to avoid having to include all of defrag.h in e2dump.c
 *
 * Copyright (c) Stephen Tweedie, 1997
 *
 */

#include <sys/types.h>
#include <linux/types.h>

/* Define modes for the walk_zone functions */
enum walk_zone_mode {WZ_SCAN, WZ_REMAP, WZ_FIXED_BLOCKS};

/* Block/buffer management prototypes */
enum BufferType { OUTPUT, RESCUE };
typedef enum BufferType BufferType;
	
#endif /* !_DEFRAG_TYPES_H */