pacman/src/util
Andrew Gregory e7fa35baa2 add front-end provided context to callbacks
Our callbacks require front-ends to maintain state in order to provide
reasonable output.  The new download callback in particular requires
much more complex state information to be saved.  Without the ability to
provide context, state must be saved globally, which may not be possible
for all front-ends.  Scripting language bindings in particular have no
way to register per-handle callbacks without some form of context.

Implements: FS#12721

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
2021-05-01 12:08:14 +10:00
..
.gitignore Remove cleanupdelta 2019-03-07 11:12:12 +10:00
meson.build Remove cleanupdelta 2019-03-07 11:12:12 +10:00
testpkg.c add front-end provided context to callbacks 2021-05-01 12:08:14 +10:00
util-common.c util: Use util-common for strndup in pacsort and pactree 2015-03-03 16:54:17 +10:00
util-common.h util: Use util-common for strndup in pacsort and pactree 2015-03-03 16:54:17 +10:00
vercmp.c Update copyright year 2021-03-01 12:22:20 +10:00