Soletta™ Framework
|
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include "sol-mainloop.h"
#include "sol-platform.h"
#include "sol-util.h"
Macros | |
#define | CMD_TICK 2000 |
Functions | |
int | main (int argc, char *argv[]) |
static void | on_service_changed (void *data, const char *service, enum sol_platform_service_state state) |
static void | on_state_change (void *data, enum sol_platform_state state) |
static bool | on_timeout_cmd (void *data) |
Variables | |
static char ** | cmds |
static int | cur_cmd |
static int | n_cmds |
static struct sol_timeout * | timeout_handle |
#define CMD_TICK 2000 |
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
|
static |
Referenced by on_timeout_cmd().
|
static |
Referenced by main().
|
static |
References cmds, cur_cmd, n_cmds, on_service_changed(), sol_platform_add_service_monitor(), sol_platform_del_service_monitor(), sol_platform_restart_service(), sol_platform_set_target(), sol_platform_start_service(), sol_platform_stop_service(), and timeout_handle.
Referenced by main().
|
static |
Referenced by main(), and on_timeout_cmd().
|
static |
Referenced by on_timeout_cmd().
|
static |
Referenced by main(), and on_timeout_cmd().
|
static |
Referenced by main(), and on_timeout_cmd().