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

Soletta vector is an array that grows dynamically. More...

#include <sol-vector.h>

Data Fields

void * data
 Vector data. More...
 
uint16_t elem_size
 Size of each element in bytes. More...
 
uint16_t len
 Vector length. More...
 

Detailed Description

Soletta vector is an array that grows dynamically.

For storing pointers, see sol_ptr_vector.

See Also
sol_ptr_vector
Examples:
/src/samples/coap/lwm2m-client.c, /src/samples/coap/lwm2m-server.c, /src/samples/http/client.c, and /src/samples/network/echo-server.c.

Field Documentation

void* sol_vector::data
uint16_t sol_vector::elem_size

Size of each element in bytes.

Referenced by sol_vector_get_no_check().

uint16_t sol_vector::len

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