rpm  4.11.1-rc1
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),
35 
38 typedef void * (*rpmCallbackFunction)
39  (const void * h,
40  const rpmCallbackType what,
41  const rpm_loff_t amount,
42  const rpm_loff_t total,
43  fnpyKey key,
44  rpmCallbackData data);
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif /* _RPMCALLBACK_H */