}
rpmRC rpmInstallSourcePackage(rpmts ts, FD_t fd,
- const char ** specFilePtr, const char ** cookie)
+ char ** specFilePtr, char ** cookie)
{
int scareMem = 1;
rpmfi fi = NULL;
QVF_t qva_showPackage; /*!< Function to display iterator matches. */
QSpecF_t qva_specQuery; /*!< Function to query spec file. */
int qva_verbose; /*!< (unused) */
- const char * qva_queryFormat;/*!< Format for headerSprintf(). */
+ char * qva_queryFormat; /*!< Format for headerSprintf(). */
int sign; /*!< Is a passphrase needed? */
const char * passPhrase; /*!< Pass phrase. */
const char * qva_prefix; /*!< Path to top of install tree. */
struct rpmBuildArguments_s {
rpmQueryFlags qva_flags; /*!< Bit(s) to control verification. */
int buildAmount; /*!< Bit(s) to control operation. */
- const char * buildRootOverride; /*!< from --buildroot */
+ char * buildRootOverride; /*!< from --buildroot */
char * targets; /*!< Target platform(s), comma separated. */
const char * passPhrase; /*!< Pass phrase. */
- const char * cookie; /*!< NULL for binary, ??? for source, rpm's */
+ char * cookie; /*!< NULL for binary, ??? for source, rpm's */
int force; /*!< from --force */
int noBuild; /*!< from --nobuild */
int noDeps; /*!< from --nodeps */
* @return 0 on success
*/
int rpmInstallSource(rpmts ts, const char * arg,
- const char ** specFilePtr,
- const char ** cookie);
+ char ** specFilePtr,
+ char ** cookie);
/** \ingroup rpmcli
}
int rpmInstallSource(rpmts ts, const char * arg,
- const char ** specFilePtr, const char ** cookie)
+ char ** specFilePtr, char ** cookie)
{
FD_t fd;
int rc;
* @return rpmRC return code
*/
rpmRC rpmInstallSourcePackage(rpmts ts, FD_t fd,
- const char ** specFilePtr,
- const char ** cookie);
+ char ** specFilePtr,
+ char ** cookie);
/** \ingroup rpmtrans
* Return copy of rpmlib internal provides.
}
while ((pkg = poptGetArg(optCon))) {
- const char * specFile = NULL;
+ char * specFile = NULL;
ba->cookie = NULL;
ec = rpmInstallSource(ts, pkg, &specFile, &ba->cookie);