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_connection.c | |
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_connection.c')
-rw-r--r-- | src/daemon/dlt_daemon_connection.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/daemon/dlt_daemon_connection.c b/src/daemon/dlt_daemon_connection.c index 755e76a..51f975d 100644 --- a/src/daemon/dlt_daemon_connection.c +++ b/src/daemon/dlt_daemon_connection.c @@ -61,7 +61,7 @@ * @return The amount of bytes send on success, -1 otherwise. * errno is appropriately set. */ -static int dlt_connection_send(DltConnection *conn, +STATIC int dlt_connection_send(DltConnection *conn, void *msg, size_t msg_size) { @@ -158,7 +158,7 @@ DltConnection *dlt_connection_get_next(DltConnection *current, int type_mask) return current; } -static void dlt_connection_destroy_receiver(DltConnection *con) +STATIC void dlt_connection_destroy_receiver(DltConnection *con) { if (!con) return; @@ -189,7 +189,7 @@ static void dlt_connection_destroy_receiver(DltConnection *con) * * @return DltReceiver structure or NULL if none corresponds to the type. */ -static DltReceiver *dlt_connection_get_receiver(DltDaemonLocal *daemon_local, +STATIC DltReceiver *dlt_connection_get_receiver(DltDaemonLocal *daemon_local, DltConnectionType type, int fd) { |