Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/reftable/table.h # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / reftable / table.h` 29 lines ยท 705 bytes Raw Blame History 1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Use of this source code is governed by a BSD-style 5 * license that can be found in the LICENSE file or at 6 * https://developers.google.com/open-source/licenses/bsd 7 */ 8 9 #ifndef TABLE_H 10 #define TABLE_H 11 12 #include "block.h" 13 #include "record.h" 14 #include "reftable-iterator.h" 15 #include "reftable-table.h" 16 17 const char *reftable_table_name(struct reftable_table *t); 18 19 int table_init_iter(struct reftable_table *t, 20 struct reftable_iterator *it, 21 uint8_t typ); 22 23 /* 24 * Initialize a block by reading from the given table and offset. 25 */ 26 int table_init_block(struct reftable_table *t, struct reftable_block *block, 27 uint64_t next_off, uint8_t want_typ); 28 29 #endif