rpm 4.15.1

rpmts.h
Go to the documentation of this file.
1 #ifndef H_RPMTS
2 #define H_RPMTS
3
9 #include <sys/types.h>
10
11 #include <rpm/rpmtypes.h>
12 #include <rpm/rpmte.h>
13 #include <rpm/rpmps.h>
14 #include <rpm/rpmsw.h>
15 #include <rpm/rpmpgp.h>
16 #include <rpm/rpmfi.h>
17 #include <rpm/rpmcallback.h>
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22
23 extern int _rpmts_stats;
24
28 enum rpmtransFlags_e {
29 RPMTRANS_FLAG_NONE = 0,
30 RPMTRANS_FLAG_TEST = (1 << 0),
31 RPMTRANS_FLAG_BUILD_PROBS = (1 << 1),
32 RPMTRANS_FLAG_NOSCRIPTS = (1 << 2),
33 RPMTRANS_FLAG_JUSTDB = (1 << 3),
34 RPMTRANS_FLAG_NOTRIGGERS = (1 << 4),
35 RPMTRANS_FLAG_NODOCS = (1 << 5),
36 RPMTRANS_FLAG_ALLFILES = (1 << 6),
37 RPMTRANS_FLAG_NOPLUGINS = (1 << 7),
38 RPMTRANS_FLAG_NOCONTEXTS = (1 << 8),
39 RPMTRANS_FLAG_NOCAPS = (1 << 9),
40 /* bits 10-15 unused */
41 RPMTRANS_FLAG_NOTRIGGERPREIN= (1 << 16),
42 RPMTRANS_FLAG_NOPRE = (1 << 17),
43 RPMTRANS_FLAG_NOPOST = (1 << 18),
44 RPMTRANS_FLAG_NOTRIGGERIN = (1 << 19),
45 RPMTRANS_FLAG_NOTRIGGERUN = (1 << 20),
46 RPMTRANS_FLAG_NOPREUN = (1 << 21),
47 RPMTRANS_FLAG_NOPOSTUN = (1 << 22),
48 RPMTRANS_FLAG_NOTRIGGERPOSTUN = (1 << 23),
49 RPMTRANS_FLAG_NOPRETRANS = (1 << 24),
50 RPMTRANS_FLAG_NOPOSTTRANS = (1 << 25),
51 /* bit 26 unused */
52 RPMTRANS_FLAG_NOMD5 = (1 << 27),
53 RPMTRANS_FLAG_NOFILEDIGEST = (1 << 27),
54 /* bits 28-29 unused */
55 RPMTRANS_FLAG_NOCONFIGS = (1 << 30),
56 RPMTRANS_FLAG_DEPLOOPS = (1 << 31)
57 };
58
59 typedef rpmFlags rpmtransFlags;
60
61 #define _noTransScripts \
62 ( RPMTRANS_FLAG_NOPRE | \
63 RPMTRANS_FLAG_NOPOST | \
64 RPMTRANS_FLAG_NOPREUN | \
65 RPMTRANS_FLAG_NOPOSTUN | \
66 RPMTRANS_FLAG_NOPRETRANS | \
67 RPMTRANS_FLAG_NOPOSTTRANS \
68 )
69
70 #define _noTransTriggers \
71 ( RPMTRANS_FLAG_NOTRIGGERPREIN | \
72 RPMTRANS_FLAG_NOTRIGGERIN | \
73 RPMTRANS_FLAG_NOTRIGGERUN | \
74 RPMTRANS_FLAG_NOTRIGGERPOSTUN \
75 )
76
77 /* Avoid unnecessary breakage for stuff referring to these unused flags */
78 #define RPMTRANS_FLAG_NOPAYLOAD 0
79 #define RPMTRANS_FLAG_APPLYONLY 0
80 #define RPMTRANS_FLAG_KEEPOBSOLETE 0
81 #define RPMTRANS_FLAG_DIRSTASH 0
82 #define RPMTRANS_FLAG_REPACKAGE 0
83 #define RPMTRANS_FLAG_PKGCOMMIT 0
84 #define RPMTRANS_FLAG_PKGUNDO 0
85 #define RPMTRANS_FLAG_COMMIT 0
86 #define RPMTRANS_FLAG_UNDO 0
87 #define RPMTRANS_FLAG_REVERSE 0
88 #define RPMTRANS_FLAG_NOSUGGEST 0
89 #define RPMTRANS_FLAG_ADDINDEPS 0
90
94 enum rpmVSFlags_e {
95 RPMVSF_DEFAULT = 0,
96 RPMVSF_NOHDRCHK = (1 << 0),
97 RPMVSF_NEEDPAYLOAD = (1 << 1),
98 /* bit(s) 2-7 unused */
99 RPMVSF_NOSHA1HEADER = (1 << 8),
100 RPMVSF_NOSHA256HEADER = (1 << 9),
101 RPMVSF_NODSAHEADER = (1 << 10),
102 RPMVSF_NORSAHEADER = (1 << 11),
103 /* bit(s) 12-15 unused */
104 RPMVSF_NOPAYLOAD = (1 << 16),
105 RPMVSF_NOMD5 = (1 << 17),
106 RPMVSF_NODSA = (1 << 18),
107 RPMVSF_NORSA = (1 << 19)
108 /* bit(s) 16-31 unused */
109 };
110
111 typedef rpmFlags rpmVSFlags;
112
113 #define RPMVSF_MASK_NODIGESTS \
114 ( RPMVSF_NOSHA1HEADER | \
115 RPMVSF_NOSHA256HEADER | \
116 RPMVSF_NOPAYLOAD | \
117 RPMVSF_NOMD5 )
118 #define _RPMVSF_NODIGESTS RPMVSF_MASK_NODIGESTS
119
120 #define RPMVSF_MASK_NOSIGNATURES \
121 ( RPMVSF_NODSAHEADER | \
122 RPMVSF_NORSAHEADER | \
123 RPMVSF_NODSA | \
124 RPMVSF_NORSA )
125 #define _RPMVSF_NOSIGNATURES RPMVSF_MASK_NOSIGNATURES
126
127 #define RPMVSF_MASK_NOHEADER \
128 ( RPMVSF_NOSHA1HEADER | \
129 RPMVSF_NOSHA256HEADER | \
130 RPMVSF_NODSAHEADER | \
131 RPMVSF_NORSAHEADER )
132 #define _RPMVSF_NOHEADER RPMVSF_MASK_NOHEADER
133
134 #define RPMVSF_MASK_NOPAYLOAD \
135 ( RPMVSF_NOMD5 | \
136 RPMVSF_NOPAYLOAD | \
137 RPMVSF_NODSA | \
138 RPMVSF_NORSA )
139 #define _RPMVSF_NOPAYLOAD RPMVSF_MASK_NOPAYLOAD
140
141 enum {
142 RPMSIG_NONE_TYPE = 0,
143 RPMSIG_DIGEST_TYPE = (1 << 0),
144 RPMSIG_SIGNATURE_TYPE = (1 << 1),
145 RPMSIG_OTHER_TYPE = (1 << 2),
146 };
147
148 #define RPMSIG_VERIFIABLE_TYPE (RPMSIG_DIGEST_TYPE|RPMSIG_SIGNATURE_TYPE)
149 #define RPMSIG_UNVERIFIED_TYPE (1 << 30)
150
154 typedef enum rpmtsOpX_e {
155 RPMTS_OP_TOTAL = 0,
156 RPMTS_OP_CHECK = 1,
157 RPMTS_OP_ORDER = 2,
158 RPMTS_OP_FINGERPRINT = 3,
159 RPMTS_OP_INSTALL = 5,
160 RPMTS_OP_ERASE = 6,
161 RPMTS_OP_SCRIPTLETS = 7,
162 RPMTS_OP_COMPRESS = 8,
163 RPMTS_OP_UNCOMPRESS = 9,
164 RPMTS_OP_DIGEST = 10,
165 RPMTS_OP_SIGNATURE = 11,
166 RPMTS_OP_DBADD = 12,
167 RPMTS_OP_DBREMOVE = 13,
168 RPMTS_OP_DBGET = 14,
169 RPMTS_OP_DBPUT = 15,
170 RPMTS_OP_DBDEL = 16,
171 RPMTS_OP_VERIFY = 17,
172 RPMTS_OP_MAX = 18
173 } rpmtsOpX;
174
175 enum rpmtxnFlags_e {
176 RPMTXN_READ = (1 << 0),
177 RPMTXN_WRITE = (1 << 1),
178 };
179 typedef rpmFlags rpmtxnFlags;
180
191 int rpmtsCheck(rpmts ts);
192
209 int rpmtsOrder(rpmts ts);
210
228 int rpmtsRun(rpmts ts, rpmps okProbs, rpmprobFilterFlags ignoreSet);
229
235 rpmts rpmtsLink (rpmts ts);
236
242 int rpmtsCloseDB(rpmts ts);
243
250 int rpmtsOpenDB(rpmts ts, int dbmode);
251
259 int rpmtsInitDB(rpmts ts, int dbmode);
260
266 int rpmtsGetDBMode(rpmts ts);
267
275 int rpmtsSetDBMode(rpmts ts, int dbmode);
276
282 int rpmtsRebuildDB(rpmts ts);
283
289 int rpmtsVerifyDB(rpmts ts);
290
299 rpmdbMatchIterator rpmtsInitIterator(const rpmts ts, rpmDbiTagVal rpmtag,
300 const void * keyp, size_t keylen);
301
309 rpmRC rpmtsImportHeader(rpmtxn txn, Header h, rpmFlags flags);
310
319 rpmRC rpmtsImportPubkey(rpmts ts, const unsigned char * pkt, size_t pktlen);
320
327 rpmKeyring rpmtsGetKeyring(rpmts ts, int autoload);
328
337 int rpmtsSetKeyring(rpmts ts, rpmKeyring keyring);
338
346 int rpmtsSetSolveCallback(rpmts ts,
347 int (*solve) (rpmts ts, rpmds ds, const void * data),
348 const void * solveData);
349
355 rpmps rpmtsProblems(rpmts ts);
356
361 void rpmtsCleanProblems(rpmts ts);
362
367 void rpmtsClean(rpmts ts);
368
373 void rpmtsEmpty(rpmts ts);
374
380 rpmts rpmtsFree(rpmts ts);
381
387 rpmVSFlags rpmtsVSFlags(rpmts ts);
388
395 rpmVSFlags rpmtsSetVSFlags(rpmts ts, rpmVSFlags vsflags);
396
402 rpmVSFlags rpmtsVfyFlags(rpmts ts);
403
410 rpmVSFlags rpmtsSetVfyFlags(rpmts ts, rpmVSFlags vfyflags);
411
417 int rpmtsVfyLevel(rpmts ts);
418
425 int rpmtsSetVfyLevel(rpmts ts, int vfylevel);
426
432 const char * rpmtsRootDir(rpmts ts);
433
440 int rpmtsSetRootDir(rpmts ts, const char * rootDir);
441
447 FD_t rpmtsScriptFd(rpmts ts);
448
454 void rpmtsSetScriptFd(rpmts ts, FD_t scriptFd);
455
461 rpm_tid_t rpmtsGetTid(rpmts ts);
462
469 rpm_tid_t rpmtsSetTid(rpmts ts, rpm_tid_t tid);
470
476 rpmdb rpmtsGetRdb(rpmts ts);
477
487 void * rpmtsNotify(rpmts ts, rpmte te,
488 rpmCallbackType what, rpm_loff_t amount, rpm_loff_t total);
489
495 int rpmtsNElements(rpmts ts);
496
503 rpmte rpmtsElement(rpmts ts, int ix);
504
510 rpmprobFilterFlags rpmtsFilterFlags(rpmts ts);
511
517 rpmtransFlags rpmtsFlags(rpmts ts);
518
525 rpmtransFlags rpmtsSetFlags(rpmts ts, rpmtransFlags transFlags);
526
532 rpm_color_t rpmtsColor(rpmts ts);
533
539 rpm_color_t rpmtsPrefColor(rpmts ts);
540
547 rpm_color_t rpmtsSetColor(rpmts ts, rpm_color_t color);
548
555 rpm_color_t rpmtsSetPrefColor(rpmts ts, rpm_color_t color);
556
563 rpmop rpmtsOp(rpmts ts, rpmtsOpX opx);
564
570 rpmPlugins rpmtsPlugins(rpmts ts);
571
583 int rpmtsSetNotifyCallback(rpmts ts,
584 rpmCallbackFunction notify,
585 rpmCallbackData notifyData);
586
591 rpmts rpmtsCreate(void);
592
606 int rpmtsAddInstallElement(rpmts ts, Header h,
607 const fnpyKey key, int upgrade,
608 rpmRelocation * relocs);
609
618 int rpmtsAddReinstallElement(rpmts ts, Header h, const fnpyKey key);
619
627 int rpmtsAddEraseElement(rpmts ts, Header h, int dboffset);
628
635 rpmtxn rpmtxnBegin(rpmts ts, rpmtxnFlags flags);
636
642 rpmtxn rpmtxnEnd(rpmtxn txn);
643
649 rpmtsi rpmtsiFree(rpmtsi tsi);
650
656 rpmtsi rpmtsiInit(rpmts ts);
657
664 rpmte rpmtsiNext(rpmtsi tsi, rpmElementTypes types);
665
666 #ifdef __cplusplus
667 }
668 #endif
669
670
671 #endif /* H_RPMTS */
rpmtsImportPubkey
rpmRC rpmtsImportPubkey(rpmts ts, const unsigned char *pkt, size_t pktlen)
rpmtsProblems
rpmps rpmtsProblems(rpmts ts)
rpmFlags
uint32_t rpmFlags
Definition: rpmtypes.h:42
rpmtsSetTid
rpm_tid_t rpmtsSetTid(rpmts ts, rpm_tid_t tid)
RPMTRANS_FLAG_NOTRIGGERUN
@ RPMTRANS_FLAG_NOTRIGGERUN
Definition: rpmts.h:45
rpmts
struct rpmts_s * rpmts
Definition: rpmtypes.h:63
RPMTRANS_FLAG_TEST
@ RPMTRANS_FLAG_TEST
Definition: rpmts.h:30
RPMVSF_NODSAHEADER
@ RPMVSF_NODSAHEADER
Definition: rpmts.h:101
rpmtsSetColor
rpm_color_t rpmtsSetColor(rpmts ts, rpm_color_t color)
RPMTS_OP_DBDEL
@ RPMTS_OP_DBDEL
Definition: rpmts.h:170
RPMTRANS_FLAG_NOPOSTTRANS
@ RPMTRANS_FLAG_NOPOSTTRANS
Definition: rpmts.h:50
rpmtsGetRdb
rpmdb rpmtsGetRdb(rpmts ts)
RPMTRANS_FLAG_NOFILEDIGEST
@ RPMTRANS_FLAG_NOFILEDIGEST
Definition: rpmts.h:53
RPMTS_OP_TOTAL
@ RPMTS_OP_TOTAL
Definition: rpmts.h:155
RPMTS_OP_VERIFY
@ RPMTS_OP_VERIFY
Definition: rpmts.h:171
rpmtsCheck
int rpmtsCheck(rpmts ts)
RPMVSF_NORSAHEADER
@ RPMVSF_NORSAHEADER
Definition: rpmts.h:102
RPMVSF_NOHDRCHK
@ RPMVSF_NOHDRCHK
Definition: rpmts.h:96
rpm_tid_t
uint32_t rpm_tid_t
Definition: rpmtypes.h:40
RPMTRANS_FLAG_NOSCRIPTS
@ RPMTRANS_FLAG_NOSCRIPTS
Definition: rpmts.h:32
RPMTS_OP_ORDER
@ RPMTS_OP_ORDER
Definition: rpmts.h:157
rpmtsGetTid
rpm_tid_t rpmtsGetTid(rpmts ts)
rpmtsSetNotifyCallback
int rpmtsSetNotifyCallback(rpmts ts, rpmCallbackFunction notify, rpmCallbackData notifyData)
rpmtsOpX
enum rpmtsOpX_e rpmtsOpX
rpmtsSetKeyring
int rpmtsSetKeyring(rpmts ts, rpmKeyring keyring)
rpmtsSetFlags
rpmtransFlags rpmtsSetFlags(rpmts ts, rpmtransFlags transFlags)
rpmtsNotify
void * rpmtsNotify(rpmts ts, rpmte te, rpmCallbackType what, rpm_loff_t amount, rpm_loff_t total)
RPMTRANS_FLAG_NOPLUGINS
@ RPMTRANS_FLAG_NOPLUGINS
Definition: rpmts.h:37
rpmtsFree
rpmts rpmtsFree(rpmts ts)
RPMTRANS_FLAG_JUSTDB
@ RPMTRANS_FLAG_JUSTDB
Definition: rpmts.h:33
RPMTRANS_FLAG_NODOCS
@ RPMTRANS_FLAG_NODOCS
Definition: rpmts.h:35
rpmtsColor
rpm_color_t rpmtsColor(rpmts ts)
RPMTRANS_FLAG_NOTRIGGERIN
@ RPMTRANS_FLAG_NOTRIGGERIN
Definition: rpmts.h:44
RPMTS_OP_MAX
@ RPMTS_OP_MAX
Definition: rpmts.h:172
rpmtsPrefColor
rpm_color_t rpmtsPrefColor(rpmts ts)
rpmtsLink
rpmts rpmtsLink(rpmts ts)
rpmtxnFlags
rpmFlags rpmtxnFlags
Definition: rpmts.h:179
rpmtsPlugins
rpmPlugins rpmtsPlugins(rpmts ts)
rpmKeyring
struct rpmKeyring_s * rpmKeyring
Definition: rpmtypes.h:80
rpmtsScriptFd
FD_t rpmtsScriptFd(rpmts ts)
RPMTS_OP_DBPUT
@ RPMTS_OP_DBPUT
Definition: rpmts.h:169
rpmtsEmpty
void rpmtsEmpty(rpmts ts)
rpmtsInitDB
int rpmtsInitDB(rpmts ts, int dbmode)
RPMTS_OP_UNCOMPRESS
@ RPMTS_OP_UNCOMPRESS
Definition: rpmts.h:163
rpmtsAddInstallElement
int rpmtsAddInstallElement(rpmts ts, Header h, const fnpyKey key, int upgrade, rpmRelocation *relocs)
RPMTRANS_FLAG_DEPLOOPS
@ RPMTRANS_FLAG_DEPLOOPS
Definition: rpmts.h:56
rpmDbiTagVal
rpm_tag_t rpmDbiTagVal
Definition: rpmtypes.h:31
rpmtsRebuildDB
int rpmtsRebuildDB(rpmts ts)
rpmprobFilterFlags
rpmFlags rpmprobFilterFlags
Definition: rpmprob.h:35
rpmtsCreate
rpmts rpmtsCreate(void)
rpmtsInitIterator
rpmdbMatchIterator rpmtsInitIterator(const rpmts ts, rpmDbiTagVal rpmtag, const void *keyp, size_t keylen)
rpmtxn
struct rpmtxn_s * rpmtxn
Definition: rpmtypes.h:72
rpmtsAddReinstallElement
int rpmtsAddReinstallElement(rpmts ts, Header h, const fnpyKey key)
rpmElementTypes
rpmFlags rpmElementTypes
Definition: rpmte.h:25
RPMTRANS_FLAG_NOPOST
@ RPMTRANS_FLAG_NOPOST
Definition: rpmts.h:43
rpmCallbackData
void * rpmCallbackData
Definition: rpmtypes.h:76
rpmCallbackFunction
void *(* rpmCallbackFunction)(const void *h, const rpmCallbackType what, const rpm_loff_t amount, const rpm_loff_t total, fnpyKey key, rpmCallbackData data)
Definition: rpmcallback.h:61
RPMTRANS_FLAG_NOPREUN
@ RPMTRANS_FLAG_NOPREUN
Definition: rpmts.h:46
rpmtransFlags
rpmFlags rpmtransFlags
Definition: rpmts.h:59
RPMTRANS_FLAG_ALLFILES
@ RPMTRANS_FLAG_ALLFILES
Definition: rpmts.h:36
_rpmts_stats
int _rpmts_stats
rpmtransFlags_e
rpmtransFlags_e
Definition: rpmts.h:28
rpmtsSetVfyLevel
int rpmtsSetVfyLevel(rpmts ts, int vfylevel)
RPMTS_OP_SIGNATURE
@ RPMTS_OP_SIGNATURE
Definition: rpmts.h:165
rpmRC
enum rpmRC_e rpmRC
rpmdb
struct rpmdb_s * rpmdb
Definition: rpmtypes.h:68
RPMSIG_DIGEST_TYPE
@ RPMSIG_DIGEST_TYPE
Definition: rpmts.h:143
RPMTS_OP_ERASE
@ RPMTS_OP_ERASE
Definition: rpmts.h:160
rpmtsVerifyDB
int rpmtsVerifyDB(rpmts ts)
RPMTRANS_FLAG_NOMD5
@ RPMTRANS_FLAG_NOMD5
Definition: rpmts.h:52
rpmtsSetSolveCallback
int rpmtsSetSolveCallback(rpmts ts, int(*solve)(rpmts ts, rpmds ds, const void *data), const void *solveData)
RPMVSF_NOSHA1HEADER
@ RPMVSF_NOSHA1HEADER
Definition: rpmts.h:99
RPMTS_OP_DIGEST
@ RPMTS_OP_DIGEST
Definition: rpmts.h:164
RPMSIG_OTHER_TYPE
@ RPMSIG_OTHER_TYPE
Definition: rpmts.h:145
rpmtsOpenDB
int rpmtsOpenDB(rpmts ts, int dbmode)
RPMTRANS_FLAG_BUILD_PROBS
@ RPMTRANS_FLAG_BUILD_PROBS
Definition: rpmts.h:31
rpmtsElement
rpmte rpmtsElement(rpmts ts, int ix)
RPMVSF_DEFAULT
@ RPMVSF_DEFAULT
Definition: rpmts.h:95
rpmtsSetDBMode
int rpmtsSetDBMode(rpmts ts, int dbmode)
RPMTRANS_FLAG_NOTRIGGERS
@ RPMTRANS_FLAG_NOTRIGGERS
Definition: rpmts.h:34
rpmps
struct rpmps_s * rpmps
Definition: rpmtypes.h:71
rpmtsCloseDB
int rpmtsCloseDB(rpmts ts)
RPMTRANS_FLAG_NOCAPS
@ RPMTRANS_FLAG_NOCAPS
Definition: rpmts.h:39
rpmCallbackType
enum rpmCallbackType_e rpmCallbackType
Bit(s) to identify progress callbacks.
RPMTRANS_FLAG_NONE
@ RPMTRANS_FLAG_NONE
Definition: rpmts.h:29
rpmtsSetVfyFlags
rpmVSFlags rpmtsSetVfyFlags(rpmts ts, rpmVSFlags vfyflags)
RPMTRANS_FLAG_NOTRIGGERPREIN
@ RPMTRANS_FLAG_NOTRIGGERPREIN
Definition: rpmts.h:41
RPMTRANS_FLAG_NOTRIGGERPOSTUN
@ RPMTRANS_FLAG_NOTRIGGERPOSTUN
Definition: rpmts.h:48
rpmtsiFree
rpmtsi rpmtsiFree(rpmtsi tsi)
rpmVSFlags_e
rpmVSFlags_e
Definition: rpmts.h:94
RPMVSF_NORSA
@ RPMVSF_NORSA
Definition: rpmts.h:107
RPMTS_OP_DBADD
@ RPMTS_OP_DBADD
Definition: rpmts.h:166
RPMTS_OP_CHECK
@ RPMTS_OP_CHECK
Definition: rpmts.h:156
rpm_loff_t
uint64_t rpm_loff_t
Definition: rpmtypes.h:51
rpmtsImportHeader
rpmRC rpmtsImportHeader(rpmtxn txn, Header h, rpmFlags flags)
RPMVSF_NOPAYLOAD
@ RPMVSF_NOPAYLOAD
Definition: rpmts.h:104
rpm_color_t
uint32_t rpm_color_t
Definition: rpmtypes.h:38
RPMTRANS_FLAG_NOCONFIGS
@ RPMTRANS_FLAG_NOCONFIGS
Definition: rpmts.h:55
rpmtsi
struct rpmtsi_s * rpmtsi
Definition: rpmtypes.h:70
rpmRelocation_s
We pass these around as an array with a sentinel.
Definition: rpmfiles.h:127
rpmtsRootDir
const char * rpmtsRootDir(rpmts ts)
rpmte
struct rpmte_s * rpmte
Definition: rpmtypes.h:64
RPMTXN_READ
@ RPMTXN_READ
Definition: rpmts.h:176
rpmtsSetVSFlags
rpmVSFlags rpmtsSetVSFlags(rpmts ts, rpmVSFlags vsflags)
rpmtsGetKeyring
rpmKeyring rpmtsGetKeyring(rpmts ts, int autoload)
rpmtsOrder
int rpmtsOrder(rpmts ts)
RPMTS_OP_COMPRESS
@ RPMTS_OP_COMPRESS
Definition: rpmts.h:162
FD_t
struct _FD_s * FD_t
Definition: rpmtypes.h:98
rpmtsClean
void rpmtsClean(rpmts ts)
rpmtsAddEraseElement
int rpmtsAddEraseElement(rpmts ts, Header h, int dboffset)
RPMTS_OP_DBREMOVE
@ RPMTS_OP_DBREMOVE
Definition: rpmts.h:167
rpmtsRun
int rpmtsRun(rpmts ts, rpmps okProbs, rpmprobFilterFlags ignoreSet)
RPMVSF_NODSA
@ RPMVSF_NODSA
Definition: rpmts.h:106
RPMTS_OP_DBGET
@ RPMTS_OP_DBGET
Definition: rpmts.h:168
rpmtsVfyFlags
rpmVSFlags rpmtsVfyFlags(rpmts ts)
rpmtsNElements
int rpmtsNElements(rpmts ts)
RPMSIG_SIGNATURE_TYPE
@ RPMSIG_SIGNATURE_TYPE
Definition: rpmts.h:144
RPMTRANS_FLAG_NOCONTEXTS
@ RPMTRANS_FLAG_NOCONTEXTS
Definition: rpmts.h:38
RPMTS_OP_SCRIPTLETS
@ RPMTS_OP_SCRIPTLETS
Definition: rpmts.h:161
RPMVSF_NEEDPAYLOAD
@ RPMVSF_NEEDPAYLOAD
Definition: rpmts.h:97
rpmop_s
Definition: rpmsw.h:42
RPMTS_OP_FINGERPRINT
@ RPMTS_OP_FINGERPRINT
Definition: rpmts.h:158
RPMTXN_WRITE
@ RPMTXN_WRITE
Definition: rpmts.h:177
RPMTRANS_FLAG_NOPOSTUN
@ RPMTRANS_FLAG_NOPOSTUN
Definition: rpmts.h:47
RPMSIG_NONE_TYPE
@ RPMSIG_NONE_TYPE
Definition: rpmts.h:142
RPMTS_OP_INSTALL
@ RPMTS_OP_INSTALL
Definition: rpmts.h:159
rpmtsOpX_e
rpmtsOpX_e
Definition: rpmts.h:154
rpmVSFlags
rpmFlags rpmVSFlags
Definition: rpmts.h:111
rpmtsGetDBMode
int rpmtsGetDBMode(rpmts ts)
rpmtxnBegin
rpmtxn rpmtxnBegin(rpmts ts, rpmtxnFlags flags)
rpmtsFlags
rpmtransFlags rpmtsFlags(rpmts ts)
Header
struct headerToken_s * Header
Definition: rpmtypes.h:24
rpmtxnFlags_e
rpmtxnFlags_e
Definition: rpmts.h:175
rpmtsiInit
rpmtsi rpmtsiInit(rpmts ts)
rpmtsVSFlags
rpmVSFlags rpmtsVSFlags(rpmts ts)
rpmtsOp
rpmop rpmtsOp(rpmts ts, rpmtsOpX opx)
rpmtsVfyLevel
int rpmtsVfyLevel(rpmts ts)
rpmtsFilterFlags
rpmprobFilterFlags rpmtsFilterFlags(rpmts ts)
RPMTRANS_FLAG_NOPRE
@ RPMTRANS_FLAG_NOPRE
Definition: rpmts.h:42
RPMVSF_NOMD5
@ RPMVSF_NOMD5
Definition: rpmts.h:105
RPMVSF_NOSHA256HEADER
@ RPMVSF_NOSHA256HEADER
Definition: rpmts.h:100
fnpyKey
const typedef void * fnpyKey
Definition: rpmtypes.h:75
rpmtsCleanProblems
void rpmtsCleanProblems(rpmts ts)
rpmtsSetRootDir
int rpmtsSetRootDir(rpmts ts, const char *rootDir)
rpmPlugins
struct rpmPlugins_s * rpmPlugins
Definition: rpmtypes.h:86
rpmtsSetPrefColor
rpm_color_t rpmtsSetPrefColor(rpmts ts, rpm_color_t color)
rpmtsSetScriptFd
void rpmtsSetScriptFd(rpmts ts, FD_t scriptFd)
rpmtxnEnd
rpmtxn rpmtxnEnd(rpmtxn txn)
rpmtsiNext
rpmte rpmtsiNext(rpmtsi tsi, rpmElementTypes types)
rpmds
struct rpmds_s * rpmds
Definition: rpmtypes.h:65
rpmdbMatchIterator
struct rpmdbMatchIterator_s * rpmdbMatchIterator
Definition: rpmtypes.h:69
RPMTRANS_FLAG_NOPRETRANS
@ RPMTRANS_FLAG_NOPRETRANS
Definition: rpmts.h:49