pacman/lib/libalpm
morganamilo bddfcc3f40 libalpm: add getter for handle on db and pkg
db and pkg store a pointer to the handle for internal use but don't
actually provide a way for a user to get it.

Making this accessible is more convenient for front ends and FFI
wrappers.

For example, in other languages it's common to return the error value
directly. To achieve this the python and rust wrappers also store their
own pointer to the handle inside their own pkg/db wrappers.

Exposing this would allow the wrappers to forgo the extra pointer and
just return `pkg.get_handle().last_error()`.
2022-03-08 09:56:53 +10:00
..
po Include az_AZ translation files 2021-09-04 18:02:39 +10:00
.gitignore libalpm: add pkg-config file 2012-04-25 20:02:36 -04:00
add.c Update copyright years 2022-01-02 13:34:52 +10:00
add.h Update copyright years 2022-01-02 13:34:52 +10:00
alpm.c Update copyright years 2022-01-02 13:34:52 +10:00
alpm.h libalpm: add getter for handle on db and pkg 2022-03-08 09:56:53 +10:00
alpm_list.c Update copyright years 2022-01-02 13:34:52 +10:00
alpm_list.h Update copyright years 2022-01-02 13:34:52 +10:00
backup.c Update copyright years 2022-01-02 13:34:52 +10:00
backup.h Update copyright years 2022-01-02 13:34:52 +10:00
base64.c base64.c: comment out unused variable 2014-01-15 15:54:56 +10:00
base64.h Do not #define _RESERVED_IDENTIFIERS 2016-09-25 18:04:57 +10:00
be_local.c Update copyright years 2022-01-02 13:34:52 +10:00
be_package.c Do not use WKD to import keys for package installs from a file 2022-03-06 21:25:30 +10:00
be_sync.c Update copyright years 2022-01-02 13:34:52 +10:00
conflict.c Update copyright years 2022-01-02 13:34:52 +10:00
conflict.h Update copyright years 2022-01-02 13:34:52 +10:00
db.c libalpm: add getter for handle on db and pkg 2022-03-08 09:56:53 +10:00
db.h Update copyright years 2022-01-02 13:34:52 +10:00
deps.c Update copyright years 2022-01-02 13:34:52 +10:00
deps.h Update copyright years 2022-01-02 13:34:52 +10:00
diskspace.c Update copyright years 2022-01-02 13:34:52 +10:00
diskspace.h Update copyright years 2022-01-02 13:34:52 +10:00
dload.c Avoid information leakage with badly formed download header 2022-03-06 21:49:56 +10:00
dload.h Update copyright years 2022-01-02 13:34:52 +10:00
error.c Update copyright years 2022-01-02 13:34:52 +10:00
filelist.c libalpm: mark filelist_contains as taking a const filelist 2022-03-06 17:32:23 +10:00
filelist.h Update copyright years 2022-01-02 13:34:52 +10:00
graph.c Update copyright years 2022-01-02 13:34:52 +10:00
graph.h Update copyright years 2022-01-02 13:34:52 +10:00
group.c Update copyright years 2022-01-02 13:34:52 +10:00
group.h Update copyright years 2022-01-02 13:34:52 +10:00
handle.c Update copyright years 2022-01-02 13:34:52 +10:00
handle.h Update copyright years 2022-01-02 13:34:52 +10:00
hook.c Update copyright years 2022-01-02 13:34:52 +10:00
hook.h Update copyright years 2022-01-02 13:34:52 +10:00
libalpm.pc.in Update urls to not use www. for archlinux.org 2021-04-08 10:14:33 +10:00
libarchive-compat.h Update copyright years 2022-01-02 13:34:52 +10:00
log.c Update copyright years 2022-01-02 13:34:52 +10:00
log.h Update copyright years 2022-01-02 13:34:52 +10:00
meson.build Remove support for deltas from libalpm 2019-03-07 11:12:12 +10:00
package.c libalpm: add getter for handle on db and pkg 2022-03-08 09:56:53 +10:00
package.h Update copyright years 2022-01-02 13:34:52 +10:00
pkghash.c Update copyright years 2022-01-02 13:34:52 +10:00
pkghash.h Update copyright years 2022-01-02 13:34:52 +10:00
rawstr.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
remove.c Update copyright years 2022-01-02 13:34:52 +10:00
remove.h Update copyright years 2022-01-02 13:34:52 +10:00
signing.c Fix segfault when failing to import keys 2022-03-06 20:36:59 +10:00
signing.h Update copyright years 2022-01-02 13:34:52 +10:00
sync.c Update copyright years 2022-01-02 13:34:52 +10:00
sync.h Update copyright years 2022-01-02 13:34:52 +10:00
trans.c Update copyright years 2022-01-02 13:34:52 +10:00
trans.h Update copyright years 2022-01-02 13:34:52 +10:00
util.c Update copyright years 2022-01-02 13:34:52 +10:00
util.h Update copyright years 2022-01-02 13:34:52 +10:00
version.c Update copyright years 2022-01-02 13:34:52 +10:00