summaryrefslogtreecommitdiff
path: root/src/daemon/dlt_daemon_connection.h
diff options
context:
space:
mode:
authorChristoph Lipka <clipka@jp.adit-jv.com>2016-10-12 16:26:30 +0900
committerChristoph Lipka <clipka@jp.adit-jv.com>2016-10-24 13:39:56 +0900
commit28812dda5db637a12366a672272e8a498180c5f7 (patch)
treef6c39e126e18543218dc0419237c6f3d83e255ba /src/daemon/dlt_daemon_connection.h
parentcce8103616694d46d53df581e1378dd13e25b347 (diff)
downloadDLT-daemon-28812dda5db637a12366a672272e8a498180c5f7.tar.gz
Unit Test: Event handling
Unit tests for DLT Daemon connection and event handling Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com>
Diffstat (limited to 'src/daemon/dlt_daemon_connection.h')
-rw-r--r--src/daemon/dlt_daemon_connection.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/daemon/dlt_daemon_connection.h b/src/daemon/dlt_daemon_connection.h
index aa21a11..00759c6 100644
--- a/src/daemon/dlt_daemon_connection.h
+++ b/src/daemon/dlt_daemon_connection.h
@@ -48,4 +48,16 @@ void dlt_connection_destroy(DltConnection *);
void *dlt_connection_get_callback(DltConnection *);
+#ifdef DLT_UNIT_TESTS
+int dlt_connection_send(DltConnection *conn,
+ void *msg,
+ size_t msg_size);
+
+void dlt_connection_destroy_receiver(DltConnection *con);
+
+DltReceiver *dlt_connection_get_receiver(DltDaemonLocal *daemon_local,
+ DltConnectionType type,
+ int fd);
+#endif
+
#endif /* DLT_DAEMON_CONNECTION_H */