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

Structure used to keep the application main callbacks. More...

#include <sol-mainloop.h>

Data Fields

uint16_t api_version
 API version. More...
 
uint16_t flags
 Application flags. More...
 
void(* shutdown )(void)
 Application shutdown function. More...
 
void(* startup )(void)
 Application startup function. More...
 

Detailed Description

Structure used to keep the application main callbacks.

It's intended to be used through SOL_MAIN_DEFAULT. Keeps the startup and shutdown callbacks of the application that will be called by SOL_MAIN_DEFAULT when appropriated.

Field Documentation

uint16_t sol_main_callbacks::api_version

API version.

uint16_t sol_main_callbacks::flags

Application flags.

void(* sol_main_callbacks::shutdown)(void)

Application shutdown function.

void(* sol_main_callbacks::startup)(void)

Application startup function.


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