File: format40_repair.h

package info (click to toggle)
reiser4progs 1.0.7-6
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 5,352 kB
  • ctags: 3,699
  • sloc: ansic: 33,483; sh: 8,489; makefile: 1,001
file content (38 lines) | stat: -rw-r--r-- 1,020 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
/* Copyright (C) 2001-2005 by Hans Reiser, licensing governed by
   reiser4progs/COPYING.
   
   format40_repair.h -- reiser4 disk-format plugin repair functions. */

#ifndef FORMAT40_REPAIR_H
#define FORMAT40_REPAIR_H

#ifndef ENABLE_MINIMAL

#include <aal/libaal.h>
#include <reiser4/plugin.h>

extern errno_t format40_update(reiser4_format_ent_t *entity);

extern errno_t format40_pack(reiser4_format_ent_t *entity,
			     aal_stream_t *stream);

extern reiser4_format_ent_t *format40_unpack(aal_device_t *device,
					     uint32_t blksize,
					     aal_stream_t *stream);

extern void format40_print(reiser4_format_ent_t *entity,
			   aal_stream_t *stream,
			   uint16_t options);

extern errno_t format40_check_backup(backup_hint_t *hint);

extern reiser4_format_ent_t *format40_regenerate(aal_device_t *device, 
						 backup_hint_t *hint);

extern errno_t format40_check_struct(reiser4_format_ent_t *entity,
				     backup_hint_t *hint, 
				     format_hint_t *desc,
				     uint8_t mode);

#endif
#endif