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

tools/rpmdeps.c File Reference

#include "system.h"
#include <rpmbuild.h>
#include <argv.h>
#include <rpmds.h>
#include <rpmfc.h>
#include "debug.h"

Go to the source code of this file.

Functions

void rpmdsPrint (const char *msg, rpmds ds, FILE *fp)
int main (int argc, char *const argv[])

Variables

char * progname
int print_provides
int print_requires
poptOption optionsTable []


Function Documentation

int main int    argc,
char *const    argv[]
 

Definition at line 48 of file rpmdeps.c.

References argv, ARGV_t, argvAdd(), argvCount(), argvSort(), rpmfc_s::cdict, rpmfc_s::ddictx, rpmfc_s::fknown, rpmfc_s::nfiles, poptGetArgs(), progname, rpmfc_s::provides, rpmfc_s::requires, rpmcliFini(), rpmcliInit(), rpmdsPrint(), rpmfcApply(), rpmfcClassify(), rpmfcFree(), rpmfcNew(), and rpmfcPrint().

void rpmdsPrint const char *    msg,
rpmds    ds,
FILE *    fp
[static]
 

Definition at line 19 of file rpmdeps.c.

References rpmds, rpmdsDNEVR(), rpmdsInit(), and rpmdsNext().

Referenced by main().


Variable Documentation

struct poptOption optionsTable[] [static]
 

Initial value:

 {

 { NULL, '\0', POPT_ARG_INCLUDE_TABLE, rpmcliAllPoptTable, 0,
         "Common options for all rpm modes and executables:" ,
        NULL }, 

 { "provides", 'P', POPT_ARG_VAL, &print_provides, -1,
        NULL, NULL },
 { "requires", 'R', POPT_ARG_VAL, &print_requires, -1,
        NULL, NULL },

   POPT_AUTOALIAS
   POPT_AUTOHELP
   POPT_TABLEEND
}

Definition at line 31 of file rpmdeps.c.

int print_provides [static]
 

Definition at line 14 of file rpmdeps.c.

int print_requires [static]
 

Definition at line 17 of file rpmdeps.c.

char* progname
 

Definition at line 11 of file rpmdeps.c.

Referenced by main().


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