aboutsummaryrefslogtreecommitdiff
path: root/reftable/table.h
diff options
context:
space:
mode:
Diffstat (limited to 'reftable/table.h')
-rw-r--r--reftable/table.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/reftable/table.h b/reftable/table.h
index e15d58d8e9..c54703e621 100644
--- a/reftable/table.h
+++ b/reftable/table.h
@@ -14,39 +14,6 @@
#include "reftable-iterator.h"
#include "reftable-table.h"
-/* metadata for a block type */
-struct reftable_table_offsets {
- int is_present;
- uint64_t offset;
- uint64_t index_offset;
-};
-
-/* The state for reading a reftable file. */
-struct reftable_table {
- /* for convenience, associate a name with the instance. */
- char *name;
- struct reftable_block_source source;
-
- /* Size of the file, excluding the footer. */
- uint64_t size;
-
- /* The hash function used for ref records. */
- enum reftable_hash hash_id;
-
- uint32_t block_size;
- uint64_t min_update_index;
- uint64_t max_update_index;
- /* Length of the OID keys in the 'o' section */
- int object_id_len;
- int version;
-
- struct reftable_table_offsets ref_offsets;
- struct reftable_table_offsets obj_offsets;
- struct reftable_table_offsets log_offsets;
-
- uint64_t refcount;
-};
-
const char *reftable_table_name(struct reftable_table *t);
int table_init_iter(struct reftable_table *t,