]> git.ipfire.org Git - people/ms/pakfire.git/blame - src/libpakfire/libpakfire.sym
db: Add function which returns how many packages are installed
[people/ms/pakfire.git] / src / libpakfire / libpakfire.sym
CommitLineData
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
21LIBPAKFIRE_0 {
22global:
6e46b18e 23 # pakfire
8301098b 24 pakfire_cache_age;
3a5d37c5 25 pakfire_cache_stat;
b36355f7 26 pakfire_count_packages;
6e46b18e 27 pakfire_create;
55b57cf6 28 pakfire_execute;
4c574ffc 29 pakfire_execute_command;
6e46b18e 30 pakfire_get_arch;
3f7bcbc4 31 pakfire_get_cache_path;
843fcc66 32 pakfire_get_installed_repo;
86671603 33 pakfire_get_installonly;
6e46b18e 34 pakfire_get_path;
af2ad1e0 35 pakfire_get_pool;
0560505f 36 pakfire_get_repo;
9ad608aa 37 pakfire_make_path;
6e46b18e 38 pakfire_ref;
f989dacd 39 pakfire_search;
3f7bcbc4 40 pakfire_set_cache_path;
843fcc66 41 pakfire_set_installed_repo;
86671603 42 pakfire_set_installonly;
6e46b18e 43 pakfire_unref;
f989dacd
MT
44 pakfire_version_compare;
45 pakfire_whatprovides;
6e46b18e 46
a5600261
MT
47 # arch
48 pakfire_arch_is_compatible;
49 pakfire_arch_machine;
50 pakfire_arch_native;
9dd163f4 51 pakfire_arch_personality;
a5600261
MT
52 pakfire_arch_platform;
53 pakfire_arch_supported;
54 pakfire_arch_supported_by_host;
55
221cc3ce 56 # archive
618ca500 57 pakfire_archive_count_signatures;
221cc3ce
MT
58 pakfire_archive_create;
59 pakfire_archive_extract;
e7da5970 60 pakfire_archive_extraction_path;
496a9911 61 pakfire_archive_get;
221cc3ce
MT
62 pakfire_archive_get_filelist;
63 pakfire_archive_get_format;
51b59d8e 64 pakfire_archive_get_pakfire;
221cc3ce 65 pakfire_archive_get_path;
618ca500 66 pakfire_archive_get_signatures;
213d0220 67 pakfire_archive_get_size;
51b59d8e 68 pakfire_archive_make_package;
221cc3ce
MT
69 pakfire_archive_open;
70 pakfire_archive_read;
b7600b1d
MT
71 pakfire_archive_ref;
72 pakfire_archive_unref;
618ca500
MT
73 pakfire_archive_verify;
74 pakfire_archive_verify_strerror;
221cc3ce 75
b7600b1d
MT
76 # archive signature
77 pakfire_archive_signature_get_data;
78 pakfire_archive_signature_ref;
79 pakfire_archive_signature_unref;
80
18bf891d
MT
81 # db
82 pakfire_db_add_package;
a1571786 83 pakfire_db_check;
18bf891d 84 pakfire_db_open;
817757f4 85 pakfire_db_packages;
18bf891d
MT
86 pakfire_db_ref;
87 pakfire_db_remove_package;
88 pakfire_db_unref;
89
221cc3ce 90 # file
221cc3ce 91 pakfire_file_cmp;
221cc3ce 92 pakfire_file_create;
221cc3ce 93 pakfire_file_get_group;
221cc3ce
MT
94 pakfire_file_get_mode;
95 pakfire_file_get_name;
221cc3ce
MT
96 pakfire_file_get_time;
97 pakfire_file_get_user;
98 pakfire_file_is_file;
99 pakfire_file_is_link;
100 pakfire_file_is_symlink;
101 pakfire_file_is_char;
102 pakfire_file_is_block;
103 pakfire_file_is_dir;
104 pakfire_file_set_group;
105 pakfire_file_set_mode;
106 pakfire_file_set_name;
107 pakfire_file_set_time;
108 pakfire_file_set_user;
109 pakfire_file_sprintf;
5e9463ec
MT
110 pakfire_file_ref;
111 pakfire_file_unref;
112
113 # filelist
114 pakfire_filelist_append;
115 pakfire_filelist_clear;
116 pakfire_filelist_create;
117 pakfire_filelist_get;
118 pakfire_filelist_is_empty;
119 pakfire_filelist_ref;
120 pakfire_filelist_size;
121 pakfire_filelist_sort;
122 pakfire_filelist_unref;
221cc3ce 123
0a89bb8a
MT
124 # key
125 pakfire_key_create;
b9b6a13e 126 pakfire_key_delete;
526e4cec 127 pakfire_key_dump;
0a89bb8a 128 pakfire_key_export;
0a89bb8a
MT
129 pakfire_key_generate;
130 pakfire_key_get;
526e4cec 131 pakfire_key_get_email;
0a89bb8a 132 pakfire_key_get_fingerprint;
526e4cec
MT
133 pakfire_key_get_name;
134 pakfire_key_get_pubkey_algo;
135 pakfire_key_get_pubkey_length;
136 pakfire_key_get_uid;
7b526dd2 137 pakfire_key_import;
526e4cec 138 pakfire_key_is_revoked;
0a89bb8a 139 pakfire_key_list;
7b526dd2
MT
140 pakfire_key_ref;
141 pakfire_key_unref;
0a89bb8a 142
5ac0f067 143 # log
bfa112c3 144 pakfire_log;
5ac0f067
MT
145 pakfire_log_get_function;
146 pakfire_log_get_priority;
147 pakfire_log_set_function;
148 pakfire_log_set_priority;
c348901e
MT
149 pakfire_log_stderr;
150 pakfire_log_syslog;
5ac0f067 151
221cc3ce
MT
152 # package
153 pakfire_package_add_conflicts;
154 pakfire_package_add_obsoletes;
155 pakfire_package_add_provides;
156 pakfire_package_add_recommends;
157 pakfire_package_add_requires;
158 pakfire_package_add_suggests;
159 pakfire_package_cmp;
160 pakfire_package_create;
161 pakfire_package_create2;
162 pakfire_package_dump;
221cc3ce
MT
163 pakfire_package_get_arch;
164 pakfire_package_get_buildhost;
165 pakfire_package_get_buildtime;
166 pakfire_package_get_cache_path;
221cc3ce
MT
167 pakfire_package_get_checksum;
168 pakfire_package_get_conflicts;
169 pakfire_package_get_description;
170 pakfire_package_get_downloadsize;
171 pakfire_package_get_epoch;
172 pakfire_package_get_evr;
173 pakfire_package_get_filelist;
174 pakfire_package_get_filename;
175 pakfire_package_get_groups;
176 pakfire_package_get_license;
177 pakfire_package_get_location;
178 pakfire_package_get_installsize;
179 pakfire_package_get_installtime;
180 pakfire_package_get_maintainer;
181 pakfire_package_get_name;
182 pakfire_package_get_nevra;
183 pakfire_package_get_obsoletes;
178a4506 184 pakfire_package_get_pakfire;
ead8830f 185 pakfire_package_get_prerequires;
221cc3ce
MT
186 pakfire_package_get_provides;
187 pakfire_package_get_recommends;
188 pakfire_package_get_release;
189 pakfire_package_get_repo;
190 pakfire_package_get_requires;
191 pakfire_package_get_size;
192 pakfire_package_get_suggests;
193 pakfire_package_get_summary;
194 pakfire_package_get_url;
195 pakfire_package_get_uuid;
196 pakfire_package_get_vendor;
197 pakfire_package_get_version;
198 pakfire_package_id;
199 pakfire_package_is_installed;
312fd26f 200 pakfire_package_join_evr;
a4e3894f 201 pakfire_package_ref;
221cc3ce
MT
202 pakfire_package_set_arch;
203 pakfire_package_set_buildhost;
204 pakfire_package_set_buildtime;
205 pakfire_package_set_checksum;
206 pakfire_package_set_conflicts;
207 pakfire_package_set_description;
208 pakfire_package_set_downloadsize;
209 pakfire_package_set_evr;
5e9463ec 210 pakfire_package_set_filelist;
221cc3ce
MT
211 pakfire_package_set_filename;
212 pakfire_package_set_groups;
213 pakfire_package_set_installsize;
214 pakfire_package_set_license;
215 pakfire_package_set_maintainer;
216 pakfire_package_set_name;
217 pakfire_package_set_obsoletes;
ead8830f 218 pakfire_package_set_prerequires;
221cc3ce
MT
219 pakfire_package_set_provides;
220 pakfire_package_set_recommends;
221 pakfire_package_set_repo;
222 pakfire_package_set_requires;
223 pakfire_package_set_suggests;
224 pakfire_package_set_summary;
225 pakfire_package_set_url;
226 pakfire_package_set_uuid;
227 pakfire_package_set_vendor;
a4e3894f 228 pakfire_package_unref;
221cc3ce
MT
229
230 # packagelist
231 pakfire_packagelist_count;
232 pakfire_packagelist_create;
221cc3ce
MT
233 pakfire_packagelist_get;
234 pakfire_packagelist_has;
235 pakfire_packagelist_push;
236 pakfire_packagelist_push_if_not_exists;
020190d9 237 pakfire_packagelist_ref;
2b083f1c 238 pakfire_packagelist_sort;
020190d9 239 pakfire_packagelist_unref;
221cc3ce 240
89045ec6 241 # parser
b1b15235 242 pakfire_parser_append;
fb077c4c 243 pakfire_parser_create;
fb08a3af 244 pakfire_parser_create_child;
dac3330d 245 pakfire_parser_dump;
d310f14c 246 pakfire_parser_expand;
0ba52fbe 247 pakfire_parser_get;
b1b15235 248 pakfire_parser_get_parent;
b4f95bb9 249 pakfire_parser_merge;
fb077c4c
MT
250 pakfire_parser_parse_data;
251 pakfire_parser_read;
d310f14c 252 pakfire_parser_ref;
b1b15235 253 pakfire_parser_set;
fb077c4c 254 pakfire_parser_unref;
89045ec6 255
d528058e
MT
256 # problem
257 pakfire_problem_append;
258 pakfire_problem_create;
9c8337dd 259 pakfire_problem_get_solutions;
d528058e
MT
260 pakfire_problem_next;
261 pakfire_problem_ref;
262 pakfire_problem_to_string;
6f94a65f 263 pakfire_problem_unref;
d528058e 264
221cc3ce 265 # repo
312fd26f 266 pakfire_repo_add_archive;
5ade5e8a
MT
267 pakfire_repo_cache_access;
268 pakfire_repo_cache_age;
269 pakfire_repo_cache_get_path;
270 pakfire_repo_cache_open;
221cc3ce
MT
271 pakfire_repo_cmp;
272 pakfire_repo_count;
b4ac59c6 273 pakfire_repo_clean;
221cc3ce 274 pakfire_repo_create;
7b576a96 275 pakfire_repo_get_baseurl;
221cc3ce 276 pakfire_repo_get_cache;
8e163f76 277 pakfire_repo_get_config;
36641775 278 pakfire_repo_get_description;
221cc3ce
MT
279 pakfire_repo_get_name;
280 pakfire_repo_get_enabled;
1415a20b 281 pakfire_repo_get_keyfile;
e6fb5c61 282 pakfire_repo_get_mirrorlist;
6029ca33 283 pakfire_repo_get_pakfire;
843fcc66 284 pakfire_repo_get_pool;
221cc3ce
MT
285 pakfire_repo_get_priority;
286 pakfire_repo_identical;
287 pakfire_repo_internalize;
288 pakfire_repo_is_installed_repo;
221cc3ce
MT
289 pakfire_repo_read_solv;
290 pakfire_repo_read_solv_fp;
3ff6aee6 291 pakfire_repo_ref;
7b576a96 292 pakfire_repo_set_baseurl;
36641775 293 pakfire_repo_set_description;
221cc3ce 294 pakfire_repo_set_enabled;
1415a20b 295 pakfire_repo_set_keyfile;
e6fb5c61 296 pakfire_repo_set_mirrorlist;
221cc3ce
MT
297 pakfire_repo_set_name;
298 pakfire_repo_set_priority;
299 pakfire_repo_write_solv;
300 pakfire_repo_write_solv_fp;
3ff6aee6 301 pakfire_repo_unref;
221cc3ce 302
221cc3ce
MT
303 # relation
304 pakfire_relation_create;
305 pakfire_relation_create_from_id;
a5049794 306 pakfire_relation_create_from_string;
1a497776 307 pakfire_relation_get_id;
221cc3ce 308 pakfire_relation_providers;
1a497776 309 pakfire_relation_ref;
221cc3ce 310 pakfire_relation_str;
1a497776 311 pakfire_relation_unref;
221cc3ce
MT
312
313 # relationlist
314 pakfire_relationlist_add;
221cc3ce 315 pakfire_relationlist_create;
dec8207e 316 pakfire_relationlist_create_from_string;
b76d7b47 317 pakfire_relationlist_get;
1a497776 318 pakfire_relationlist_ref;
b76d7b47 319 pakfire_relationlist_size;
1a497776 320 pakfire_relationlist_unref;
221cc3ce
MT
321
322 # request
323 pakfire_request_create;
324 pakfire_request_distupgrade;
221cc3ce
MT
325 pakfire_request_erase;
326 pakfire_request_erase_relation;
327 pakfire_request_erase_selector;
e3993ac6 328 pakfire_request_get_pool;
d528058e 329 pakfire_request_get_problems;
221cc3ce
MT
330 pakfire_request_get_transaction;
331 pakfire_request_install;
332 pakfire_request_install_relation;
333 pakfire_request_install_selector;
334 pakfire_request_lock;
335 pakfire_request_lock_relation;
336 pakfire_request_lock_selector;
e3993ac6 337 pakfire_request_ref;
221cc3ce
MT
338 pakfire_request_solve;
339 pakfire_request_upgrade;
340 pakfire_request_upgrade_all;
341 pakfire_request_upgrade_relation;
342 pakfire_request_upgrade_selector;
e3993ac6 343 pakfire_request_unref;
221cc3ce
MT
344 pakfire_request_verify;
345
346 # selector
347 pakfire_selector_create;
221cc3ce 348 pakfire_selector_providers;
4347c271 349 pakfire_selector_ref;
221cc3ce 350 pakfire_selector_set;
4347c271 351 pakfire_selector_unref;
221cc3ce 352
9c8337dd
MT
353 # solution
354 pakfire_solution_create;
9c8337dd
MT
355 pakfire_solution_next;
356 pakfire_solution_ref;
357 pakfire_solution_to_string;
b8c2c773 358 pakfire_solution_unref;
9c8337dd 359
221cc3ce
MT
360 # step
361 pakfire_step_create;
221cc3ce
MT
362 pakfire_step_get_downloadsize;
363 pakfire_step_get_installsizechange;
364 pakfire_step_get_package;
365 pakfire_step_get_type;
366 pakfire_step_get_type_string;
367 pakfire_step_needs_download;
adc6f930
MT
368 pakfire_step_ref;
369 pakfire_step_unref;
221cc3ce
MT
370
371 # transaction
6b0b5121 372 pakfire_transaction_count;
221cc3ce 373 pakfire_transaction_create;
b2c4f381 374 pakfire_transaction_dump;
221cc3ce
MT
375 pakfire_transaction_get_packages;
376 pakfire_transaction_get_step;
377 pakfire_transaction_installsizechange;
2ee86b5f 378 pakfire_transaction_ref;
dea70c9f 379 pakfire_transaction_run;
2ee86b5f 380 pakfire_transaction_unref;
221cc3ce
MT
381
382 # util
741801bf 383 pakfire_access;
e1392437
MT
384 pakfire_basename;
385 pakfire_dirname;
221cc3ce
MT
386 pakfire_free;
387 pakfire_get_errno;
dec8207e 388 pakfire_partition_string;
1e8366bc 389 pakfire_path_isdir;
134b2757 390 pakfire_path_join;
55b57cf6 391 pakfire_path_relpath;
3bf7e142 392 pakfire_read_file_into_buffer;
7ccc9d74 393 pakfire_split_string;
8ccb6637 394 pakfire_string_startswith;
312fd26f 395 pakfire_string_to_size;
221cc3ce
MT
396
397local:
398 *;
399};