1998-01-13 05:31:29 +08:00
|
|
|
#ifndef H_BUILD
|
|
|
|
#define H_BUILD
|
|
|
|
|
1998-12-02 01:18:38 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern struct poptOption rpmBuildPoptTable[];
|
|
|
|
|
|
|
|
struct rpmBuildArguments {
|
|
|
|
int buildAmount;
|
1999-04-17 22:23:42 +08:00
|
|
|
const char *buildRootOverride;
|
1998-12-02 07:28:26 +08:00
|
|
|
char *targets;
|
1998-12-02 01:18:38 +08:00
|
|
|
int useCatalog;
|
|
|
|
int noLang;
|
1998-12-02 07:28:26 +08:00
|
|
|
int noBuild;
|
|
|
|
int shortCircuit;
|
|
|
|
char buildChar;
|
1999-11-01 05:38:21 +08:00
|
|
|
/*@dependent@*/ const char *rootdir;
|
1998-12-02 01:18:38 +08:00
|
|
|
};
|
|
|
|
|
1999-04-17 22:23:42 +08:00
|
|
|
int build(const char *arg, struct rpmBuildArguments *ba, const char *passPhrase,
|
|
|
|
int fromTarball, char *cookie, const char * rcfile, int force,
|
|
|
|
int nodeps);
|
1998-01-13 05:31:29 +08:00
|
|
|
|
1998-12-02 01:18:38 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
1998-01-13 05:31:29 +08:00
|
|
|
#endif
|
1998-08-07 03:27:54 +08:00
|
|
|
|