summaryrefslogtreecommitdiff
path: root/build/rpmbuild.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-10-07 09:05:06 +0000
committerjbj <devnull@localhost>2002-10-07 09:05:06 +0000
commit868c27220d5ad94408829c36eff950fb46e898d1 (patch)
tree499fb178acb8a84b794c3a75c58d88f8a2157e5f /build/rpmbuild.h
parent8e71e2cc310504228384d777607cb8fd9f6b76b7 (diff)
downloadrpm-868c27220d5ad94408829c36eff950fb46e898d1.tar.gz
rpm-868c27220d5ad94408829c36eff950fb46e898d1.tar.bz2
rpm-868c27220d5ad94408829c36eff950fb46e898d1.zip
lclint annotations.
CVS patchset: 5756 CVS date: 2002/10/07 09:05:06
Diffstat (limited to 'build/rpmbuild.h')
-rw-r--r--build/rpmbuild.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/build/rpmbuild.h b/build/rpmbuild.h
index 798583675..9ce58f61a 100644
--- a/build/rpmbuild.h
+++ b/build/rpmbuild.h
@@ -449,6 +449,22 @@ int processSourceFiles(Spec spec)
rpmGlobalMacroContext, fileSystem, internalState @*/;
/** \ingroup rpmbuild
+ * Return output from helper script.
+ * @param dir directory to run in (or NULL)
+ * @param argv program and arguments to run
+ * @param writePtr bytes to feed to script on stdin (or NULL)
+ * @param writeBytesLeft no. of bytes to feed to script on stdin
+ * @param failNonZero is script failure an error?
+ * @return buffered stdout from script, NULL on error
+ */
+/*@null@*/
+StringBuf getOutputFrom(/*@null@*/ const char * dir, char * argv[],
+ const char * writePtr, int writeBytesLeft,
+ int failNonZero)
+ /*@globals fileSystem, internalState@*/
+ /*@modifies fileSystem, internalState@*/;
+
+/** \ingroup rpmbuild
* Parse spec file into spec control structure.
* @retval specp spec file control structure
* @param specFile