summaryrefslogtreecommitdiff
path: root/delta.h
blob: 893825b9d93ef9321e830ed36e8d3f7403b99e55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * delta.h - Find differences in .sch files
 *
 * Written 2016 by Werner Almesberger
 * Copyright 2016 by Werner Almesberger
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */


#ifndef DELTA_H
#define DELTA_H

#include "sch.h"


bool sheet_eq(const struct sheet *a, const struct sheet *b);

void delta(const struct sheet *a, const struct sheet *b,
    struct sheet *res_a, struct sheet *res_b, struct sheet *res_ab);
void delta_free(struct sheet *d);

#endif /* !DELTA_H */