Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

lib/query.c File Reference

More...

#include "system.h"
#include <rpmbuild.h>
#include <rpmurl.h>
#include "debug.h"

Go to the source code of this file.

RPMQV

int showQueryPackage (QVA_t *qva, rpmdb rpmdb, Header h)
void rpmDisplayQueryTags (FILE *f)
int showMatches (QVA_t *qva, rpmdbMatchIterator mi, QVF_t showPackage)
int rpmQueryVerify (QVA_t *qva, rpmQVSources source, const char *arg, rpmdb rpmdb, QVF_t showPackage)
int rpmQuery (QVA_t *qva, rpmQVSources source, const char *arg)

Defines

#define PATH_MAX   255

Functions

char* permsString (int mode)
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)
const char* queryHeader (Header h, const char *qfmt)
int countLinks (int_16 *fileRdevList, int_32 *fileInodeList, int nfiles, int xfile)
void printNewSpecfile (Spec spec)

Variables

int (* parseSpecVec )(Spec *specp, const char *specFile, const char *rootdir, const char *buildRoot, int inBuildArch, const char *passPhrase, char *cookie, int anyarch, int force)=NULL
void (* freeSpecVec )(Spec spec)=NULL


Detailed Description

Definition in file query.c.


Define Documentation

#define PATH_MAX   255
 

Definition at line 8 of file query.c.


Function Documentation

int countLinks ( int_16 * fileRdevList,
int_32 * fileInodeList,
int nfiles,
int xfile ) [static]
 

Definition at line 155 of file query.c.

Referenced by showQueryPackage().

char* permsString ( int mode ) [static]
 

Definition at line 19 of file query.c.

Referenced by permsFormat(), and printFileInfo().

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]
 

Definition at line 62 of file query.c.

Referenced by showQueryPackage().

void printNewSpecfile ( Spec spec ) [static]
 

Definition at line 396 of file query.c.

Referenced by rpmQueryVerify().

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

Definition at line 144 of file query.c.

Referenced by showQueryPackage().


Variable Documentation

void (* freeSpecVec)(Spec spec) = NULL
 

Todo:
Eliminate linkage loop into librpmbuild.a

Definition at line 508 of file query.c.

Referenced by rpmQueryVerify().

int (* parseSpecVec)(Spec *specp, const char *specFile, const char *rootdir, const char *buildRoot, int inBuildArch, const char *passPhrase, char *cookie, int anyarch, int force) = NULL
 

Todo:
Eliminate linkage loop into librpmbuild.a

Definition at line 502 of file query.c.

Referenced by rpmQueryVerify().


Generated at Mon May 21 08:53:42 2001 for rpm by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001