qrcode-util: make dlopen() logic more like the other cases
authorLennart Poettering <lennart@poettering.net>
Mon, 7 Dec 2020 13:09:37 +0000 (14:09 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 9 Dec 2020 12:34:27 +0000 (13:34 +0100)
commitad914843c6072d64a8e265bb3fda1c1d61f46df6
tree77ecbc1559b4bdf10f7c906f28babb1152cad3de
parent61927b9f116bf45bfdbf19dc2981d4a4f527ae5f
qrcode-util: make dlopen() logic more like the other cases

Let's add a dlopen_qrencode() function that does the actual dlopen()
stuff and caches the result.

This is useful so that we later can automatically test for all dlopen
hookups to work correctly.
src/shared/qrcode-util.c
src/shared/qrcode-util.h