From 9b74a8457aaa9b282cf79427a713b907635d82a2 Mon Sep 17 00:00:00 2001 From: Alexander Wenzel Date: Thu, 19 Dec 2013 10:18:03 +0100 Subject: Cleanup of send return values. Further cleanup of send restructure. Signed-off-by: Alexander Wenzel --- src/daemon/dlt-daemon.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/daemon/dlt-daemon.h') diff --git a/src/daemon/dlt-daemon.h b/src/daemon/dlt-daemon.h index 04def07..69c679e 100755 --- a/src/daemon/dlt-daemon.h +++ b/src/daemon/dlt-daemon.h @@ -154,6 +154,12 @@ typedef struct typedef DltDaemonTimingPacketThreadData DltDaemonECUVersionThreadData; +#define DLT_DAEMON_ERROR_OK 0 +#define DLT_DAEMON_ERROR_UNKNOWN -1 +#define DLT_DAEMON_ERROR_BUFFER_FULL -2 +#define DLT_DAEMON_ERROR_SEND_FAILED -3 +#define DLT_DAEMON_ERROR_WRITE_FAILED -4 + /* Function prototypes */ void dlt_daemon_local_cleanup(DltDaemon *daemon, DltDaemonLocal *daemon_local, int verbose); int dlt_daemon_local_init_p1(DltDaemon *daemon, DltDaemonLocal *daemon_local, int verbose); -- cgit v1.2.1