#include "rpmlog.h"
Go to the source code of this file.
Defines | |
#define | RPMMESS_DEBUG RPMLOG_DEBUG |
#define | RPMMESS_VERBOSE RPMLOG_INFO |
#define | RPMMESS_NORMAL RPMLOG_NOTICE |
#define | RPMMESS_WARNING RPMLOG_WARNING |
#define | RPMMESS_ERROR RPMLOG_ERR |
#define | RPMMESS_FATALERROR RPMLOG_CRIT |
#define | RPMMESS_QUIET RPMMESS_WARNING |
#define | rpmMessage rpmlog |
#define | rpmSetVerbosity(_lvl) ((void)rpmlogSetMask( RPMLOG_UPTO( RPMLOG_PRI(_lvl)))) |
#define | rpmIncreaseVerbosity() ((void)rpmlogSetMask(((((unsigned)(rpmlogSetMask(0) & 0xff)) << 1) | 1))) |
#define | rpmDecreaseVerbosity() ((void)rpmlogSetMask((((int)(rpmlogSetMask(0) & 0xff)) >> 1))) |
#define | rpmIsNormal() (rpmlogSetMask(0) >= RPMLOG_MASK( RPMMESS_NORMAL )) |
#define | rpmIsVerbose() (rpmlogSetMask(0) >= RPMLOG_MASK( RPMMESS_VERBOSE )) |
#define | rpmIsDebug() (rpmlogSetMask(0) >= RPMLOG_MASK( RPMMESS_DEBUG )) |
Typedefs | |
typedef const void * | fnpyKey |
typedef enum rpmCallbackType_e | rpmCallbackType |
Bit(s) to identify progress callbacks. | |
typedef void * | rpmCallbackData |
typedef void *(* | rpmCallbackFunction )(const void *h, const rpmCallbackType what, const unsigned long amount, const unsigned long total, fnpyKey key, rpmCallbackData data) |
Enumerations | |
enum | rpmCallbackType_e { RPMCALLBACK_UNKNOWN = 0, RPMCALLBACK_INST_PROGRESS = (1 << 0), RPMCALLBACK_INST_START = (1 << 1), RPMCALLBACK_INST_OPEN_FILE = (1 << 2), RPMCALLBACK_INST_CLOSE_FILE = (1 << 3), RPMCALLBACK_TRANS_PROGRESS = (1 << 4), RPMCALLBACK_TRANS_START = (1 << 5), RPMCALLBACK_TRANS_STOP = (1 << 6), RPMCALLBACK_UNINST_PROGRESS = (1 << 7), RPMCALLBACK_UNINST_START = (1 << 8), RPMCALLBACK_UNINST_STOP = (1 << 9), RPMCALLBACK_REPACKAGE_PROGRESS = (1 << 10), RPMCALLBACK_REPACKAGE_START = (1 << 11), RPMCALLBACK_REPACKAGE_STOP = (1 << 12), RPMCALLBACK_UNPACK_ERROR = (1 << 13), RPMCALLBACK_CPIO_ERROR = (1 << 14) } |
Bit(s) to identify progress callbacks. More... | |
Functions | |
void | urlSetCallback (rpmCallbackFunction notify, rpmCallbackData notifyData, int notifyCount) |
Definition in file rpmmessages.h.
|
Definition at line 25 of file rpmmessages.h. |
|
Definition at line 23 of file rpmmessages.h. Referenced by main(), rpmcliAllArgCallback(), and rpmcliInit(). |
|
Definition at line 31 of file rpmmessages.h. Referenced by headerCheck(), rpmReadPackageFile(), rpmRollback(), rpmVerifySignatures(), and runScript(). |
|
Definition at line 27 of file rpmmessages.h. |
|
Definition at line 29 of file rpmmessages.h. Referenced by checkPassPhrase(), doFoo(), doUntar(), main(), printUsage(), rpmErase(), rpmInstall(), rpmRollback(), rpmShowRC(), rpmVerifySignatures(), runScript(), showQueryPackage(), showVerifyPackage(), and verifyHeader(). |
|
|
Definition at line 15 of file rpmmessages.h. Referenced by checkFiles(), checkSpec(), miFreeHeader(), rpmdbAdd(), rpmdbNextIterator(), rpmdbRebuild(), rpmErase(), rpmGraph(), rpmInstall(), rpmInstallSource(), rpmReadPackageFile(), rpmRollback(), rpmtsOpenDB(), rpmtsOrder(), and urlSplit(). |
|
Definition at line 16 of file rpmmessages.h. |
|
Definition at line 13 of file rpmmessages.h. Referenced by buildSpec(), checkFiles(), doScript(), main(), printDeps(), processBinaryFiles(), rpmcliInit(), rpmdbRebuild(), rpmfcGenerateDependsHelper(), rpmGraph(), rpmInstall(), rpmRollback(), showQueryPackage(), verifyDependencies(), verifyHeader(), and writeRPM(). |
|
Definition at line 18 of file rpmmessages.h. Referenced by rpmcliAllArgCallback(). |
|
Definition at line 12 of file rpmmessages.h. Referenced by rpmpsmStage(). |
|
Definition at line 14 of file rpmmessages.h. Referenced by buildHost(), checkFiles(), dbiTagsInit(), fsmStage(), genCpioListAndHeader(), getMachineInfo(), headerCheck(), rpmdsCompare(), rpmpsmStage(), rpmReadPackageFile(), rpmReSign(), rpmtsAddInstallElement(), rpmtsOpenSDB(), and timeCheck(). |
|
|
Definition at line 21 of file rpmmessages.h. Referenced by main(), rpmcliAllArgCallback(), rpmcliInit(), and setVerbosity(). |
|
Definition at line 35 of file rpmmessages.h. Referenced by addRelation(), addTE(), checkPackageDeps(), rpmalAdd(), rpmalAllFileSatisfiesDepend(), rpmalAllSatisfiesDepend(), rpmalSatisfiesDepend(), rpmdsProblem(), rpmGraph(), rpmInstall(), rpmpsAppend(), rpmRollback(), rpmShowProgress(), rpmteKey(), rpmteNew(), rpmts_Check(), rpmtsAddAvailableElement(), rpmtsAddInstallElement(), rpmtsAvailable(), rpmtsGetKeys(), and rpmtsSolve(). |
|
Definition at line 62 of file rpmmessages.h. Referenced by rpmtsCallback(), and rpmtsSetNotifyCallback(). |
|
Definition at line 71 of file rpmmessages.h. Referenced by rpmtsSetNotifyCallback(), and urlSetCallback(). |
|
Bit(s) to identify progress callbacks.
Referenced by rpmShowProgress(), rpmtsCallback(), and rpmtsNotify(). |
|
Bit(s) to identify progress callbacks.
Definition at line 41 of file rpmmessages.h. |
|
|