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

Structure to add list support to a type. More...

#include <sol-list.h>

Data Fields

struct sol_listnext
 Link to the next node in the list. More...
 
struct sol_listprev
 Link to the previous node in the list. More...
 

Detailed Description

Structure to add list support to a type.

To make possible for instances of a given type to be part of a sol_list, the type structure needs to begin with a sol_list field. Example:

struct example_s {
struct sol_list list;
int data;
}

Field Documentation

struct sol_list* sol_list::next
struct sol_list* sol_list::prev

Link to the previous node in the list.

Referenced by sol_list_append(), sol_list_init(), sol_list_prepend(), sol_list_remove(), and sol_list_steal().


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