/usr/include/reiser4/oid.h is in libreiser4-dev 1.1.0-1.1.
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 | /* Copyright (C) 2001-2005 by Hans Reiser, licensing governed by
reiser4progs/COPYING.
oid.h -- oid allocator functions. */
#ifndef REISER4_OID_H
#define REISER4_OID_H
#ifndef ENABLE_MINIMAL
#include <reiser4/types.h>
extern void reiser4_oid_close(reiser4_oid_t *oid);
extern reiser4_oid_t *reiser4_oid_open(reiser4_fs_t *fs);
extern errno_t reiser4_oid_layout(reiser4_oid_t *oid,
region_func_t region_func,
void *data);
extern errno_t reiser4_oid_sync(reiser4_oid_t *oid);
extern errno_t reiser4_oid_valid(reiser4_oid_t *oid);
extern reiser4_oid_t *reiser4_oid_create(reiser4_fs_t *fs);
extern oid_t reiser4_oid_next(reiser4_oid_t *oid);
extern oid_t reiser4_oid_lost(reiser4_oid_t *oid);
extern oid_t reiser4_oid_allocate(reiser4_oid_t *oid);
extern void reiser4_oid_release(reiser4_oid_t *oid, oid_t id);
extern uint64_t reiser4_oid_free(reiser4_oid_t *oid);
extern uint64_t reiser4_oid_get_used(reiser4_oid_t *oid);
extern void reiser4_oid_set_used(reiser4_oid_t *oid, uint64_t used);
extern bool_t reiser4_oid_isdirty(reiser4_oid_t *oid);
extern void reiser4_oid_mkdirty(reiser4_oid_t *oid);
extern void reiser4_oid_mkclean(reiser4_oid_t *oid);
extern oid_t reiser4_oid_root_locality(reiser4_oid_t *oid);
extern oid_t reiser4_oid_root_objectid(reiser4_oid_t *oid);
extern oid_t reiser4_oid_hyper_locality(reiser4_oid_t *oid);
extern void reiser4_oid_print(reiser4_oid_t *oid, aal_stream_t *stream);
#endif
#endif
|