Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

rpmdb/hdrNVR.c File Reference

More...

#include "system.h"
#include "lib/rpmlib.h"
#include "debug.h"

Go to the source code of this file.

Functions

int headerNVR (Header h, const char **np, const char **vp, const char **rp)
int headerNEVRA (Header h, const char **np, const char **ep, const char **vp, const char **rp, const char **ap)


Detailed Description

Definition in file hdrNVR.c.


Function Documentation

int headerNEVRA Header    h,
const char **    np,
const char **    ep,
const char **    vp,
const char **    rp,
const char **    ap
 

Return name, epoch, version, release, arch strings from header.

Parameters:
h  header
Return values:
np  name pointer (or NULL)
ep  epoch pointer (or NULL)
vp  version pointer (or NULL)
rp  release pointer (or NULL)
ap  arch pointer (or NULL)
Returns:
0 always

Definition at line 34 of file hdrNVR.c.

References headerGetEntry(), RPM_STRING_TYPE, RPMTAG_ARCH, RPMTAG_NAME, RPMTAG_RELEASE, and RPMTAG_VERSION.

int headerNVR Header    h,
const char **    np,
const char **    vp,
const char **    rp
 

Return name, version, release strings from header.

Parameters:
h  header
Return values:
np  name pointer (or NULL)
vp  version pointer (or NULL)
rp  release pointer (or NULL)
Returns:
0 always

Definition at line 9 of file hdrNVR.c.

References headerGetEntry(), RPM_STRING_TYPE, RPMTAG_NAME, RPMTAG_RELEASE, and RPMTAG_VERSION.

Referenced by doSetupMacro(), genSourceRpmName(), handleOneTrigger(), hGetNEVR(), i18nTag(), lookupPackage(), packageBinaries(), parseForSimple(), parsePreamble(), parseSpec(), printNewSpecfile(), processBinaryFiles(), providePackageNVR(), rpmdbRebuild(), rpmdbRemove(), rpmdsNVRMatchesDep(), rpmdsThis(), rpmInstall(), rpmtsCallback(), runScript(), and writeRPM().


Generated on Sun Oct 26 13:02:07 2003 for rpm by doxygen1.2.18