RPMSENSE_RPMLIB = (1 << 24), /*!< rpmlib(feature) dependency. */
RPMSENSE_TRIGGERPREIN = (1 << 25), /*!< %triggerprein dependency. */
RPMSENSE_KEYRING = (1 << 26),
- /* bit 27 unused */
+ RPMSENSE_STRONG = (1 << 27),
RPMSENSE_CONFIG = (1 << 28)
};
RPMSENSE_PRETRANS | \
RPMSENSE_POSTTRANS | \
RPMSENSE_PREREQ | \
- RPMSENSE_MISSINGOK)
+ RPMSENSE_MISSINGOK | \
+ RPMSENSE_STRONG)
#define _notpre(_x) ((_x) & ~RPMSENSE_PREREQ)
#define _INSTALL_ONLY_MASK \
rpmds rpmdsNew(Header h, rpmTagVal tagN, int flags);
/** \ingroup rpmds
- * Create and load a dependency set.
- * @param pool shared string pool (or NULL for private pool)
- * @param h header
- * @param tagN type of dependency
- * @param flags unused
- * @return new dependency set
- */
-rpmds rpmdsNewPool(rpmstrPool pool, Header h, rpmTagVal tagN, int flags);
-
-/** \ingroup rpmds
* Return new formatted dependency string.
* @param dspfx formatted dependency string prefix
* @param ds dependency set
rpmds rpmdsThis(Header h, rpmTagVal tagN, rpmsenseFlags Flags);
/** \ingroup rpmds
- * Create, load and initialize a dependency for this header.
- * @param pool string pool (or NULL for private pool)
- * @param h header
- * @param tagN type of dependency
- * @param Flags comparison flags
- * @return new dependency set
- */
-rpmds rpmdsThisPool(rpmstrPool pool,
- Header h, rpmTagVal tagN, rpmsenseFlags Flags);
-
-/** \ingroup rpmds
* Create, load and initialize a dependency set of size 1.
* @param tagN type of dependency
* @param N name
rpmds rpmdsSingle(rpmTagVal tagN, const char * N, const char * EVR, rpmsenseFlags Flags);
/** \ingroup rpmds
- * Create, load and initialize a dependency set of size 1.
- * @param pool string pool (or NULL for private pool)
- * @param tagN type of dependency
- * @param N name
- * @param EVR epoch:version-release
- * @param Flags comparison flags
- * @return new dependency set
- */
-rpmds rpmdsSinglePool(rpmstrPool pool, rpmTagVal tagN,
- const char * N, const char * EVR, rpmsenseFlags Flags);
-
-/** \ingroup rpmds
* Return a new dependency set of size 1 from the current iteration index
* @param ds dependency set
* @return new dependency set
const char * rpmdsDNEVR(const rpmds ds);
/** \ingroup rpmds
- * Return current dependency name pool id.
- * @param ds dependency set
- * @return current dependency name id, 0 on invalid
- */
-rpmsid rpmdsNId(rpmds ds);
-
-/** \ingroup rpmds
- * Return current dependency epoch-version-release pool id.
- * @param ds dependency set
- * @return current dependency EVR id, 0 on invalid
- */
-rpmsid rpmdsEVRId(rpmds ds);
-
-/** \ingroup rpmds
* Return current dependency name.
* @param ds dependency set
* @return current dependency name, NULL on invalid
*/
int rpmdsRpmlib(rpmds * dsp, const void * tblp);
-/**
- * Load rpmlib provides into a dependency set.
- * @param pool shared string pool (or NULL for private pool)
- * @retval *dsp (loaded) depedency set
- * @param tblp rpmlib provides table (NULL uses internal table)
- * @return 0 on success
- */
-int rpmdsRpmlibPool(rpmstrPool pool, rpmds * dsp, const void * tblp);
-
-/** \ingroup rpmds
- * Return dependency set string pool handle
- * @param fi dependency set
- * @return string pool handle (weak reference)
- */
-rpmstrPool rpmdsPool(rpmds ds);
-
#ifdef __cplusplus
}
#endif