libiio
Public Attributes | List of all members
iio_context_params Struct Reference

IIO context creation information. More...

#include <iio.h>

Public Attributes

unsigned int timeout_ms
 Timeout for I/O operations. More...
 
FILE * out
 Handle to the standard output. More...
 
FILE * err
 Handle to the error output. More...
 
enum iio_log_level log_level
 Log level to use. More...
 
enum iio_log_level stderr_level
 Under this log level (included), messages are sent to the error output ; above this log level (excluded), messages are sent to the standard output. More...
 

Detailed Description

IIO context creation information.

This structure contains parameters that can affect how the IIO context is created.

Member Data Documentation

◆ err

FILE* iio_context_params::err

Handle to the error output.

If NULL, defaults to stderr.

◆ log_level

enum iio_log_level iio_context_params::log_level

Log level to use.

Defaults to the log level that was specified at compilation.

◆ out

FILE* iio_context_params::out

Handle to the standard output.

If NULL, defaults to stdout.

◆ stderr_level

enum iio_log_level iio_context_params::stderr_level

Under this log level (included), messages are sent to the error output ; above this log level (excluded), messages are sent to the standard output.

If zero, defaults to LEVEL_WARNING.

◆ timeout_ms

unsigned int iio_context_params::timeout_ms

Timeout for I/O operations.

If zero, the default timeout is used.


The documentation for this struct was generated from the following file: