]>
Commit | Line | Data |
---|---|---|
221cc3ce MT |
1 | /*############################################################################# |
2 | # # | |
3 | # Pakfire - The IPFire package management system # | |
4 | # Copyright (C) 2013 Pakfire development team # | |
5 | # # | |
6 | # This program is free software: you can redistribute it and/or modify # | |
7 | # it under the terms of the GNU General Public License as published by # | |
8 | # the Free Software Foundation, either version 3 of the License, or # | |
9 | # (at your option) any later version. # | |
10 | # # | |
11 | # This program is distributed in the hope that it will be useful, # | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of # | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # | |
14 | # GNU General Public License for more details. # | |
15 | # # | |
16 | # You should have received a copy of the GNU General Public License # | |
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. # | |
18 | # # | |
19 | #############################################################################*/ | |
20 | ||
21 | LIBPAKFIRE_0 { | |
22 | global: | |
6e46b18e | 23 | # pakfire |
5ac0f067 | 24 | pakfire_init; |
8301098b | 25 | pakfire_cache_age; |
3a5d37c5 | 26 | pakfire_cache_stat; |
b36355f7 | 27 | pakfire_count_packages; |
6e46b18e MT |
28 | pakfire_create; |
29 | pakfire_get_arch; | |
3f7bcbc4 | 30 | pakfire_get_cache_path; |
843fcc66 | 31 | pakfire_get_installed_repo; |
86671603 | 32 | pakfire_get_installonly; |
6e46b18e | 33 | pakfire_get_path; |
af2ad1e0 | 34 | pakfire_get_pool; |
0560505f | 35 | pakfire_get_repo; |
6e46b18e | 36 | pakfire_ref; |
f989dacd | 37 | pakfire_search; |
3f7bcbc4 | 38 | pakfire_set_cache_path; |
843fcc66 | 39 | pakfire_set_installed_repo; |
86671603 | 40 | pakfire_set_installonly; |
6e46b18e | 41 | pakfire_unref; |
f989dacd MT |
42 | pakfire_version_compare; |
43 | pakfire_whatprovides; | |
6e46b18e | 44 | |
221cc3ce | 45 | # archive |
618ca500 | 46 | pakfire_archive_count_signatures; |
221cc3ce MT |
47 | pakfire_archive_create; |
48 | pakfire_archive_extract; | |
221cc3ce MT |
49 | pakfire_archive_get_filelist; |
50 | pakfire_archive_get_format; | |
51 | pakfire_archive_get_path; | |
618ca500 | 52 | pakfire_archive_get_signatures; |
221cc3ce MT |
53 | pakfire_archive_open; |
54 | pakfire_archive_read; | |
b7600b1d MT |
55 | pakfire_archive_ref; |
56 | pakfire_archive_unref; | |
618ca500 MT |
57 | pakfire_archive_verify; |
58 | pakfire_archive_verify_strerror; | |
221cc3ce | 59 | |
b7600b1d MT |
60 | # archive signature |
61 | pakfire_archive_signature_get_data; | |
62 | pakfire_archive_signature_ref; | |
63 | pakfire_archive_signature_unref; | |
64 | ||
221cc3ce MT |
65 | # file |
66 | pakfire_file_append; | |
67 | pakfire_file_cmp; | |
68 | pakfire_file_count; | |
69 | pakfire_file_create; | |
70 | pakfire_file_free; | |
71 | pakfire_file_free_all; | |
72 | pakfire_file_get_first; | |
73 | pakfire_file_get_group; | |
74 | pakfire_file_get_last; | |
75 | pakfire_file_get_mode; | |
76 | pakfire_file_get_name; | |
77 | pakfire_file_get_next; | |
78 | pakfire_file_get_prev; | |
79 | pakfire_file_get_time; | |
80 | pakfire_file_get_user; | |
81 | pakfire_file_is_file; | |
82 | pakfire_file_is_link; | |
83 | pakfire_file_is_symlink; | |
84 | pakfire_file_is_char; | |
85 | pakfire_file_is_block; | |
86 | pakfire_file_is_dir; | |
87 | pakfire_file_set_group; | |
88 | pakfire_file_set_mode; | |
89 | pakfire_file_set_name; | |
90 | pakfire_file_set_time; | |
91 | pakfire_file_set_user; | |
92 | pakfire_file_sprintf; | |
93 | pakfire_file_sort; | |
94 | pakfire_file_swap; | |
95 | ||
0a89bb8a MT |
96 | # key |
97 | pakfire_key_create; | |
b9b6a13e | 98 | pakfire_key_delete; |
526e4cec | 99 | pakfire_key_dump; |
0a89bb8a | 100 | pakfire_key_export; |
0a89bb8a MT |
101 | pakfire_key_generate; |
102 | pakfire_key_get; | |
526e4cec | 103 | pakfire_key_get_email; |
0a89bb8a | 104 | pakfire_key_get_fingerprint; |
526e4cec MT |
105 | pakfire_key_get_name; |
106 | pakfire_key_get_pubkey_algo; | |
107 | pakfire_key_get_pubkey_length; | |
108 | pakfire_key_get_uid; | |
7b526dd2 | 109 | pakfire_key_import; |
526e4cec | 110 | pakfire_key_is_revoked; |
0a89bb8a | 111 | pakfire_key_list; |
7b526dd2 MT |
112 | pakfire_key_ref; |
113 | pakfire_key_unref; | |
0a89bb8a | 114 | |
5ac0f067 MT |
115 | # log |
116 | pakfire_log_get_function; | |
117 | pakfire_log_get_priority; | |
118 | pakfire_log_set_function; | |
119 | pakfire_log_set_priority; | |
c348901e MT |
120 | pakfire_log_stderr; |
121 | pakfire_log_syslog; | |
5ac0f067 | 122 | |
221cc3ce MT |
123 | # package |
124 | pakfire_package_add_conflicts; | |
125 | pakfire_package_add_obsoletes; | |
126 | pakfire_package_add_provides; | |
127 | pakfire_package_add_recommends; | |
128 | pakfire_package_add_requires; | |
129 | pakfire_package_add_suggests; | |
130 | pakfire_package_cmp; | |
131 | pakfire_package_create; | |
132 | pakfire_package_create2; | |
133 | pakfire_package_dump; | |
134 | pakfire_package_filelist_append; | |
135 | pakfire_package_filelist_remove; | |
221cc3ce MT |
136 | pakfire_package_get_arch; |
137 | pakfire_package_get_buildhost; | |
138 | pakfire_package_get_buildtime; | |
139 | pakfire_package_get_cache_path; | |
221cc3ce MT |
140 | pakfire_package_get_checksum; |
141 | pakfire_package_get_conflicts; | |
142 | pakfire_package_get_description; | |
143 | pakfire_package_get_downloadsize; | |
144 | pakfire_package_get_epoch; | |
145 | pakfire_package_get_evr; | |
146 | pakfire_package_get_filelist; | |
147 | pakfire_package_get_filename; | |
148 | pakfire_package_get_groups; | |
149 | pakfire_package_get_license; | |
150 | pakfire_package_get_location; | |
151 | pakfire_package_get_installsize; | |
152 | pakfire_package_get_installtime; | |
153 | pakfire_package_get_maintainer; | |
154 | pakfire_package_get_name; | |
155 | pakfire_package_get_nevra; | |
156 | pakfire_package_get_obsoletes; | |
178a4506 | 157 | pakfire_package_get_pakfire; |
221cc3ce MT |
158 | pakfire_package_get_provides; |
159 | pakfire_package_get_recommends; | |
160 | pakfire_package_get_release; | |
161 | pakfire_package_get_repo; | |
162 | pakfire_package_get_requires; | |
163 | pakfire_package_get_size; | |
164 | pakfire_package_get_suggests; | |
165 | pakfire_package_get_summary; | |
166 | pakfire_package_get_url; | |
167 | pakfire_package_get_uuid; | |
168 | pakfire_package_get_vendor; | |
169 | pakfire_package_get_version; | |
170 | pakfire_package_id; | |
171 | pakfire_package_is_installed; | |
a4e3894f | 172 | pakfire_package_ref; |
221cc3ce MT |
173 | pakfire_package_set_arch; |
174 | pakfire_package_set_buildhost; | |
175 | pakfire_package_set_buildtime; | |
176 | pakfire_package_set_checksum; | |
177 | pakfire_package_set_conflicts; | |
178 | pakfire_package_set_description; | |
179 | pakfire_package_set_downloadsize; | |
180 | pakfire_package_set_evr; | |
181 | pakfire_package_set_filename; | |
182 | pakfire_package_set_groups; | |
183 | pakfire_package_set_installsize; | |
184 | pakfire_package_set_license; | |
185 | pakfire_package_set_maintainer; | |
186 | pakfire_package_set_name; | |
187 | pakfire_package_set_obsoletes; | |
188 | pakfire_package_set_provides; | |
189 | pakfire_package_set_recommends; | |
190 | pakfire_package_set_repo; | |
191 | pakfire_package_set_requires; | |
192 | pakfire_package_set_suggests; | |
193 | pakfire_package_set_summary; | |
194 | pakfire_package_set_url; | |
195 | pakfire_package_set_uuid; | |
196 | pakfire_package_set_vendor; | |
a4e3894f | 197 | pakfire_package_unref; |
221cc3ce MT |
198 | |
199 | # packagelist | |
200 | pakfire_packagelist_count; | |
201 | pakfire_packagelist_create; | |
221cc3ce MT |
202 | pakfire_packagelist_get; |
203 | pakfire_packagelist_has; | |
204 | pakfire_packagelist_push; | |
205 | pakfire_packagelist_push_if_not_exists; | |
020190d9 | 206 | pakfire_packagelist_ref; |
2b083f1c | 207 | pakfire_packagelist_sort; |
020190d9 | 208 | pakfire_packagelist_unref; |
221cc3ce | 209 | |
d528058e MT |
210 | # problem |
211 | pakfire_problem_append; | |
212 | pakfire_problem_create; | |
9c8337dd | 213 | pakfire_problem_get_solutions; |
d528058e MT |
214 | pakfire_problem_next; |
215 | pakfire_problem_ref; | |
216 | pakfire_problem_to_string; | |
6f94a65f | 217 | pakfire_problem_unref; |
d528058e | 218 | |
221cc3ce | 219 | # repo |
5ade5e8a MT |
220 | pakfire_repo_cache_access; |
221 | pakfire_repo_cache_age; | |
222 | pakfire_repo_cache_get_path; | |
223 | pakfire_repo_cache_open; | |
221cc3ce MT |
224 | pakfire_repo_cmp; |
225 | pakfire_repo_count; | |
b4ac59c6 | 226 | pakfire_repo_clean; |
221cc3ce | 227 | pakfire_repo_create; |
7b576a96 | 228 | pakfire_repo_get_baseurl; |
221cc3ce | 229 | pakfire_repo_get_cache; |
8e163f76 | 230 | pakfire_repo_get_config; |
221cc3ce MT |
231 | pakfire_repo_get_name; |
232 | pakfire_repo_get_enabled; | |
1415a20b | 233 | pakfire_repo_get_keyfile; |
e6fb5c61 | 234 | pakfire_repo_get_mirrorlist; |
6029ca33 | 235 | pakfire_repo_get_pakfire; |
843fcc66 | 236 | pakfire_repo_get_pool; |
221cc3ce MT |
237 | pakfire_repo_get_priority; |
238 | pakfire_repo_identical; | |
239 | pakfire_repo_internalize; | |
240 | pakfire_repo_is_installed_repo; | |
221cc3ce MT |
241 | pakfire_repo_read_solv; |
242 | pakfire_repo_read_solv_fp; | |
3ff6aee6 | 243 | pakfire_repo_ref; |
7b576a96 | 244 | pakfire_repo_set_baseurl; |
221cc3ce | 245 | pakfire_repo_set_enabled; |
1415a20b | 246 | pakfire_repo_set_keyfile; |
e6fb5c61 | 247 | pakfire_repo_set_mirrorlist; |
221cc3ce MT |
248 | pakfire_repo_set_name; |
249 | pakfire_repo_set_priority; | |
250 | pakfire_repo_write_solv; | |
251 | pakfire_repo_write_solv_fp; | |
3ff6aee6 | 252 | pakfire_repo_unref; |
221cc3ce | 253 | |
221cc3ce MT |
254 | # relation |
255 | pakfire_relation_create; | |
256 | pakfire_relation_create_from_id; | |
1a497776 | 257 | pakfire_relation_get_id; |
221cc3ce | 258 | pakfire_relation_providers; |
1a497776 | 259 | pakfire_relation_ref; |
221cc3ce | 260 | pakfire_relation_str; |
1a497776 | 261 | pakfire_relation_unref; |
221cc3ce MT |
262 | |
263 | # relationlist | |
264 | pakfire_relationlist_add; | |
265 | pakfire_relationlist_count; | |
266 | pakfire_relationlist_create; | |
221cc3ce | 267 | pakfire_relationlist_get_clone; |
1a497776 MT |
268 | pakfire_relationlist_ref; |
269 | pakfire_relationlist_unref; | |
221cc3ce MT |
270 | |
271 | # request | |
272 | pakfire_request_create; | |
273 | pakfire_request_distupgrade; | |
221cc3ce MT |
274 | pakfire_request_erase; |
275 | pakfire_request_erase_relation; | |
276 | pakfire_request_erase_selector; | |
e3993ac6 | 277 | pakfire_request_get_pool; |
d528058e | 278 | pakfire_request_get_problems; |
221cc3ce MT |
279 | pakfire_request_get_transaction; |
280 | pakfire_request_install; | |
281 | pakfire_request_install_relation; | |
282 | pakfire_request_install_selector; | |
283 | pakfire_request_lock; | |
284 | pakfire_request_lock_relation; | |
285 | pakfire_request_lock_selector; | |
e3993ac6 | 286 | pakfire_request_ref; |
221cc3ce MT |
287 | pakfire_request_solve; |
288 | pakfire_request_upgrade; | |
289 | pakfire_request_upgrade_all; | |
290 | pakfire_request_upgrade_relation; | |
291 | pakfire_request_upgrade_selector; | |
e3993ac6 | 292 | pakfire_request_unref; |
221cc3ce MT |
293 | pakfire_request_verify; |
294 | ||
295 | # selector | |
296 | pakfire_selector_create; | |
221cc3ce | 297 | pakfire_selector_providers; |
4347c271 | 298 | pakfire_selector_ref; |
221cc3ce | 299 | pakfire_selector_set; |
4347c271 | 300 | pakfire_selector_unref; |
221cc3ce | 301 | |
9c8337dd MT |
302 | # solution |
303 | pakfire_solution_create; | |
9c8337dd MT |
304 | pakfire_solution_next; |
305 | pakfire_solution_ref; | |
306 | pakfire_solution_to_string; | |
b8c2c773 | 307 | pakfire_solution_unref; |
9c8337dd | 308 | |
221cc3ce MT |
309 | # step |
310 | pakfire_step_create; | |
221cc3ce MT |
311 | pakfire_step_get_downloadsize; |
312 | pakfire_step_get_installsizechange; | |
313 | pakfire_step_get_package; | |
314 | pakfire_step_get_type; | |
315 | pakfire_step_get_type_string; | |
316 | pakfire_step_needs_download; | |
adc6f930 MT |
317 | pakfire_step_ref; |
318 | pakfire_step_unref; | |
221cc3ce MT |
319 | |
320 | # transaction | |
6b0b5121 | 321 | pakfire_transaction_count; |
221cc3ce | 322 | pakfire_transaction_create; |
b2c4f381 | 323 | pakfire_transaction_dump; |
221cc3ce MT |
324 | pakfire_transaction_get_packages; |
325 | pakfire_transaction_get_step; | |
326 | pakfire_transaction_installsizechange; | |
2ee86b5f | 327 | pakfire_transaction_ref; |
dea70c9f | 328 | pakfire_transaction_run; |
2ee86b5f | 329 | pakfire_transaction_unref; |
221cc3ce MT |
330 | |
331 | # util | |
741801bf | 332 | pakfire_access; |
221cc3ce MT |
333 | pakfire_free; |
334 | pakfire_get_errno; | |
134b2757 | 335 | pakfire_path_join; |
221cc3ce MT |
336 | |
337 | local: | |
338 | *; | |
339 | }; |