libiio: iio_context_params Struct Reference

libiio 1.0 Library for interfacing with IIO devices

Loading...
Searching...
No Matches
Data Fields
iio_context_params Struct Reference

IIO context creation information. More...

`#include <include/iio/iio.h>`

## Data Fields
FILE * | out
| Handle to the standard output. If NULL, defaults to stdout.
FILE * | err
| Handle to the error output. If NULL, defaults to stderr.
enum iio_log_level | log_level
| Log level to use. Defaults to the log level that was specified at compilation.
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. If zero, defaults to LEVEL_WARNING.
enum iio_log_level | timestamp_level
| Under this log level (excluded), messages are sent without timestamp; above this log level (included), messages are sent with a timestamp. If set to LEVEL_NOLOG, messages at all log levels are sent without a timestamp. If zero, defaults to LEVEL_DEBUG.
int | timeout_ms
| Timeout for I/O operations in milliseconds.
unsigned int | flags
| Flags that control context behavior. Bitmask of values from enum iio_context_flags.
char | __rsrv [32]
| Reserved for future fields.

## Detailed Description

IIO context creation information.

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

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

- iio.h