trailer: document parse_trailers() usage
[alt-git.git] / reftable / reftable-malloc.h
blob5f2185f1f3438650bb0584a1151699bb15b55078
1 /*
2 Copyright 2020 Google LLC
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 */
9 #ifndef REFTABLE_H
10 #define REFTABLE_H
12 #include <stddef.h>
14 /* Overrides the functions to use for memory management. */
15 void reftable_set_alloc(void *(*malloc)(size_t),
16 void *(*realloc)(void *, size_t), void (*free)(void *));
18 #endif