lib/problems.c -
#include 'system.h'
#include 'rpmlib.h'
#include 'depends.h'
#include 'misc.h'
#include 'debug.h'
void printDepFlags (FILE *fp, const char *version, int flags)
int sameProblem (const rpmDependencyConflict ap, const rpmDependencyConflict bp)
void printDepProblems (FILE *fp, const rpmDependencyConflict conflicts, int numConflicts)
Print results of rpmdepCheck() dependency check.
int vsnprintf (char *buf, int nb, const char *fmt, va_list ap)
int snprintf (char *buf, int nb, const char *fmt,...)
const char * rpmProblemString (const rpmProblem prob)
Return formatted string representation of problem.
void rpmProblemPrint (FILE *fp, rpmProblem prob)
Output formatted string representation of problem to file handle.
void rpmProblemSetPrint (FILE *fp, rpmProblemSet probs)
Print problems to file handle.
Definition in file problems.c.
Definition at line 19 of file problems.c.
References RPMSENSE_EQUAL, RPMSENSE_GREATER, and RPMSENSE_LESS.
Referenced by printDepProblems(), and rpmShowRpmlibProvides().
Print results of rpmdepCheck() dependency check.
Parameters:
Definition at line 61 of file problems.c.
References _, rpmDependencyConflict_s::needsFlags, printDepFlags(), sameProblem(), and rpmDependencyConflict_s::sense.
Referenced by checkSpec(), rpmErase(), rpmInstall(), and rpmRollback().
Output formatted string representation of problem to file handle.
Deprecated: API: prob used to be passed by value, now passed by reference.
Parameters:
Definition at line 202 of file problems.c.
References _free(), and rpmProblemString().
Referenced by rpmProblemSetPrint().
Print problems to file handle.
Parameters:
Definition at line 209 of file problems.c.
References rpmProblem_s::ignoreProblem, rpmProblemSet_s::numProblems, rpmProblemSet_s::probs, and rpmProblemPrint().
Referenced by rpmInstall(), and rpmRollback().
Return formatted string representation of problem.
Deprecated: API: prob used to be passed by value, now passed by reference.
Parameters:
Returns: formatted string (malloc'd)
Definition at line 114 of file problems.c.
References _, rpmProblem_s::altNEVR, rpmProblem_s::pkgNEVR, RPMPROB_BADARCH, RPMPROB_BADOS, RPMPROB_BADPRETRANS, RPMPROB_BADRELOCATE, RPMPROB_CONFLICT, RPMPROB_DISKNODES, RPMPROB_DISKSPACE, RPMPROB_FILE_CONFLICT, RPMPROB_NEW_FILE_CONFLICT, RPMPROB_OLDPACKAGE, RPMPROB_PKG_INSTALLED, RPMPROB_REQUIRES, snprintf(), rpmProblem_s::str1, rpmProblem_s::type, rpmProblem_s::ulong1, and xmalloc().
Referenced by rpmProblemPrint(), and rpmtransRun().
Definition at line 35 of file problems.c.
Referenced by printDepProblems().
Definition at line 101 of file problems.c.
References vsnprintf().
Referenced by doPatch(), doPatchMacro(), doSetupMacro(), doUntar(), rpmInitDB(), and rpmProblemString().
Definition at line 93 of file problems.c.
Generated automatically by Doxygen for rpm from the source code.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |