/usr/include/repair/semantic.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 | /* Copyright 2001-2005 by Hans Reiser, licensing governed by
reiser4progs/COPYING.
repair/semantic.h -- the structures and methods needed for semantic
pass of fsck. */
#ifndef REPAIR_SEM_H
#define REPAIR_SEM_H
#include <time.h>
#include <repair/librepair.h>
#define LOST_PREFIX "lost_name_"
/* Statistics gathered during the pass. */
typedef struct repair_semantic_stat {
uint64_t reached_files;
uint64_t lost_files;
uint64_t shared, rm_entries, broken;
uint64_t oid;
/* Files counted on previous passes. */
uint64_t statdatas;
uint64_t files;
time_t time;
} repair_semantic_stat_t;
typedef struct repair_ancestor {
reiser4_object_t *object;
entry_type_t link;
} repair_ancestor_t;
/* Data semantic pass works on. */
typedef struct repair_semantic {
repair_data_t *repair;
reiser4_object_t *root;
reiser4_object_t *lost;
repair_semantic_stat_t stat;
aal_gauge_t *gauge;
} repair_semantic_t;
extern errno_t repair_semantic(repair_semantic_t *sem);
typedef errno_t (*semantic_link_func_t) (reiser4_object_t *object,
reiser4_object_t *parent,
entry_type_t link,
void *data);
extern reiser4_object_t *repair_semantic_open_child(reiser4_object_t *parent,
entry_hint_t *entry,
repair_data_t *repair,
semantic_link_func_t func,
void *data);
#endif
|