blob: f16f7fc857910782e000efaa6aaa5a9e9bd69b6b (
plain)
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
44
45
|
#ifndef _PM_CALLBACK_H
#define _PM_CALLBACK_H
#include <sys/types.h>
#include <alpm.h>
void cb_event(alpm_event_t *event);
void cb_question(alpm_question_t event, void *data1, void *data2,
void *data3, int *response);
void cb_progress(alpm_progress_t event, const char *pkgname, int percent,
size_t howmany, size_t remain);
void cb_dl_total(off_t total);
void cb_dl_progress(const char *filename, off_t file_xfered, off_t file_total);
#endif
|