libiio  1.0
Library for interfacing with IIO devices
dynamic.h
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 /*
3  * libiio - Library for interfacing industrial I/O (IIO) devices
4  *
5  * Copyright (C) 2022 Analog Devices, Inc.
6  * Author: Paul Cercueil
7  */
8 
9 #ifndef __IIO_DYNAMIC_H
10 #define __IIO_DYNAMIC_H
11 
12 #include <stdbool.h>
13 
14 struct iio_context_params;
15 
16 void * iio_dlopen(const char *path);
17 void iio_dlclose(void *lib);
18 void * iio_dlsym(void *lib, const char *symbol);
19 
20 bool iio_has_backend_dynamic(const struct iio_context_params *params,
21  const char *name);
22 
23 #endif /* __IIO_DYNAMIC_H */