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

lib/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.

Referenced by doLookup(), and rpmQueryVerify().


Function Documentation

unsigned char nibble char    c [inline, static]
 

Convert hex to binary nibble.

Parameters:
c  hex character
Returns:
binary nibble

Definition at line 379 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 _, headerSprintf(), RPMERR_QFMT, and rpmError.

Referenced by showQueryPackage().


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