rpmio/rpmerr.h -
#define _em(_e) (((_e) << 16) | RPMLOG_MAKEPRI(RPMLOG_ERRMSG, RPMLOG_ERR))
#define _wm(_e) (((_e) << 16) | RPMLOG_MAKEPRI(RPMLOG_ERRMSG, RPMLOG_WARNING))
#define _nm(_e) (((_e) << 16) | RPMLOG_MAKEPRI(RPMLOG_ERRMSG, RPMLOG_NOTICE))
#define _im(_e) (((_e) << 16) | RPMLOG_MAKEPRI(RPMLOG_ERRMSG, RPMLOG_INFO))
#define _dm(_e) (((_e) << 16) | RPMLOG_MAKEPRI(RPMLOG_ERRMSG, RPMLOG_DEBUG))
#define rpmError rpmlog
Retrofit rpmError() onto rpmlog sub-system.
#define rpmErrorCode() rpmlogCode()
#define rpmErrorString() rpmlogMessage()
#define rpmErrorSetCallback(_cb) rpmlogSetCallback(_cb)
typedef enum rpmerrCode_e rpmerrCode
Tokens used by rpmError().
typedef rpmlogCallback rpmErrorCallBackType
enum rpmerrCode_e { RPMERR_GDBMOPEN = ((( 2 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_GDBMREAD = ((( 3 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_GDBMWRITE = ((( 4 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_INTERNAL = ((( 5 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_DBCORRUPT = ((( 6 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_OLDDBCORRUPT = ((( 7 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_OLDDBMISSING = ((( 8 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_NOCREATEDB = ((( 9 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_DBOPEN = ((( 10 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_DBGETINDEX = ((( 11 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_DBPUTINDEX = ((( 12 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_NEWPACKAGE = ((( 13 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_BADMAGIC = ((( 14 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_RENAME = ((( 15 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_UNLINK = ((( 16 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_RMDIR = ((( 17 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_PKGINSTALLED = ((( 18 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_CHOWN = ((( 19 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_NOUSER = ((( 20 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_NOGROUP = ((( 21 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_MKDIR = ((( 22 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_FILECONFLICT = ((( 23 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_RPMRC = ((( 24 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_NOSPEC = ((( 25 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_NOTSRPM = ((( 26 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_FLOCK = ((( 27 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_OLDPACKAGE = ((( 28 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_CREATE = ((( 30 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_NOSPACE = ((( 31 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_NORELOCATE = ((( 32 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMMESS_BACKUP = ((( 34 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_MTAB = ((( 35 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_STAT = ((( 36 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_BADDEV = ((( 37 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMMESS_ALTNAME = ((( 38 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMMESS_PREREQLOOP = ((( 39 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_BADRELOCATE = ((( 40 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_OLDDB = ((( 41 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_UNMATCHEDIF = ((( 107 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_RELOAD = ((( 108 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_BADARG = ((( 109 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_SCRIPT = ((( 110 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_READ = ((( 111 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_UNKNOWNOS = ((( 112 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_UNKNOWNARCH = ((( 113 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_EXEC = ((( 114 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_FORK = ((( 115 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_CPIO = ((( 116 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_GZIP = ((( 117 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_BADSPEC = ((( 118 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_LDD = ((( 119 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_BADFILENAME = ((( 120 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_OPEN = ((( 121 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_POPEN = ((( 122 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_NOTREG = ((( 123 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_QUERY = ((( 124 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_QFMT = ((( 125 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_DBCONFIG = ((( 126 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_DBERR = ((( 127 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_BADPACKAGE = ((( 128 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_FREELIST = ((( 129 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_DATATYPE = ((( 130 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_BUILDROOT = ((( 131 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_MAKETEMP = ((( 132 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_FWRITE = ((( 133 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_FREAD = ((( 134 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_READLEAD = ((( 135 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_WRITELEAD = ((( 136 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_QUERYINFO = ((( 137 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_WARNING ))), RPMERR_MANIFEST = ((( 138 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_NOTICE ))), RPMERR_BADHEADER = ((( 139 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_FSEEK = ((( 140 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_REGCOMP = ((( 141 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_REGEXEC = ((( 142 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_BADSIGTYPE = ((( 200 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_SIGGEN = ((( 201 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_ERR ))), RPMERR_SIGVFY = ((( 202 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_NOTICE ))), RPMDEBUG_UNLINK = ((( 512u+16 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_DEBUG ))), RPMDEBUG_RMDIR = ((( 512u+17 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_DEBUG ))), RPMWARN_FLOCK = ((( 512u+27 ) << 16) | ((((unsigned)( RPMLOG_ERRMSG )) << 3) | ( RPMLOG_WARNING ))) }
Tokens used by rpmError().
Todo:
Eliminate from API.
Definition at line 19 of file rpmerr.h.
Definition at line 11 of file rpmerr.h.
Definition at line 17 of file rpmerr.h.
Definition at line 15 of file rpmerr.h.
Definition at line 13 of file rpmerr.h.
Retrofit rpmError() onto rpmlog sub-system.
Definition at line 140 of file rpmerr.h.
Referenced by addCanon(), addChangelog(), addDefault(), addFile(), addFileToTagAux(), addSource(), buildArgCallback(), buildForTarget(), checkForDuplicates(), checkForRequired(), checkForValidArchitectures(), checkOwners(), checkPassPhrase(), checkSpec(), chkdir(), copyFile(), copyNextLine(), cpio_copy(), cpio_doio(), cvtdberr(), db1open(), db3open(), dbiOpen(), dbiSearch(), dbiUpdateIndex(), do_verifyGPGSignature(), doAddSubtract(), doDefine(), doLogical(), doMultiplyDivide(), doOutput(), doPatch(), doPatchMacro(), doPrimary(), doReadRC(), doRelational(), doScript(), doSetupMacro(), doUndefine(), doUntar(), expandMacro(), expandMacros(), fadAlloc(), freeArgs(), fsmStage(), genCpioListAndHeader(), generateDepends(), getFilesystemList(), getOutputFrom(), grabArgs(), handlePreambleTag(), IDTXglob(), isCompressed(), isSpecFile(), machCompatCacheAdd(), makeGPGSignature(), makePGPSignature(), makeTempFile(), manageFile(), mergeFiles(), miregexec(), newRpmdb(), openDatabase(), packageBinaries(), parseBuildInstallClean(), parseDescription(), parseExpressionBoolean(), parseExpressionString(), parseFiles(), parseForAttr(), parseForConfig(), parseForDev(), parseForLang(), parseForSimple(), parseForVerify(), parseNoSource(), parsePreamble(), parsePrep(), parseRCPOT(), parseScript(), parseSpec(), printNewSpecfile(), processBinaryFile(), processPackageFiles(), processScriptFiles(), processSourceFiles(), psmStage(), queryHeader(), rdToken(), readIcon(), readLead(), readLine(), readPackageHeaders(), readRPM(), rpmCheckSig(), rpmdbAdd(), rpmdbCountPackages(), rpmdbNextIterator(), rpmdbRebuild(), rpmdbRemove(), rpmdbSetIteratorRE(), rpmGetFilesystemUsage(), rpmGetPassPhrase(), rpmInstall(), rpmInstallSourcePackage(), rpmQueryVerify(), rpmReadRC(), rpmReadSignature(), rpmReSign(), rpmVerifyFile(), runScript(), showQueryPackage(), verifyGPGSignature(), verifyPGPSignature(), and writeRPM().
Definition at line 141 of file rpmerr.h.
Definition at line 143 of file rpmerr.h.
Referenced by errorSetCallback(), findUpgradePackages(), ugFindUpgradePackages(), and unmarkPackagesAlreadyInstalled().
Definition at line 142 of file rpmerr.h.
Tokens used by rpmError().
Definition at line 145 of file rpmerr.h.
Referenced by ugFindUpgradePackages().
Tokens used by rpmError().
Enumeration values:
Definition at line 26 of file rpmerr.h.
Generated automatically by Doxygen for rpm from the source code.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |