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

query.c File Reference

Display tag values from package metadata. More...

#include "system.h"
#include <rpmcli.h>
#include "rpmdb.h"
#include "rpmfi.h"
#include "rpmts.h"
#include "manifest.h"
#include "misc.h"
#include "debug.h"

Go to the source code of this file.

Defines

#define PATH_MAX   255

Functions

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, const char *linkto)
const char * queryHeader (Header h, const char *qfmt)
int showQueryPackage (QVA_t qva, rpmts ts, Header h)
void rpmDisplayQueryTags (FILE *fp)
int rpmcliShowMatches (QVA_t qva, rpmts ts)
unsigned char nibble (char c)
 Convert hex to binary nibble.
int rpmQueryVerify (QVA_t qva, rpmts ts, const char *arg)
int rpmcliQuery (rpmts ts, QVA_t qva, const char **argv)


Detailed Description

Display tag values from package metadata.

Definition in file query.c.


Define Documentation

#define PATH_MAX   255
 

Definition at line 10 of file query.c.


Function Documentation

unsigned char nibble char  c  )  [inline, static]
 

Convert hex to binary nibble.

Parameters:
c hex character
Returns:
binary nibble

Definition at line 381 of file query.c.

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,
const char *  linkto
[static]
 

Definition at line 27 of file query.c.

References _free(), alloca(), rpmPermsString(), and S_ISLNK.

Referenced by showQueryPackage().

const char* queryHeader Header  h,
const char *  qfmt
[inline, static]
 

Definition at line 108 of file query.c.

References _, Header, headerSprintf(), RPMERR_QFMT, rpmError, rpmHeaderFormats, and rpmTagTable.

Referenced by showQueryPackage().


Generated on Wed Dec 28 16:43:49 2005 for rpm by  doxygen 1.3.9.1