File: compress_mode.c

package info (click to toggle)
reiser4progs 1.0.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,348 kB
  • ctags: 3,714
  • sloc: ansic: 33,468; sh: 8,489; makefile: 1,012
file content (45 lines) | stat: -rw-r--r-- 1,235 bytes parent folder | download | duplicates (8)
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
/* Copyright (C) 2001-2005 by Hans Reiser, licensing governed by
   reiser4progs/COPYING.
   
   compress_mode.c -- reiser4 compression mode plugins. The real 
   compression is not implemented yet, but plugins are needed for 
   the fsck and for all utilities when specifying them by the name 
   with --override option. */

#ifdef HAVE_CONFIG_H
#  include <config.h>
#endif

#ifndef ENABLE_MINIMAL
#include "reiser4/plugin.h"

reiser4_plug_t nocompress_plug = {
	.id    = {CMODE_NONE_ID, 0, CMODE_PLUG_TYPE},
	.label = "none",
	.desc  = "'Don't compress' compression mode plugin.",
};

reiser4_plug_t lattd_plug = {
	.id    = {CMODE_LATTD_ID, 0, CMODE_PLUG_TYPE},
	.label = "latt",
	.desc  = "'Check on dynamic lattice' compression mode plugin.",
};

reiser4_plug_t ultim_plug = {
	.id    = {CMODE_ULTIM_ID, 0, CMODE_PLUG_TYPE},
	.label = "ultim",
	.desc  = "'Check ultimately' compression mode plugin.",
};

reiser4_plug_t force_plug = {
	.id    = {CMODE_FORCE_ID, 0, CMODE_PLUG_TYPE},
	.label = "force",
	.desc  = "'Compress evrything' compression mode plugin.",
};

reiser4_plug_t convx_plug = {
	.id    = {CMODE_CONVX_ID, 0, CMODE_PLUG_TYPE},
	.label = "conv",
	.desc  = "'Convert to extent' compression mode plugin.",
};
#endif