/usr/include/reiser4/format.h is in libreiser4-dev 1.2.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | /* Copyright (C) 2001-2005 by Hans Reiser, licensing governed by
reiser4progs/COPYING.
format.h -- public format functions. */
#ifndef REISER4_FORMAT_H
#define REISER4_FORMAT_H
#include <reiser4/types.h>
extern reiser4_format_t *reiser4_format_open(reiser4_fs_t *fs);
#ifndef ENABLE_MINIMAL
extern errno_t reiser4_format_sync(reiser4_format_t *format);
extern void reiser4_format_mkdirty(reiser4_format_t *format);
extern void reiser4_format_mkclean(reiser4_format_t *format);
extern bool_t reiser4_format_isdirty(reiser4_format_t *format);
extern reiser4_format_t *reiser4_format_create(reiser4_fs_t *fs,
reiser4_format_plug_t *plug,
rid_t policy,
rid_t key,
rid_t node,
count_t blocks);
extern errno_t reiser4_format_backup(reiser4_format_t *format,
backup_hint_t *hint);
extern errno_t reiser4_format_layout(reiser4_format_t *format,
region_func_t func,
void *data);
extern void reiser4_format_set_root(reiser4_format_t *format,
blk_t root);
extern void reiser4_format_set_len(reiser4_format_t *format,
count_t blocks);
extern void reiser4_format_set_free(reiser4_format_t *format,
count_t blocks);
extern void reiser4_format_set_height(reiser4_format_t *format,
uint8_t height);
extern void reiser4_format_set_stamp(reiser4_format_t *format,
uint32_t stamp);
extern void reiser4_format_set_policy(reiser4_format_t *format,
uint16_t policy);
extern errno_t reiser4_format_mark(reiser4_format_t *format,
reiser4_alloc_t *alloc);
extern count_t reiser4_format_len(aal_device_t *device, uint32_t blksize);
extern errno_t reiser4_format_check_len(aal_device_t *device,
uint32_t blksize,
count_t blocks);
extern errno_t reiser4_format_valid(reiser4_format_t *format);
extern rid_t reiser4_format_oid_pid(reiser4_format_t *format);
extern rid_t reiser4_format_alloc_pid(reiser4_format_t *format);
extern rid_t reiser4_format_journal_pid(reiser4_format_t *format);
extern rid_t reiser4_format_node_pid(reiser4_format_t *format);
extern blk_t reiser4_format_start(reiser4_format_t *format);
extern count_t reiser4_format_get_len(reiser4_format_t *format);
extern count_t reiser4_format_get_free(reiser4_format_t *format);
extern const char *reiser4_format_name(reiser4_format_t *format);
extern uint32_t reiser4_format_get_stamp(reiser4_format_t *format);
extern uint16_t reiser4_format_get_policy(reiser4_format_t *format);
extern blk_t reiser4_format_get_root(reiser4_format_t *format);
extern errno_t reiser4_format_inc_free(reiser4_format_t *format,
count_t count);
extern errno_t reiser4_format_dec_free(reiser4_format_t *format,
count_t count);
#endif
extern void reiser4_format_close(reiser4_format_t *format);
extern uint16_t reiser4_format_get_height(reiser4_format_t *format);
#endif
|