1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#ifndef _PM_CALLBACK_H
#define _PM_CALLBACK_H
#include <alpm.h>
void cb_trans_evt(pmtransevt_t event, void *data1, void *data2);
void cb_trans_conv(pmtransconv_t event, void *data1, void *data2,
void *data3, int *response);
void cb_trans_progress(pmtransprog_t event, const char *pkgname, int percent,
int howmany, int remain);
void cb_dl_progress(const char *filename, int file_xfered, int file_total);
void cb_log(pmloglevel_t level, char *fmt, va_list args);
#endif
|