replace strbuf_expand() with strbuf_expand_step()
[git.git] / reftable / refname.h
bloba24b40fcb428452a620a50199538a4437b8c1a5e
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 */
8 #ifndef REFNAME_H
9 #define REFNAME_H
11 #include "reftable-record.h"
12 #include "reftable-generic.h"
14 struct modification {
15 struct reftable_table tab;
17 char **add;
18 size_t add_len;
20 char **del;
21 size_t del_len;
24 int validate_ref_record_addition(struct reftable_table tab,
25 struct reftable_ref_record *recs, size_t sz);
27 int modification_validate(struct modification *mod);
29 #endif