#include "system.h"
#include <rpmcli.h>
#include <rpmbuild.h>
#include "manifest.h"
#include "debug.h"
Go to the source code of this file.
Defines | |
#define | PATH_MAX 255 |
Functions | |
static void | printFileInfo (char *te, const char *name, unsigned int size, unsigned short mode, unsigned int mtime, unsigned short rdev, unsigned int nlink, const char *owner, const char *group, int uid, int gid, const char *linkto) |
static const char * | queryHeader (Header h, const char *qfmt) |
static int | countLinks (int_16 *fileRdevList, int_32 *fileInodeList, int nfiles, int xfile) |
int | showQueryPackage (QVA_t qva, rpmdb rpmdb, Header h) |
Display results of package query. | |
static void | printNewSpecfile (Spec spec) |
void | rpmDisplayQueryTags (FILE *fp) |
Display list of tags that can be used in --queryformat. | |
int | showMatches (QVA_t qva, rpmdbMatchIterator mi, QVF_t showPackage) |
Display query/verify information for each header in iterator. | |
static unsigned char | nibble (char c) |
Convert hex to binary nibble. | |
int | rpmQueryVerify (QVA_t qva, rpmQVSources source, const char *arg, rpmdb rpmdb, QVF_t showPackage) |
Common query/verify source interface, called once for each CLI arg. | |
int | rpmQuery (QVA_t qva, rpmQVSources source, const char *arg) |
Display package information. | |
Variables | |
int(* | parseSpecVec )(Spec *specp, const char *specFile, const char *rootdir, const char *buildRoot, int recursing, const char *passPhrase, char *cookie, int anyarch, int force) = NULL |
Spec(* | freeSpecVec )(Spec spec) = NULL |
Definition in file query.c.
|
|
|
|
|
Convert hex to binary nibble.
|
|
Definition at line 26 of file query.c. References _free(), alloca(), rpmPermsString(), and S_ISLNK. |
|
Definition at line 406 of file query.c. References PackageStruct::header, headerNVR(), PackageStruct::next, SpecStruct::packages, SpecStruct::sl, SpecStruct::st, spectags_s::st_ntags, spectags_s::st_t, and tagName(). Referenced by rpmQueryVerify(). |
|
Definition at line 111 of file query.c. References _, headerSprintf(), RPMERR_QFMT, rpmError, rpmHeaderFormats, and rpmTagTable. Referenced by showQueryPackage(). |