libiio
1.0
Library for interfacing with IIO devices
|
Libiio 0.x to 1.x compatibility library. More...
#include <iio/iio.h>
Go to the source code of this file.
Functions | |
__api __check_ret struct iio_context * | iio_create_default_context (void) |
Create a context from local or remote IIO devices. More... | |
__api __check_ret struct iio_context * | iio_create_local_context (void) |
Create a context from local IIO devices (Linux only) More... | |
__api __check_ret struct iio_context * | iio_create_network_context (const char *host) |
Create a context from the network. More... | |
__api __check_ret struct iio_context * | iio_create_xml_context (const char *xml_file) |
Create a context from a XML file. More... | |
__api __check_ret struct iio_context * | iio_create_context_from_uri (const char *uri) |
Create a context from a URI description. More... | |
__api __check_ret struct iio_scan_context * | iio_create_scan_context (const char *backend, unsigned int flags) |
Create a scan context. More... | |
__api void | iio_scan_context_destroy (struct iio_scan_context *ctx) |
Destroy the given scan context. More... | |
__api __check_ret ssize_t | iio_scan_context_get_info_list (struct iio_scan_context *ctx, struct iio_context_info ***info) |
Enumerate available contexts. More... | |
__api void | iio_context_info_list_free (struct iio_context_info **info) |
Free a context info list. More... | |
__api __check_ret const __pure char * | iio_context_info_get_description (const struct iio_context_info *info) |
Get a description of a discovered context. More... | |
__api __check_ret const __pure char * | iio_context_info_get_uri (const struct iio_context_info *info) |
Get the URI of a discovered context. More... | |
__api struct iio_scan_block * | iio_create_scan_block (const char *backend, unsigned int flags) |
Create a scan block. More... | |
__api void | iio_scan_block_destroy (struct iio_scan_block *blk) |
Destroy the given scan block. More... | |
__api ssize_t | iio_scan_block_scan (struct iio_scan_block *blk) |
Enumerate available contexts via scan block. More... | |
__api struct iio_context_info * | iio_scan_block_get_info (struct iio_scan_block *blk, unsigned int index) |
Get the iio_context_info for a particular context. More... | |
__api void | iio_library_get_version (unsigned int *major, unsigned int *minor, char git_tag[8]) |
Get the version of the libiio library. More... | |
__api __check_ret int | iio_context_get_version (const struct iio_context *ctx, unsigned int *major, unsigned int *minor, char git_tag[8]) |
Get the version of the backend in use. More... | |
__api __check_ret int | iio_device_set_kernel_buffers_count (const struct iio_device *dev, unsigned int nb_buffers) |
Configure the number of kernel buffers for a device. More... | |
Libiio 0.x to 1.x compatibility library.