Go to the documentation of this file.
29 #ifndef USB_MODED_APPSYNC_H_
30 # define USB_MODED_APPSYNC_H_
38 # define CONF_DIR_PATH "/etc/usb-moded/run"
39 # define CONF_DIR_DIAG_PATH "/etc/usb-moded/run-diag"
41 # define APP_INFO_ENTRY "info"
42 # define APP_INFO_MODE_KEY "mode"
43 # define APP_INFO_NAME_KEY "name"
44 # define APP_INFO_LAUNCH_KEY "launch"
45 # define APP_INFO_SYSTEMD_KEY "systemd" // integer
46 # define APP_INFO_SYSTEMD_WAIT_KEY "systemd_wait" //interger
47 # define APP_INFO_POST "post" // integer
void appsync_deactivate_pre(void)
int appsync_mark_active(const char *name, int post)
int appsync_activate_post(const char *mode)
void appsync_load_configuration(void)
void appsync_free_configuration(void)
int appsync_activate_pre(const char *mode)
void appsync_switch_configuration(void)
void appsync_deactivate_all(bool force)
void appsync_deactivate_post(void)