#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 | |
static void | rpmdsPrint (const char *msg, rpmds ds, FILE *fp) |
int | main (int argc, char *const argv[]) |
Variables | |
const char * | program_name |
char * | progname |
static int | print_provides |
static int | print_requires |
static struct poptOption | optionsTable [] |
int main | ( | int | argc, | |
char *const | argv[] | |||
) |
Definition at line 49 of file rpmdeps.c.
References _rpmfc_debug, argiCount(), argvAdd(), argvCount(), argvSort(), rpmfc_s::cdict, rpmfc_s::ddictx, rpmfc_s::fknown, rpmfc_s::nfiles, optionsTable, print_provides, print_requires, progname, rpmfc_s::provides, rpmfc_s::requires, rpmcliFini(), rpmcliInit(), rpmdsPrint(), rpmfcApply(), rpmfcClassify(), rpmfcFree(), rpmfcNew(), and rpmfcPrint().
static void rpmdsPrint | ( | const char * | msg, | |
rpmds | ds, | |||
FILE * | fp | |||
) | [static] |
Definition at line 20 of file rpmdeps.c.
References rpmdsDNEVR(), rpmdsInit(), and rpmdsNext().
Referenced by main().
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 }
int print_provides [static] |
int print_requires [static] |
const char* program_name |