summaryrefslogtreecommitdiffstats
path: root/indexfile.h
blob: cdc68a46f497b3e497cb231710339f1e70cc5dba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef REPREPRO_INDEXFILE_H
#define REPREPRO_INDEXFILE_H

#ifndef REPREPRO_ERROR_H
#include "error.h"
#warning "What's hapening here?"
#endif
#ifndef REPREPRO_TARGET_H
#include "target.h"
#endif

struct indexfile;
struct package;

retvalue indexfile_open(/*@out@*/struct indexfile **, const char *, enum compression);
retvalue indexfile_close(/*@only@*/struct indexfile *);
bool indexfile_getnext(struct indexfile *, /*@out@*/struct package *, struct target *, bool allowwrongarchitecture);

#endif