Add docs to rpmtsRun to explain what is required before a call
authorjoden <devnull@localhost>
Wed, 11 Aug 2004 00:32:19 +0000 (00:32 +0000)
committerjoden <devnull@localhost>
Wed, 11 Aug 2004 00:32:19 +0000 (00:32 +0000)
to rpmtsRun can be successful.

CVS patchset: 7395
CVS date: 2004/08/11 00:32:19

lib/rpmts.h

index dc7b62c..c058a25 100644 (file)
@@ -369,7 +369,13 @@ int rpmtsOrder(rpmts ts)
        /*@modifies ts, rpmGlobalMacroContext, fileSystem, internalState @*/;
 
 /** \ingroup rpmts
- * Process all package elements in a transaction set.
+ * Process all package elements in a transaction set.  Before calling
+ * rpmtsRun be sure to have:
+ *
+ *    - setup the rpm root dir via rpmtsRoot().
+ *    - setup the rpm notify callback via rpmtsSetNotifyCallback().
+ *    - setup the rpm transaction flags via rpmtsSetFlags().
+ *    - setup the rpm verify signature flags via rpmtsSetVSFlags().
  *
  * @param ts           transaction set
  * @param okProbs      previously known problems (or NULL)