checkin.h 918 Bytes
Newer Older
Bernhard Link's avatar
Bernhard Link committed
1 2
#ifndef REPREPRO_CHECKIN_H
#define REPREPRO_CHECKIN_H
3

Bernhard Link's avatar
Bernhard Link committed
4
#ifndef REPREPRO_ERROR_H
5 6 7
#include "error.h"
#warning "What's hapening here?"
#endif
8 9 10
#ifndef REPREPRO_DATABASE_H
#include "database.h"
#endif
Bernhard Link's avatar
Bernhard Link committed
11
#ifndef REPREPRO_DISTRIBUTION_H
12 13
#include "distribution.h"
#endif
14 15 16
#ifndef REPREPRO_ATOMS_H
#include "atoms.h"
#endif
17

18 19
/* insert the given .changes into the mirror in the <distribution>
 * if forcecomponent, forcesection or forcepriority is NULL
20
 * get it from the files or try to guess it.
21 22
 * if dereferencedfilekeys is != NULL, add filekeys that lost reference,
 * if tracks != NULL, update/add tracking information there... */
23
retvalue changes_add(struct database *, /*@null@*/trackingdb tracks, packagetype_t packagetypeonly, component_t, architecture_t forcearchitecture, /*@null@*/const char *forcesection, /*@null@*/const char *forcepriority, struct distribution *, const char *changesfilename, int delete);
24 25 26

#endif