rpm  4.13.0
rpmcallback.h
Go to the documentation of this file.
1 #ifndef _RPMCALLBACK_H
2 #define _RPMCALLBACK_H
3 
4 #include <rpm/rpmtypes.h>
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
13 typedef enum rpmCallbackType_e {
25  RPMCALLBACK_REPACKAGE_PROGRESS = (1 << 10), /* obsolete, unused */
26  RPMCALLBACK_REPACKAGE_START = (1 << 11), /* obsolete, unused */
27  RPMCALLBACK_REPACKAGE_STOP = (1 << 12), /* obsolete, unused */
33  RPMCALLBACK_INST_STOP = (1 << 18),
36 
51 typedef void * (*rpmCallbackFunction)
52  (const void * h,
53  const rpmCallbackType what,
54  const rpm_loff_t amount,
55  const rpm_loff_t total,
56  fnpyKey key,
57  rpmCallbackData data);
58 
59 #ifdef __cplusplus
60 }
61 #endif
62 
63 #endif /* _RPMCALLBACK_H */
enum rpmCallbackType_e rpmCallbackType
Bit(s) to identify progress callbacks.
rpmCallbackType_e
Bit(s) to identify progress callbacks.
Definition: rpmcallback.h:13
uint64_t rpm_loff_t
Definition: rpmtypes.h:51
void * rpmCallbackData
Definition: rpmtypes.h:76
const void * fnpyKey
Definition: rpmtypes.h:75