]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdebuginfod: Add the default progress callback function to the public API
authorAaron Merey <amerey@redhat.com>
Wed, 11 Mar 2026 14:01:38 +0000 (10:01 -0400)
committerAaron Merey <amerey@redhat.com>
Fri, 13 Mar 2026 21:56:16 +0000 (17:56 -0400)
commit10fb2a16f972b21bc07e2adcfb3aebb9ee4f1360
tree8559d28941d3a5a55a47e3f1c546409b817f3df7
parent95889f8212395be69acd17b2628290fdc6819ddc
libdebuginfod: Add the default progress callback function to the public API

Rename default_progressfn to debuginfod_default_progressfn and expose it
in libdebuginfod's public API.  Previously this function could only be
indirectly invoked by clients by setting the DEBUGINFOD_PROGRESS
environment variable and not explicitly setting a progress callback
function with debuginfod_set_progressfn.

The purpose of this change is to make debuginfod_default_progressfn
directly callable so that custom progress callback functions can
delegate progress reporting to it.

Signed-off-by: Aaron Merey <amerey@redhat.com>
debuginfod/debuginfod-client.c
debuginfod/debuginfod.h.in
debuginfod/libdebuginfod.map
doc/debuginfod_default_progressfn.3 [new file with mode: 0644]
doc/debuginfod_find_debuginfo.3