25 #define PSM_VERBOSE 0x8000
26 #define PSM_INTERNAL 0x4000
27 #define PSM_SYSCALL 0x2000
28 #define PSM_DEAD 0x1000
29 #define _fv(_a) ((_a) | PSM_VERBOSE)
30 #define _fi(_a) ((_a) | PSM_INTERNAL)
31 #define _fs(_a) ((_a) | (PSM_INTERNAL | PSM_SYSCALL))
32 #define _fd(_a) ((_a) | (PSM_INTERNAL | PSM_DEAD))
69 #if defined(_RPMPSM_INTERNAL)
73 typedef enum rpmpsmFlags_e {
74 RPMPSM_FLAGS_DEBUG = (1 << 0),
75 RPMPSM_FLAGS_CHROOTDONE = (1 << 1),
76 RPMPSM_FLAGS_UNORDERED = (1 << 2),
77 RPMPSM_FLAGS_GOTTRIGGERS = (1 << 3),
112 const char * stepName;
114 const char * rpmio_flags;
116 const char * payload_format;
118 const char * failedFile;
133 unsigned long long amount;
134 unsigned long long total;
141 #if defined(__LCLINT__)
162 #define rpmpsmUnlink(_psm, _msg) \
163 ((rpmpsm)rpmioUnlinkPoolItem((rpmioItem)(_psm), _msg, __FILE__, __LINE__))
174 #define rpmpsmLink(_psm, _msg) \
175 ((rpmpsm)rpmioLinkPoolItem((rpmioItem)(_psm), _msg, __FILE__, __LINE__))
187 #define rpmpsmFree(_psm, _msg) \
188 ((rpmpsm)rpmioFreePoolItem((rpmioItem)(_psm), _msg, __FILE__, __LINE__))
210 #define rpmpsmUNSAFE rpmpsmSTAGE