summaryrefslogtreecommitdiff
path: root/src/daemon/dlt_daemon_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/dlt_daemon_client.h')
-rw-r--r--src/daemon/dlt_daemon_client.h116
1 files changed, 98 insertions, 18 deletions
diff --git a/src/daemon/dlt_daemon_client.h b/src/daemon/dlt_daemon_client.h
index b974b67..8406608 100644
--- a/src/daemon/dlt_daemon_client.h
+++ b/src/daemon/dlt_daemon_client.h
@@ -22,7 +22,7 @@
* License MPL-2.0: Mozilla Public License version 2.0 http://mozilla.org/MPL/2.0/.
*
* \file dlt_daemon_client.h
-*/
+ */
/*******************************************************************************
@@ -89,7 +89,16 @@ int dlt_daemon_client_send_all(DltDaemon *daemon, DltDaemonLocal *daemon_local,
* @param verbose if set to true verbose information is printed out.
* @return unequal 0 if there is an error or buffer is full
*/
-int dlt_daemon_client_send(int sock,DltDaemon *daemon,DltDaemonLocal *daemon_local,void* storage_header,int storage_header_size,void* data1,int size1,void* data2,int size2,int verbose);
+int dlt_daemon_client_send(int sock,
+ DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ void *storage_header,
+ int storage_header_size,
+ void *data1,
+ int size1,
+ void *data2,
+ int size2,
+ int verbose);
/**
* Send out response message to dlt client
@@ -102,7 +111,13 @@ int dlt_daemon_client_send(int sock,DltDaemon *daemon,DltDaemonLocal *daemon_loc
* @param verbose if set to true verbose information is printed out.
* @return -1 if there is an error or buffer is full
*/
-int dlt_daemon_client_send_control_message(int sock, DltDaemon *daemon, DltDaemonLocal *daemon_local, DltMessage *msg, char* appid, char* contid, int verbose);
+int dlt_daemon_client_send_control_message(int sock,
+ DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ DltMessage *msg,
+ char *appid,
+ char *contid,
+ int verbose);
/**
* Process and generate response to received get log info control message
* @param sock connection handle used for sending response
@@ -111,7 +126,11 @@ int dlt_daemon_client_send_control_message(int sock, DltDaemon *daemon, DltDaemo
* @param msg pointer to received control message
* @param verbose if set to true verbose information is printed out.
*/
-void dlt_daemon_control_get_log_info(int sock, DltDaemon *daemon,DltDaemonLocal *daemon_local, DltMessage *msg, int verbose);
+void dlt_daemon_control_get_log_info(int sock,
+ DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ DltMessage *msg,
+ int verbose);
/**
* Process and generate response to received get software version control message
* @param sock connection handle used for sending response
@@ -136,7 +155,12 @@ void dlt_daemon_control_get_default_log_level(int sock, DltDaemon *daemon, DltDa
* @param verbose if set to true verbose information is printed out.
* @return -1 if there is an error or buffer overflow, else 0
*/
-int dlt_daemon_control_message_buffer_overflow(int sock, DltDaemon *daemon, DltDaemonLocal *daemon_local, unsigned int overflow_counter,char* apid, int verbose);
+int dlt_daemon_control_message_buffer_overflow(int sock,
+ DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ unsigned int overflow_counter,
+ char *apid,
+ int verbose);
/**
* Generate response to control message from dlt client
* @param sock connection handle used for sending response
@@ -146,7 +170,12 @@ int dlt_daemon_control_message_buffer_overflow(int sock, DltDaemon *daemon, DltD
* @param status status of response (e.g. ok, not supported, error)
* @param verbose if set to true verbose information is printed out.
*/
-void dlt_daemon_control_service_response(int sock, DltDaemon *daemon, DltDaemonLocal *daemon_local, uint32_t service_id, int8_t status, int verbose);
+void dlt_daemon_control_service_response(int sock,
+ DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ uint32_t service_id,
+ int8_t status,
+ int verbose);
/**
* Send control message unregister context (add on to AUTOSAR standard)
* @param sock connection handle used for sending response
@@ -157,7 +186,13 @@ void dlt_daemon_control_service_response(int sock, DltDaemon *daemon, DltDaemonL
* @param comid Communication id where apid is unregistered
* @param verbose if set to true verbose information is printed out.
*/
-int dlt_daemon_control_message_unregister_context(int sock, DltDaemon *daemon, DltDaemonLocal *daemon_local, char* apid, char* ctid, char* comid, int verbose);
+int dlt_daemon_control_message_unregister_context(int sock,
+ DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ char *apid,
+ char *ctid,
+ char *comid,
+ int verbose);
/**
* Send control message connection info (add on to AUTOSAR standard)
* @param sock connection handle used for sending response
@@ -167,7 +202,12 @@ int dlt_daemon_control_message_unregister_context(int sock, DltDaemon *daemon, D
* @param comid Communication id where connection state changed
* @param verbose if set to true verbose information is printed out.
*/
-int dlt_daemon_control_message_connection_info(int sock, DltDaemon *daemon, DltDaemonLocal *daemon_local, uint8_t state, char* comid, int verbose);
+int dlt_daemon_control_message_connection_info(int sock,
+ DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ uint8_t state,
+ char *comid,
+ int verbose);
/**
* Send control message timezone (add on to AUTOSAR standard)
* @param sock connection handle used for sending response
@@ -192,7 +232,11 @@ int dlt_daemon_control_message_marker(int sock, DltDaemon *daemon, DltDaemonLoca
* @param msg pointer to received control message
* @param verbose if set to true verbose information is printed out.
*/
-int dlt_daemon_client_process_control(int sock, DltDaemon *daemon, DltDaemonLocal *daemon_local, DltMessage *msg, int verbose);
+int dlt_daemon_client_process_control(int sock,
+ DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ DltMessage *msg,
+ int verbose);
/**
* Process and generate response to received sw injection control message
* @param sock connection handle used for sending response
@@ -201,7 +245,11 @@ int dlt_daemon_client_process_control(int sock, DltDaemon *daemon, DltDaemonLoca
* @param msg pointer to received sw injection control message
* @param verbose if set to true verbose information is printed out.
*/
-void dlt_daemon_control_callsw_cinjection(int sock, DltDaemon *daemon, DltDaemonLocal *daemon_local, DltMessage *msg, int verbose);
+void dlt_daemon_control_callsw_cinjection(int sock,
+ DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ DltMessage *msg,
+ int verbose);
/**
* Process and generate response to received set log level control message
* @param sock connection handle used for sending response
@@ -210,7 +258,11 @@ void dlt_daemon_control_callsw_cinjection(int sock, DltDaemon *daemon, DltDaemon
* @param msg pointer to received control message
* @param verbose if set to true verbose information is printed out.
*/
-void dlt_daemon_control_set_log_level(int sock, DltDaemon *daemon, DltDaemonLocal *daemon_local, DltMessage *msg, int verbose);
+void dlt_daemon_control_set_log_level(int sock,
+ DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ DltMessage *msg,
+ int verbose);
/**
* Process and generate response to received set trace status control message
* @param sock connection handle used for sending response
@@ -219,7 +271,11 @@ void dlt_daemon_control_set_log_level(int sock, DltDaemon *daemon, DltDaemonLoca
* @param msg pointer to received control message
* @param verbose if set to true verbose information is printed out.
*/
-void dlt_daemon_control_set_trace_status(int sock, DltDaemon *daemon, DltDaemonLocal *daemon_local, DltMessage *msg, int verbose);
+void dlt_daemon_control_set_trace_status(int sock,
+ DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ DltMessage *msg,
+ int verbose);
/**
* Process and generate response to received set default log level control message
* @param sock connection handle used for sending response
@@ -228,7 +284,11 @@ void dlt_daemon_control_set_trace_status(int sock, DltDaemon *daemon, DltDaemonL
* @param msg pointer to received control message
* @param verbose if set to true verbose information is printed out.
*/
-void dlt_daemon_control_set_default_log_level(int sock, DltDaemon *daemon, DltDaemonLocal *daemon_local, DltMessage *msg, int verbose);
+void dlt_daemon_control_set_default_log_level(int sock,
+ DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ DltMessage *msg,
+ int verbose);
/**
* Process and generate response to received set all log level control message
* @param sock connection handle used for sending response
@@ -237,7 +297,11 @@ void dlt_daemon_control_set_default_log_level(int sock, DltDaemon *daemon, DltDa
* @param msg pointer to received control message
* @param verbose if set to true verbose information is printed out.
*/
-void dlt_daemon_control_set_all_log_level(int sock, DltDaemon *daemon, DltDaemonLocal *daemon_local, DltMessage *msg, int verbose);
+void dlt_daemon_control_set_all_log_level(int sock,
+ DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ DltMessage *msg,
+ int verbose);
/**
* Process and generate response to received set default trace status control message
@@ -247,7 +311,11 @@ void dlt_daemon_control_set_all_log_level(int sock, DltDaemon *daemon, DltDaemon
* @param msg pointer to received control message
* @param verbose if set to true verbose information is printed out.
*/
-void dlt_daemon_control_set_default_trace_status(int sock, DltDaemon *daemon, DltDaemonLocal *daemon_local, DltMessage *msg, int verbose);
+void dlt_daemon_control_set_default_trace_status(int sock,
+ DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ DltMessage *msg,
+ int verbose);
/**
* Process and generate response to received set all trace status control message
* @param sock connection handle used for sending response
@@ -256,7 +324,11 @@ void dlt_daemon_control_set_default_trace_status(int sock, DltDaemon *daemon, Dl
* @param msg pointer to received control message
* @param verbose if set to true verbose information is printed out.
*/
-void dlt_daemon_control_set_all_trace_status(int sock, DltDaemon *daemon, DltDaemonLocal *daemon_local, DltMessage *msg, int verbose);
+void dlt_daemon_control_set_all_trace_status(int sock,
+ DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ DltMessage *msg,
+ int verbose);
/**
* Process and generate response to set timing packets control message
* @param sock connection handle used for sending response
@@ -265,7 +337,11 @@ void dlt_daemon_control_set_all_trace_status(int sock, DltDaemon *daemon, DltDae
* @param msg pointer to received control message
* @param verbose if set to true verbose information is printed out.
*/
-void dlt_daemon_control_set_timing_packets(int sock, DltDaemon *daemon, DltDaemonLocal *daemon_local, DltMessage *msg, int verbose);
+void dlt_daemon_control_set_timing_packets(int sock,
+ DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ DltMessage *msg,
+ int verbose);
/**
* Send time control message
* @param sock connection handle used for sending response
@@ -282,7 +358,11 @@ void dlt_daemon_control_message_time(int sock, DltDaemon *daemon, DltDaemonLocal
* @param msg pointer to received control message
* @param verbose if set to true verbose information is printed out.
*/
-void dlt_daemon_control_service_logstorage(int sock, DltDaemon *daemon, DltDaemonLocal *daemon_local, DltMessage *msg, int verbose);
+void dlt_daemon_control_service_logstorage(int sock,
+ DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ DltMessage *msg,
+ int verbose);
/**
* Process and generate response to received passive node connect control