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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
#include "pk-backend.h"
#include <pk-backend-job.h>
gpointer
pk_backend_job_get_user_data (PkBackendJob *job)
{
return NULL;
}
void
pk_backend_job_set_user_data (PkBackendJob *job, gpointer user_data)
{
}
void
pk_backend_job_set_allow_cancel (PkBackendJob *job, gboolean allow_cancel)
{
}
void
pk_backend_job_package (PkBackendJob *job,
PkInfoEnum info,
const gchar *package_id,
const gchar *summary)
{
}
void
pk_backend_job_set_status (PkBackendJob *job, PkStatusEnum status)
{
}
void
pk_backend_job_set_percentage (PkBackendJob *job, guint percentage)
{
}
void
pk_backend_job_error_code (PkBackendJob *job,
PkErrorEnum error_code, const gchar *format, ...)
{
}
void
pk_backend_job_files (PkBackendJob *job,
const gchar *package_id, gchar **files)
{
}
void
pk_backend_job_details (PkBackendJob *job,
const gchar *package_id,
const gchar *summary,
const gchar *license,
PkGroupEnum group,
const gchar *description,
const gchar *url,
gulong size,
guint64 download_size)
{
}
void
pk_backend_job_update_detail (PkBackendJob *job,
const gchar *package_id,
gchar **updates,
gchar **obsoletes,
gchar **vendor_urls,
gchar **bugzilla_urls,
gchar **cve_urls,
PkRestartEnum restart,
const gchar *update_text,
const gchar *changelog,
PkUpdateStateEnum state,
const gchar *issued,
const gchar *updated)
{
}
gboolean
pk_backend_job_thread_create (PkBackendJob *job,
PkBackendJobThreadFunc func,
gpointer user_data,
GDestroyNotify destroy_func)
{
return FALSE;
}
gboolean pk_directory_remove_contents (const gchar *directory)
{
return TRUE;
}
|