Remove build modes from rpm, use rpmb and/or popt glue instead.
[platform/upstream/rpm.git] / build.h
1 #ifndef H_BUILD
2 #define H_BUILD
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 extern struct poptOption rpmBuildPoptTable[];
9
10 struct rpmBuildArguments {
11     int buildAmount;
12     const char *buildRootOverride;
13     char *targets;
14     int useCatalog;
15     int noLang;
16     int noBuild;
17     int shortCircuit;
18     char buildMode;
19     char buildChar;
20     /*@dependent@*/ const char *rootdir;
21 };
22
23 int build(const char *arg, struct rpmBuildArguments *ba, const char *passPhrase,
24           int fromTarball, char *cookie, const char * rcfile, int force,
25           int nodeps);
26
27 #ifdef __cplusplus
28 }
29 #endif
30
31 #endif
32