diff options
author | Christoph Lipka <clipka@jp.adit-jv.com> | 2016-10-12 16:26:30 +0900 |
---|---|---|
committer | Christoph Lipka <clipka@jp.adit-jv.com> | 2016-10-24 13:39:56 +0900 |
commit | 28812dda5db637a12366a672272e8a498180c5f7 (patch) | |
tree | f6c39e126e18543218dc0419237c6f3d83e255ba /src/daemon/dlt_daemon_event_handler.h | |
parent | cce8103616694d46d53df581e1378dd13e25b347 (diff) | |
download | DLT-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_event_handler.h')
-rw-r--r-- | src/daemon/dlt_daemon_event_handler.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/daemon/dlt_daemon_event_handler.h b/src/daemon/dlt_daemon_event_handler.h index 532cd1f..ea88da9 100644 --- a/src/daemon/dlt_daemon_event_handler.h +++ b/src/daemon/dlt_daemon_event_handler.h @@ -56,4 +56,11 @@ int dlt_event_handler_unregister_connection(DltEventHandler *, int dlt_connection_check_activate(DltEventHandler *, DltConnection *, int); +#ifdef DLT_UNIT_TESTS +int dlt_daemon_remove_connection(DltEventHandler *ev, + DltConnection *to_remove); + +void dlt_daemon_add_connection(DltEventHandler *ev, + DltConnection *connection); +#endif #endif /* DLT_DAEMON_EVENT_HANDLER_H */ |