Spec: Add rootdir (as in chroot).
[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 buildChar;
19     /*@dependent@*/ const char *rootdir;
20 };
21
22 int build(const char *arg, struct rpmBuildArguments *ba, const char *passPhrase,
23           int fromTarball, char *cookie, const char * rcfile, int force,
24           int nodeps);
25
26 #ifdef __cplusplus
27 }
28 #endif
29
30 #endif
31