summaryrefslogtreecommitdiff
path: root/build.h
blob: 7cc515fa40cb22e6921fe4ef94dc4bf388cfee40 (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
#ifndef H_BUILD
#define H_BUILD

#ifdef __cplusplus
extern "C" {
#endif

extern struct poptOption rpmBuildPoptTable[];

struct rpmBuildArguments {
    int buildAmount;
    const char *buildRootOverride;
    char *targets;
    int useCatalog;
    int noLang;
    int noBuild;
    int shortCircuit;
    char buildMode;
    char buildChar;
    /*@dependent@*/ const char *rootdir;
};

int build(const char *arg, struct rpmBuildArguments *ba, const char *passPhrase,
	  int fromTarball, char *cookie, const char * rcfile, int force,
	  int nodeps);

#ifdef __cplusplus
}
#endif

#endif