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

tools/rpmgraph.c File Reference

#include "system.h"
#include <rpmcli.h>
#include "rpmdb.h"
#include "rpmps.h"
#include "rpmte.h"
#include "rpmts.h"
#include "manifest.h"
#include "misc.h"
#include "debug.h"

Go to the source code of this file.

Defines

#define _RPMTS_INTERNAL

Functions

const char *const identifyDepend (int_32 f)
int rpmGraph (rpmts ts, struct rpmInstallArguments_s *ia, const char **fileArgv)
int main (int argc, char *const argv[])

Variables

int noDeps = 1
rpmVSFlags vsflags = 0
poptOption optionsTable []


Define Documentation

#define _RPMTS_INTERNAL
 

Definition at line 10 of file rpmgraph.c.


Function Documentation

const char* const identifyDepend int_32    f [inline, static]
 

Definition at line 21 of file rpmgraph.c.

References _notpre, int_32, isLegacyPreReq, RPMSENSE_FIND_REQUIRES, RPMSENSE_SCRIPT_POST, RPMSENSE_SCRIPT_POSTUN, RPMSENSE_SCRIPT_PRE, RPMSENSE_SCRIPT_PREUN, and RPMSENSE_SCRIPT_VERIFY.

Referenced by zapRelation().

int main int    argc,
char *const    argv[]
 

Definition at line 285 of file rpmgraph.c.

References _RPMVSF_NODIGESTS, _RPMVSF_NOSIGNATURES, argv, EXIT_FAILURE, poptGetArgs(), rpmcliFini(), rpmcliInit(), rpmGraph(), rpmts, rpmtsCreate(), rpmtsFree(), rpmtsSetVSFlags(), RPMVSF_NOHDRCHK, VERIFY_DIGEST, VERIFY_HDRCHK, VERIFY_SIGNATURE, and vsflags.

int rpmGraph rpmts    ts,
struct rpmInstallArguments_s   ia,
const char **    fileArgv
[static]
 

Definition at line 43 of file rpmgraph.c.

References _, _free(), _RPMVSF_NODIGESTS, _RPMVSF_NOSIGNATURES, alloca(), argv, Fclose(), Ferror(), fnpyKey, Fopen(), Fstrerror(), headerFree(), noDeps, rpmInstallArguments_s::qva_flags, RPMERR_MANIFEST, RPMERR_OPEN, rpmError, rpmGlob(), RPMMESS_ERROR, RPMMESS_NORMAL, rpmMessage, rpmpsFree(), rpmpsNumProblems(), rpmpsPrint(), rpmRC, RPMRC_FAIL, RPMRC_NOTFOUND, RPMRC_OK, rpmReadPackageFile(), rpmReadPackageManifest(), rpmte, rpmteDepth(), rpmteN(), rpmteParent(), rpmteTree(), rpmts, rpmtsAddInstallElement(), rpmtsCheck(), rpmtsi, rpmtsiFree, rpmtsiInit, rpmtsiNext(), rpmtsNElements(), rpmtsOrder(), rpmtsProblems(), rpmtsSetVSFlags(), rpmVSFlags, TR_ADDED, urlPath(), VERIFY_DIGEST, VERIFY_SIGNATURE, vsflags, and xrealloc().

Referenced by main().


Variable Documentation

int noDeps = 1 [static]
 

Definition at line 17 of file rpmgraph.c.

Referenced by rpmGraph().

struct poptOption optionsTable[] [static]
 

Initial value:

 {
 { "check", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &noDeps, 0,
         "don't verify package dependencies" , NULL },
 { "nolegacy", '\0', POPT_BIT_SET,      &vsflags, RPMVSF_NEEDPAYLOAD,
         "don't verify header+payload signature" , NULL },

 { "anaconda", '\0', POPT_BIT_SET|POPT_ARGFLAG_DOC_HIDDEN,
        &rpmIArgs.transFlags, RPMTRANS_FLAG_ANACONDA,
         "use anaconda \"presentation order\"" , NULL},

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

   POPT_AUTOALIAS
   POPT_AUTOHELP
   POPT_TABLEEND
}

Definition at line 265 of file rpmgraph.c.

rpmVSFlags vsflags = 0 [static]
 

Definition at line 19 of file rpmgraph.c.

Referenced by main(), and rpmGraph().


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