summaryrefslogtreecommitdiffstats
path: root/contents.h
blob: b8a214d25aefab5ec7a8f30ec84b4468861df366 (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
27
28
29
30
31
32
33
#ifndef REPREPRO_CONTENTS_H
#define REPREPRO_CONTENTS_H

#ifndef REPREPRO_STRLIST_H
#include "strlist.h"
#endif
#ifndef REPREPRO_DATABASE_H
#include "database.h"
#endif
#ifndef REPREPRO_RELEASE_H
#include "release.h"
#endif

struct contentsoptions {
	struct {
		bool enabled;
		bool udebs;
		bool nodebs;
		bool percomponent;
		bool allcomponents;
		bool compatsymlink;
		bool ddebs;
	} flags;
	compressionset compressions;
};

struct distribution;
struct configiterator;

retvalue contentsoptions_parse(struct distribution *, struct configiterator *);
retvalue contents_generate(struct distribution *, struct release *, bool /*onlyneeded*/);

#endif