summaryrefslogtreecommitdiff
path: root/lib/rpmcallback.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-01-30 12:59:38 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-01-30 12:59:38 +0200
commit6af8116e7268eb20d5127796d61e55d96360171a (patch)
tree12107a71b6e9447b8a676a367dbe6a5eb4658ded /lib/rpmcallback.h
parent118db841210eb3809b6640a95b03214b0f3bc648 (diff)
downloadrpm-6af8116e7268eb20d5127796d61e55d96360171a.tar.gz
rpm-6af8116e7268eb20d5127796d61e55d96360171a.tar.bz2
rpm-6af8116e7268eb20d5127796d61e55d96360171a.zip
Stick rpmCallbackType to rpmtypes too..
Diffstat (limited to 'lib/rpmcallback.h')
-rw-r--r--lib/rpmcallback.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/rpmcallback.h b/lib/rpmcallback.h
index a557ff172..82ed68744 100644
--- a/lib/rpmcallback.h
+++ b/lib/rpmcallback.h
@@ -1,6 +1,8 @@
#ifndef _RPMCALLBACK_H
#define _RPMCALLBACK_H
+#include <rpm/rpmtypes.h>
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -30,10 +32,6 @@ typedef enum rpmCallbackType_e {
/**
*/
-typedef void * rpmCallbackData;
-
-/**
- */
typedef void * (*rpmCallbackFunction)
(const void * h,
const rpmCallbackType what,