Soletta™ Framework
Framework for making IoT devices

Full online documentation | C API Index
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
my_stream_api_handle Struct Reference

[stream config] More...

Data Fields

int dev
 
size_t feed_size
 
ssize_t(* on_data )(void *user_data, struct my_stream_api_handle *handle, const struct sol_buffer *buf)
 
void(* on_feed_done )(void *user_data, struct my_stream_api_handle *handle, struct sol_blob *blob, int status)
 
struct sol_ptr_vector pending_blobs
 
size_t pending_bytes
 
my_stream_device_monitor_handleread_monitor
 
struct sol_timeoutread_timeout
 
struct sol_reentrant reentrant
 
struct sol_buffer rx
 
const void * user_data
 
my_stream_device_monitor_handlewrite_monitor
 
size_t written
 

Detailed Description

[stream config]

[stream handle]

Examples:
/src/samples/design_patterns/stream_sample.c.

Field Documentation

int my_stream_api_handle::dev
size_t my_stream_api_handle::feed_size
ssize_t(* my_stream_api_handle::on_data)(void *user_data, struct my_stream_api_handle *handle, const struct sol_buffer *buf)
void(* my_stream_api_handle::on_feed_done)(void *user_data, struct my_stream_api_handle *handle, struct sol_blob *blob, int status)
struct sol_ptr_vector my_stream_api_handle::pending_blobs
size_t my_stream_api_handle::pending_bytes
my_stream_device_monitor_handle* my_stream_api_handle::read_monitor
struct sol_timeout* my_stream_api_handle::read_timeout
struct sol_reentrant my_stream_api_handle::reentrant
struct sol_buffer my_stream_api_handle::rx
const void* my_stream_api_handle::user_data
my_stream_device_monitor_handle* my_stream_api_handle::write_monitor
size_t my_stream_api_handle::written

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