| 85 | }; |
| 86 | |
| 87 | void block_source_from_buf(struct reftable_block_source *bs, |
| 88 | struct reftable_buf *buf) |
| 89 | { |
| 90 | assert(!bs->ops); |
| 91 | bs->ops = &reftable_buf_vtable; |
| 92 | bs->arg = buf; |
| 93 | } |
| 94 | |
| 95 | struct file_block_source { |
| 96 | struct reftable_mmap mmap; |
no outgoing calls