File: diffindex.h

package info (click to toggle)
reprepro 5.4.6%2Breally5.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,464 kB
  • sloc: ansic: 52,340; python: 1,625; sh: 651; makefile: 119
file content (19 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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