rpm  4.14.0
rpmcallback.h
Go to the documentation of this file.
1 #ifndef _RPMCALLBACK_H
2 #define _RPMCALLBACK_H
3 
10 #include <rpm/rpmtypes.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
19 typedef enum rpmCallbackType_e {
31  RPMCALLBACK_REPACKAGE_PROGRESS = (1 << 10), /* obsolete, unused */
32  RPMCALLBACK_REPACKAGE_START = (1 << 11), /* obsolete, unused */
33  RPMCALLBACK_REPACKAGE_STOP = (1 << 12), /* obsolete, unused */
39  RPMCALLBACK_INST_STOP = (1 << 18),
42 
57 typedef void * (*rpmCallbackFunction)
58  (const void * h,
59  const rpmCallbackType what,
60  const rpm_loff_t amount,
61  const rpm_loff_t total,
62  fnpyKey key,
63  rpmCallbackData data);
64 
65 #ifdef __cplusplus
66 }
67 #endif
68 
69 #endif /* _RPMCALLBACK_H */
enum rpmCallbackType_e rpmCallbackType
Bit(s) to identify progress callbacks.
void * rpmCallbackData
Definition: rpmtypes.h:76
rpmCallbackType_e
Bit(s) to identify progress callbacks.
Definition: rpmcallback.h:19
const void * fnpyKey
Definition: rpmtypes.h:75
uint64_t rpm_loff_t
Definition: rpmtypes.h:51