|
Soletta™ Framework
|
These routines are used for Soletta platform Linux micro interaction. More...
#include "sol-common-buildopts.h"#include "sol-platform.h"#include "sol-platform-linux.h"#include <stdbool.h>#include <unistd.h>#include <stdint.h>Go to the source code of this file.
Data Structures | |
| struct | sol_platform_linux_micro_module |
| struct that describes the Linux micro module More... | |
Macros | |
| #define | SOL_PLATFORM_LINUX_MICRO_MODULE(_NAME, decl...) |
| Exports the Linux micro module. More... | |
| #define | SOL_PLATFORM_LINUX_MICRO_MODULE_API_VERSION (1) |
| Compile time API version to be checked during runtime. More... | |
Typedefs | |
| typedef struct sol_platform_linux_micro_module | sol_platform_linux_micro_module |
| struct that describes the Linux micro module More... | |
Functions | |
| void | sol_platform_linux_micro_inform_service_state (const char *service, enum sol_platform_service_state state) |
Inform the service observers the current state of the service. More... | |
These routines are used for Soletta platform Linux micro interaction.
| #define SOL_PLATFORM_LINUX_MICRO_MODULE | ( | _NAME, | |
| decl... | |||
| ) |
Exports the Linux micro module.
This macro should be used to declare a Linux micro module, making it visible to Soletta.
| _NAME | The meta type name. |
| decl | The meta declarations. |
Example:
| #define SOL_PLATFORM_LINUX_MICRO_MODULE_API_VERSION (1) |
Compile time API version to be checked during runtime.
| typedef struct sol_platform_linux_micro_module sol_platform_linux_micro_module |
struct that describes the Linux micro module
| void sol_platform_linux_micro_inform_service_state | ( | const char * | service, |
| enum sol_platform_service_state | state | ||
| ) |
Inform the service observers the current state of the service.
| service | The service name |
| state | The current service state |
1.8.6