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_config Struct Reference

[stream config] More...

Data Fields

size_t data_buffer_size
 
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)
 
const void * user_data
 

Detailed Description

[stream config]

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

Field Documentation

size_t my_stream_api_config::data_buffer_size
size_t my_stream_api_config::feed_size
ssize_t(* my_stream_api_config::on_data)(void *user_data, struct my_stream_api_handle *handle, const struct sol_buffer *buf)
void(* my_stream_api_config::on_feed_done)(void *user_data, struct my_stream_api_handle *handle, struct sol_blob *blob, int status)
const void* my_stream_api_config::user_data

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