summaryrefslogtreecommitdiffstats
path: root/src/isotp/receive.h
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-03 13:44:39 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-03 13:44:39 -0500
commita5e910714733f309b6db18f6017c6f0864e20d38 (patch)
tree9255d43cd3545ab138595e3abb24c60660052104 /src/isotp/receive.h
parent330358c978ea3d324740a8dba884c4493fa339b8 (diff)
Split up functions in send/receive files for clarity.
Diffstat (limited to 'src/isotp/receive.h')
-rw-r--r--src/isotp/receive.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/isotp/receive.h b/src/isotp/receive.h
index f43d32e2..438d0824 100644
--- a/src/isotp/receive.h
+++ b/src/isotp/receive.h
@@ -13,6 +13,13 @@ void isotp_complete_receive(IsoTpReceiveHandle* handle, IsoTpMessage* message);
bool isotp_handle_single_frame(IsoTpReceiveHandle* handle, IsoTpMessage* message);
+IsoTpReceiveHandle isotp_receive(IsoTpShims* shims,
+ const uint16_t arbitration_id, IsoTpMessageReceivedHandler callback);
+
+IsoTpMessage isotp_continue_receive(IsoTpShims* shims,
+ IsoTpReceiveHandle* handle, const uint16_t arbitration_id,
+ const uint8_t data[], const uint8_t size);
+
#ifdef __cplusplus
}
#endif