summaryrefslogtreecommitdiffstats
path: root/src/basic/dlfcn-util.h
blob: 2c94ed51f34408ee6e908348fbf6631b8d2ca56a (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include <dlfcn.h>

#include "macro.h"

DEFINE_TRIVIAL_CLEANUP_FUNC(void*, dlclose);

int dlsym_many_and_warn(void *dl, int level, ...);