/usr/include/reiser4/key.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 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 | /* Copyright (C) 2001-2005 by Hans Reiser, licensing governed by
reiser4progs/COPYING.
key.h -- reiser4 key defines and functions. */
#ifndef REISER4_KEY_H
#define REISER4_KEY_H
#include <reiser4/types.h>
extern int reiser4_key_compshort(reiser4_key_t *key1,
reiser4_key_t *key2);
#ifndef ENABLE_MINIMAL
extern void reiser4_key_free(reiser4_key_t *key);
extern void reiser4_key_print(reiser4_key_t *key,
aal_stream_t *stream,
uint16_t options);
extern errno_t reiser4_key_set_hash(reiser4_key_t *key,
uint64_t hash);
extern uint64_t reiser4_key_get_hash(reiser4_key_t *key);
extern uint32_t reiser4_key_get_type(reiser4_key_t *key);
extern oid_t reiser4_key_get_objectid(reiser4_key_t *key);
extern oid_t reiser4_key_get_locality(reiser4_key_t *key);
extern uint64_t reiser4_key_get_ordering(reiser4_key_t *key);
extern errno_t reiser4_key_set_type(reiser4_key_t *key,
uint32_t type);
extern errno_t reiser4_key_set_objectid(reiser4_key_t *key,
oid_t objectid);
extern errno_t reiser4_key_set_locality(reiser4_key_t *key,
oid_t locality);
extern errno_t reiser4_key_set_ordering(reiser4_key_t *key,
uint64_t ordering);
extern errno_t reiser4_key_build_generic(reiser4_key_t *key,
uint32_t type,
oid_t locality,
uint64_t ordering,
oid_t objectid,
uint64_t offset);
extern void reiser4_key_build_hashed(reiser4_key_t *key,
reiser4_hash_plug_t *hash,
reiser4_fibre_plug_t *fibre,
oid_t locality,
oid_t objectid,
char *name);
extern void reiser4_key_minimal(reiser4_key_t *key);
#endif
extern errno_t reiser4_key_set_offset(reiser4_key_t *key,
uint64_t offset);
extern void reiser4_key_inc_offset(reiser4_key_t *key,
uint64_t value);
extern void reiser4_key_maximal(reiser4_key_t *key);
extern int reiser4_key_compfull(reiser4_key_t *key1,
reiser4_key_t *key2);
extern uint64_t reiser4_key_get_offset(reiser4_key_t *key);
#endif
|