#include "system.h"#include <rpmlib.h>#include <rpmmacro.h>#include <rpmurl.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.
Functions | |
| static const char *const | identifyDepend (int_32 f) |
| static int | do_tsort (const char *fileArgv[]) |
| int | main (int argc, const char *argv[]) |
Variables | |
| const char * | program_name |
| static int | _depends_debug |
| static int | noAvailable = 1 |
| static const char * | avdbpath |
| static int | noDeps = 0 |
| static struct poptOption | optionsTable [] |
| static int do_tsort | ( | const char * | fileArgv[] | ) | [static] |
Definition at line 46 of file rpmsort.c.
References _, _free(), addMacro(), alloca(), avdbpath, delMacro(), Fclose(), Ferror(), Fopen(), Fstrerror(), headerFree(), noAvailable, noDeps, RMIL_CMDLINE, rpmdbClose(), rpmdbFreeIterator(), RPMDBI_PACKAGES, rpmdbInitIterator(), rpmdbNextIterator(), rpmdbOpen(), RPMERR_MANIFEST, RPMERR_OPEN, rpmError, rpmGlob(), RPMMESS_ERROR, rpmMessage, rpmpsFree(), rpmpsPrint(), RPMRC_NOTFOUND, RPMRC_OK, rpmReadPackageFile(), rpmReadPackageManifest(), rpmteDepth(), rpmteN(), rpmteParent(), rpmteTree(), rpmtsAddInstallElement(), rpmtsCheck(), rpmtsCreate(), rpmtsFree(), rpmtsiFree, rpmtsiInit, rpmtsiNext(), rpmtsNElements(), rpmtsOpenDB(), rpmtsOrder(), rpmtsProblems(), TR_ADDED, urlPath(), xmalloc(), and xrealloc().
Referenced by main().
| static const char* const identifyDepend | ( | int_32 | f | ) | [inline, static] |
Definition at line 24 of file rpmsort.c.
References _notpre, isLegacyPreReq, RPMSENSE_FIND_REQUIRES, RPMSENSE_SCRIPT_POST, RPMSENSE_SCRIPT_POSTUN, RPMSENSE_SCRIPT_PRE, RPMSENSE_SCRIPT_PREUN, and RPMSENSE_SCRIPT_VERIFY.
| int main | ( | int | argc, | |
| const char * | argv[] | |||
| ) |
Definition at line 279 of file rpmsort.c.
References _, _depends_debug, bindtextdomain, do_tsort(), EXIT_FAILURE, LOCALEDIR, optionsTable, PACKAGE, rpmIncreaseVerbosity, rpmReadConfigFiles(), setlocale, setprogname, and textdomain.
int _depends_debug [static] |
const char* avdbpath [static] |
Initial value:
"/usr/lib/rpmdb/%{_arch}-%{_vendor}-%{_os}/redhat"
Definition at line 20 of file rpmsort.c.
Referenced by do_tsort().
int noAvailable = 1 [static] |
struct poptOption optionsTable[] [static] |
Initial value:
{
{ "noavailable", '\0', 0, &noAvailable, 0, NULL, NULL},
{ "nodeps", '\0', 0, &noDeps, 0, NULL, NULL},
{ "verbose", 'v', 0, 0, 'v', NULL, NULL},
{ NULL, 0, 0, 0, 0, NULL, NULL}
}
| const char* program_name |
1.5.1