From 4b8a0f3f3dcf60dac2ce308ea08d413a535af29f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:12:14 +0200 Subject: Adding upstream version 5.4.4. Signed-off-by: Daniel Baumann --- diffindex.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 diffindex.h (limited to 'diffindex.h') diff --git a/diffindex.h b/diffindex.h new file mode 100644 index 0000000..db78f6f --- /dev/null +++ b/diffindex.h @@ -0,0 +1,19 @@ +#ifndef REPREPRO_DIFFINDEX_H +#define REPREPRO_DIFFINDEX_H + +struct diffindex { + struct checksums *destination; + int patchcount; + struct diffindex_patch { + struct checksums *frompackages; + char *name; + struct checksums *checksums; + /* safe-guard against cycles */ + bool done; + } patches[]; +}; + +void diffindex_free(/*@only@*/struct diffindex *); +retvalue diffindex_read(const char *, /*@out@*/struct diffindex **); + +#endif -- cgit v1.2.3