/dports/sysutils/pacman/pacman-5.1.3/lib/libalpm/ |
H A D | alpm.h | 47 typedef struct __alpm_handle_t alpm_handle_t; typedef 125 alpm_errno_t alpm_errno(alpm_handle_t *handle); 849 int alpm_option_get_usesyslog(alpm_handle_t *handle); 919 int alpm_option_get_checkspace(alpm_handle_t *handle); 949 alpm_db_t *alpm_get_localdb(alpm_handle_t *handle); 957 alpm_list_t *alpm_get_syncdbs(alpm_handle_t *handle); 1502 int alpm_trans_get_flags(alpm_handle_t *handle); 1543 int alpm_trans_interrupt(alpm_handle_t *handle); 1549 int alpm_trans_release(alpm_handle_t *handle); 1625 int alpm_release(alpm_handle_t *handle); [all …]
|
H A D | handle.c | 42 alpm_handle_t *_alpm_handle_new(void) in _alpm_handle_new() 44 alpm_handle_t *handle; in _alpm_handle_new() 46 CALLOC(handle, 1, sizeof(alpm_handle_t), return NULL); in _alpm_handle_new() 53 void _alpm_handle_free(alpm_handle_t *handle) in _alpm_handle_free() 104 int _alpm_handle_lock(alpm_handle_t *handle) in _alpm_handle_lock() 136 int SYMEXPORT alpm_unlock(alpm_handle_t *handle) in alpm_unlock() 152 int _alpm_handle_unlock(alpm_handle_t *handle) in _alpm_handle_unlock() 258 int SYMEXPORT alpm_option_get_usesyslog(alpm_handle_t *handle) in alpm_option_get_usesyslog() 312 int SYMEXPORT alpm_option_get_checkspace(alpm_handle_t *handle) in alpm_option_get_checkspace() 768 alpm_db_t SYMEXPORT *alpm_get_localdb(alpm_handle_t *handle) in alpm_get_localdb() [all …]
|
H A D | signing.h | 24 char *_alpm_sigpath(alpm_handle_t *handle, const char *path); 25 int _alpm_gpgme_checksig(alpm_handle_t *handle, const char *path, 28 int _alpm_check_pgp_helper(alpm_handle_t *handle, const char *path, 31 int _alpm_process_siglist(alpm_handle_t *handle, const char *identifier, 34 int _alpm_key_in_keychain(alpm_handle_t *handle, const char *fpr); 35 int _alpm_key_import(alpm_handle_t *handle, const char *fpr);
|
H A D | util.h | 117 int _alpm_open_archive(alpm_handle_t *handle, const char *path, 119 int _alpm_unpack_single(alpm_handle_t *handle, const char *archive, 121 int _alpm_unpack(alpm_handle_t *handle, const char *archive, const char *prefix, 124 ssize_t _alpm_files_in_directory(alpm_handle_t *handle, const char *path, int full_count); 128 int _alpm_run_chroot(alpm_handle_t *handle, const char *cmd, char *const argv[], 130 int _alpm_ldconfig(alpm_handle_t *handle); 132 char *_alpm_filecache_find(alpm_handle_t *handle, const char *filename); 133 const char *_alpm_filecache_setup(alpm_handle_t *handle); 145 int _alpm_access(alpm_handle_t *handle, const char *dir, const char *file, int amode);
|
H A D | sync.h | 27 int _alpm_sync_prepare(alpm_handle_t *handle, alpm_list_t **data); 28 int _alpm_sync_load(alpm_handle_t *handle, alpm_list_t **data); 29 int _alpm_sync_check(alpm_handle_t *handle, alpm_list_t **data); 30 int _alpm_sync_commit(alpm_handle_t *handle);
|
H A D | remove.h | 27 int _alpm_remove_prepare(alpm_handle_t *handle, alpm_list_t **data); 28 int _alpm_remove_packages(alpm_handle_t *handle, int run_ldconfig); 30 int _alpm_remove_single_package(alpm_handle_t *handle,
|
H A D | handle.h | 119 alpm_handle_t *_alpm_handle_new(void); 120 void _alpm_handle_free(alpm_handle_t *handle); 122 int _alpm_handle_lock(alpm_handle_t *handle); 123 int _alpm_handle_unlock(alpm_handle_t *handle);
|
H A D | trans.c | 51 int SYMEXPORT alpm_trans_init(alpm_handle_t *handle, int flags) in alpm_trans_init() 75 static alpm_list_t *check_arch(alpm_handle_t *handle, alpm_list_t *pkgs) in check_arch() 101 int SYMEXPORT alpm_trans_prepare(alpm_handle_t *handle, alpm_list_t **data) in alpm_trans_prepare() 160 int SYMEXPORT alpm_trans_commit(alpm_handle_t *handle, alpm_list_t **data) in alpm_trans_commit() 239 int SYMEXPORT alpm_trans_interrupt(alpm_handle_t *handle) in alpm_trans_interrupt() 257 int SYMEXPORT alpm_trans_release(alpm_handle_t *handle) in alpm_trans_release() 332 int _alpm_runscriptlet(alpm_handle_t *handle, const char *filepath, in _alpm_runscriptlet() 422 int SYMEXPORT alpm_trans_get_flags(alpm_handle_t *handle) in alpm_trans_get_flags() 431 alpm_list_t SYMEXPORT *alpm_trans_get_add(alpm_handle_t *handle) in alpm_trans_get_add() 440 alpm_list_t SYMEXPORT *alpm_trans_get_remove(alpm_handle_t *handle) in alpm_trans_get_remove()
|
H A D | remove.c | 57 int SYMEXPORT alpm_remove_pkg(alpm_handle_t *handle, alpm_pkg_t *pkg) in alpm_remove_pkg() 97 static int remove_prepare_cascade(alpm_handle_t *handle, alpm_list_t *lp) in remove_prepare_cascade() 210 int _alpm_remove_prepare(alpm_handle_t *handle, alpm_list_t **data) in _alpm_remove_prepare() 288 static int dir_is_mountpoint(alpm_handle_t *handle, const char *directory, in dir_is_mountpoint() 327 static int can_remove_file(alpm_handle_t *handle, const alpm_file_t *file) in can_remove_file() 354 static void shift_pacsave(alpm_handle_t *handle, const char *file) in shift_pacsave() 446 static int unlink_file(alpm_handle_t *handle, alpm_pkg_t *oldpkg, in unlink_file() 580 static int should_skip_file(alpm_handle_t *handle, in should_skip_file() 602 static int remove_package_files(alpm_handle_t *handle, in remove_package_files() 676 int _alpm_remove_single_package(alpm_handle_t *handle, in _alpm_remove_single_package() [all …]
|
H A D | signing.c | 152 static int init_gpgme(alpm_handle_t *handle) in init_gpgme() 217 int _alpm_key_in_keychain(alpm_handle_t *handle, const char *fpr) in _alpm_key_in_keychain() 269 static int key_search(alpm_handle_t *handle, const char *fpr, in key_search() 392 static int key_import(alpm_handle_t *handle, alpm_pgpkey_t *key) in key_import() 439 int _alpm_key_import(alpm_handle_t *handle, const char *fpr) in _alpm_key_import() 495 int _alpm_gpgme_checksig(alpm_handle_t *handle, const char *path, in _alpm_gpgme_checksig() 736 char *_alpm_sigpath(alpm_handle_t *handle, const char *path) in _alpm_sigpath() 764 int _alpm_check_pgp_helper(alpm_handle_t *handle, const char *path, in _alpm_check_pgp_helper() 851 int _alpm_process_siglist(alpm_handle_t *handle, const char *identifier, in _alpm_process_siglist() 991 alpm_handle_t *handle, const char *identifier) in length_check() [all …]
|
H A D | alpm.c | 48 alpm_handle_t SYMEXPORT *alpm_initialize(const char *root, const char *dbpath, in alpm_initialize() 55 alpm_handle_t *myhandle = _alpm_handle_new(); in alpm_initialize() 110 int SYMEXPORT alpm_release(alpm_handle_t *myhandle) in alpm_release()
|
H A D | db.h | 66 alpm_handle_t *handle; 91 alpm_db_t *_alpm_db_register_local(alpm_handle_t *handle); 92 alpm_db_t *_alpm_db_register_sync(alpm_handle_t *handle, const char *treename,
|
H A D | delta.h | 27 alpm_delta_t *_alpm_delta_parse(alpm_handle_t *handle, const char *line); 30 off_t _alpm_shortest_delta_path(alpm_handle_t *handle, alpm_list_t *deltas,
|
H A D | conflict.h | 28 alpm_list_t *_alpm_innerconflicts(alpm_handle_t *handle, alpm_list_t *packages); 30 alpm_list_t *_alpm_db_find_fileconflicts(alpm_handle_t *handle,
|
H A D | diskspace.h | 59 int _alpm_check_diskspace(alpm_handle_t *handle); 60 int _alpm_check_downloadspace(alpm_handle_t *handle, const char *cachedir,
|
H A D | package.h | 109 alpm_handle_t *handle; 154 int _alpm_pkg_validate_internal(alpm_handle_t *handle, 157 alpm_pkg_t *_alpm_pkg_load_internal(alpm_handle_t *handle,
|
H A D | sync.c | 87 static int check_literal(alpm_handle_t *handle, alpm_pkg_t *lpkg, in check_literal() 314 alpm_handle_t *handle = newpkg->handle; in compute_download_size() 379 int _alpm_sync_prepare(alpm_handle_t *handle, alpm_list_t **data) in _alpm_sync_prepare() 707 static int apply_deltas(alpm_handle_t *handle) in apply_deltas() 866 static struct dload_payload *build_payload(alpm_handle_t *handle, in build_payload() 881 alpm_handle_t *handle = repo->handle; in find_dl_candidates() 1046 static int check_keyring(alpm_handle_t *handle) in check_keyring() 1122 static int check_validity(alpm_handle_t *handle, in check_validity() 1292 int _alpm_sync_load(alpm_handle_t *handle, alpm_list_t **data) in _alpm_sync_load() 1349 int _alpm_sync_check(alpm_handle_t *handle, alpm_list_t **data) in _alpm_sync_check() [all …]
|
H A D | conflict.c | 133 static int add_conflict(alpm_handle_t *handle, alpm_list_t **baddeps, in add_conflict() 166 static void check_conflict(alpm_handle_t *handle, in check_conflict() 212 alpm_list_t *_alpm_innerconflicts(alpm_handle_t *handle, alpm_list_t *packages) in _alpm_innerconflicts() 254 alpm_list_t SYMEXPORT *alpm_checkconflicts(alpm_handle_t *handle, in alpm_checkconflicts() 272 static alpm_list_t *add_fileconflict(alpm_handle_t *handle, in add_fileconflict() 325 static int dir_belongsto_pkgs(alpm_handle_t *handle, const char *dirpath, in dir_belongsto_pkgs() 391 static alpm_pkg_t *_alpm_find_file_owner(alpm_handle_t *handle, const char *path) in _alpm_find_file_owner() 402 static int _alpm_can_overwrite_file(alpm_handle_t *handle, const char *path, const char *rootedpath) in _alpm_can_overwrite_file() 422 alpm_list_t *_alpm_db_find_fileconflicts(alpm_handle_t *handle, in _alpm_db_find_fileconflicts()
|
H A D | deps.h | 31 alpm_list_t *_alpm_sortbydeps(alpm_handle_t *handle, 34 int _alpm_resolvedeps(alpm_handle_t *handle, alpm_list_t *localpkgs, alpm_pkg_t *pkg,
|
H A D | diskspace.c | 72 static int mount_point_load_fsinfo(alpm_handle_t *handle, alpm_mountpoint_t *mountpoint) in mount_point_load_fsinfo() 95 static alpm_list_t *mount_point_list(alpm_handle_t *handle) in mount_point_list() 219 static int calculate_removed_size(alpm_handle_t *handle, in calculate_removed_size() 281 static int calculate_installed_size(alpm_handle_t *handle, in calculate_installed_size() 340 static int check_mountpoint(alpm_handle_t *handle, alpm_mountpoint_t *mp) in check_mountpoint() 361 int _alpm_check_downloadspace(alpm_handle_t *handle, const char *cachedir, in _alpm_check_downloadspace() 421 int _alpm_check_diskspace(alpm_handle_t *handle) in _alpm_check_diskspace()
|
H A D | hook.c | 62 alpm_handle_t *handle; 99 static int _alpm_trigger_validate(alpm_handle_t *handle, in _alpm_trigger_validate() 125 static int _alpm_hook_validate(alpm_handle_t *handle, in _alpm_hook_validate() 266 alpm_handle_t *handle = ctx->handle; in _alpm_hook_parse_cb() 367 static int _alpm_hook_trigger_match_file(alpm_handle_t *handle, in _alpm_hook_trigger_match_file() 472 static int _alpm_hook_trigger_match_pkg(alpm_handle_t *handle, in _alpm_hook_trigger_match_pkg() 528 static int _alpm_hook_trigger_match(alpm_handle_t *handle, in _alpm_hook_trigger_match() 536 static int _alpm_hook_triggered(alpm_handle_t *handle, struct _alpm_hook_t *hook) in _alpm_hook_triggered() 607 static int _alpm_hook_run_hook(alpm_handle_t *handle, struct _alpm_hook_t *hook) in _alpm_hook_run_hook() 632 int _alpm_hook_run(alpm_handle_t *handle, alpm_hook_when_t when) in _alpm_hook_run()
|
H A D | util.c | 236 int _alpm_open_archive(alpm_handle_t *handle, const char *path, in _alpm_open_archive() 293 int _alpm_unpack_single(alpm_handle_t *handle, const char *archive, in _alpm_unpack_single() 315 int _alpm_unpack(alpm_handle_t *handle, const char *path, const char *prefix, in _alpm_unpack() 419 ssize_t _alpm_files_in_directory(alpm_handle_t *handle, const char *path, in _alpm_files_in_directory() 463 static int _alpm_chroot_write_to_child(alpm_handle_t *handle, int fd, in _alpm_chroot_write_to_child() 494 static void _alpm_chroot_process_output(alpm_handle_t *handle, const char *line) in _alpm_chroot_process_output() 504 static int _alpm_chroot_read_from_child(alpm_handle_t *handle, int fd, in _alpm_chroot_read_from_child() 579 int _alpm_run_chroot(alpm_handle_t *handle, const char *cmd, char *const argv[], in _alpm_run_chroot() 779 int _alpm_ldconfig(alpm_handle_t *handle) in _alpm_ldconfig() 816 char *_alpm_filecache_find(alpm_handle_t *handle, const char *filename) in _alpm_filecache_find() [all …]
|
H A D | add.c | 51 int SYMEXPORT alpm_add_pkg(alpm_handle_t *handle, alpm_pkg_t *pkg) in alpm_add_pkg() 109 static int perform_extraction(alpm_handle_t *handle, struct archive *archive, in perform_extraction() 151 static int try_rename(alpm_handle_t *handle, const char *src, const char *dest) in try_rename() 163 static int extract_db_file(alpm_handle_t *handle, struct archive *archive, in extract_db_file() 186 static int extract_single_file(alpm_handle_t *handle, struct archive *archive, in extract_single_file() 410 static int commit_single_pkg(alpm_handle_t *handle, alpm_pkg_t *newpkg, in commit_single_pkg() 656 int _alpm_upgrade_packages(alpm_handle_t *handle) in _alpm_upgrade_packages()
|
H A D | log.c | 54 int SYMEXPORT alpm_logaction(alpm_handle_t *handle, const char *prefix, in alpm_logaction() 112 void _alpm_log(alpm_handle_t *handle, alpm_loglevel_t flag, const char *fmt, ...) in _alpm_log()
|
H A D | deps.c | 104 static alpm_list_t *dep_graph_init(alpm_handle_t *handle, in dep_graph_init() 161 static void _alpm_warn_dep_cycle(alpm_handle_t *handle, alpm_list_t *targets, in _alpm_warn_dep_cycle() 213 alpm_list_t *_alpm_sortbydeps(alpm_handle_t *handle, in _alpm_sortbydeps() 281 static int no_dep_version(alpm_handle_t *handle) in no_dep_version() 315 alpm_list_t SYMEXPORT *alpm_checkdeps(alpm_handle_t *handle, in alpm_checkdeps() 652 static alpm_pkg_t *resolvedep(alpm_handle_t *handle, alpm_depend_t *dep, in resolvedep() 776 alpm_pkg_t SYMEXPORT *alpm_find_dbs_satisfier(alpm_handle_t *handle, in alpm_find_dbs_satisfier() 813 int _alpm_resolvedeps(alpm_handle_t *handle, alpm_list_t *localpkgs, in _alpm_resolvedeps()
|