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

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 argiCount(), argv, ARGV_t, argvAdd(), argvCount(), argvSort(), rpmfc_s::cdict, rpmfc_s::ddictx, rpmfc_s::fknown, rpmfc_s::nfiles, optionsTable, poptContext, poptGetArgs(), progname, rpmfc_s::provides, rpmfc_s::requires, rpmcliFini(), rpmcliInit(), rpmdsPrint(), rpmfc, 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 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.

Referenced by main().

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 Fri Aug 11 13:29:42 2006 for rpm by  doxygen 1.3.9.1