[Bug debuginfod/32629] add setter functions to debuginfod_client object as alternative to getenv/setenv
mark at klomp dot org
sourceware-bugzilla@sourceware.org
Mon Feb 3 12:24:19 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=32629
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark at klomp dot org
--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
Would it make sense to create an explicit "constructor" function?
debuginfod_client *debuginfod_begin_urls (const char *urls);
Which you would use to create a debuginfo_client handle that uses the provided
urls.
The existing debuginfod_begin () constructor would then simply be:
return debuginfod_begin_urls (getenv (DEBUGINFOD_URLS_ENV_VAR));
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Elfutils-devel
mailing list