diff options
author | jbj <devnull@localhost> | 2000-08-29 22:04:33 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-08-29 22:04:33 +0000 |
commit | c7b24dad58de9de732247194935112066908ff4c (patch) | |
tree | 8a9fc2d06ce04bae8adfe8f54a585f2bcb5ab303 /rpmio/rpmmessages.h | |
parent | 17c5c7e645fd412f8105bccf201f69674737b551 (diff) | |
download | rpm-c7b24dad58de9de732247194935112066908ff4c.tar.gz rpm-c7b24dad58de9de732247194935112066908ff4c.tar.bz2 rpm-c7b24dad58de9de732247194935112066908ff4c.zip |
- translate rpm.8 man page (Peter Ivanyi <ivanyi@internet.sk>).
Doxygen annotations.
CVS patchset: 4146
CVS date: 2000/08/29 22:04:33
Diffstat (limited to 'rpmio/rpmmessages.h')
-rw-r--r-- | rpmio/rpmmessages.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/rpmio/rpmmessages.h b/rpmio/rpmmessages.h index 545c5a70f..4c337033f 100644 --- a/rpmio/rpmmessages.h +++ b/rpmio/rpmmessages.h @@ -15,23 +15,32 @@ #define RPMMESS_QUIET (RPMMESS_NORMAL + 1) typedef enum rpmCallbackType_e { - RPMCALLBACK_INST_PROGRESS, RPMCALLBACK_INST_START, - RPMCALLBACK_INST_OPEN_FILE, RPMCALLBACK_INST_CLOSE_FILE, - RPMCALLBACK_TRANS_PROGRESS, RPMCALLBACK_TRANS_START, RPMCALLBACK_TRANS_STOP, - RPMCALLBACK_UNINST_PROGRESS, RPMCALLBACK_UNINST_START, RPMCALLBACK_UNINST_STOP + RPMCALLBACK_INST_PROGRESS, + RPMCALLBACK_INST_START, + RPMCALLBACK_INST_OPEN_FILE, + RPMCALLBACK_INST_CLOSE_FILE, + RPMCALLBACK_TRANS_PROGRESS, + RPMCALLBACK_TRANS_START, + RPMCALLBACK_TRANS_STOP, + RPMCALLBACK_UNINST_PROGRESS, + RPMCALLBACK_UNINST_START, + RPMCALLBACK_UNINST_STOP } rpmCallbackType; #ifdef __cplusplus extern "C" { #endif +typedef void * rpmCallbackData; typedef void * (*rpmCallbackFunction)(const void * h, const rpmCallbackType what, const unsigned long amount, const unsigned long total, - const void * pkgKey, void * data); + const void * pkgKey, + rpmCallbackData data); -void urlSetCallback(rpmCallbackFunction notify, void *notifyData, int notifyCount); +void urlSetCallback(rpmCallbackFunction notify, rpmCallbackData notifyData, + int notifyCount); void rpmIncreaseVerbosity(void); void rpmSetVerbosity(int level); |