49b19567d6
When we dlopen() some library we most likely will resolve more than a few symbols, hence add a helper that makes it easy.
11 lines
192 B
C
11 lines
192 B
C
/* SPDX-License-Identifier: LGPL-2.1+ */
|
|
#pragma once
|
|
|
|
#include <dlfcn.h>
|
|
|
|
#include "macro.h"
|
|
|
|
DEFINE_TRIVIAL_CLEANUP_FUNC(void*, dlclose);
|
|
|
|
int dlsym_many_and_warn(void *dl, int level, ...);
|