24 #ifndef _DLT_CONTROL_COMMON_H_ 25 #define _DLT_CONTROL_COMMON_H_ 31 #define DLT_CTRL_TIMEOUT 10 33 #define DLT_CTRL_ECUID_LEN 10 34 #define DLT_DAEMON_FLAG_MAX 256 37 # define pr_fmt(fmt) fmt 41 # define PRINT_OUT stderr 43 # define PRINT_OUT stdout 46 #define pr_error(fmt, ...) \ 47 ({ fprintf(PRINT_OUT, pr_fmt(fmt), ## __VA_ARGS__); fflush(PRINT_OUT); }) 48 #define pr_verbose(fmt, ...) \ 49 ({ if (get_verbosity()) { fprintf(PRINT_OUT, pr_fmt(fmt), ## __VA_ARGS__); fflush(PRINT_OUT); } }) 51 #define DLT_CTRL_DEFAULT_ECUID "ECU1" int dlt_control_send_message(DltControlMsgBody *, int)
Send a message to the daemon and wait for the asynchronous answer.
int dlt_parse_config_param(char *config_id, char **config_data)
int dlt_control_init(int(*response_analyser)(char *, void *, int), char *ecuid, int verbosity)
Control communication initialization.
int dlt_control_deinit(void)
Control communication clean-up.