summaryrefslogtreecommitdiffstats
path: root/src/isotp/receive.h
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-28 14:15:24 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-28 14:15:24 -0500
commitfd2f9c3b0d869e8243c871e66d31da62bc65887a (patch)
treebefc24b26ceda4d0e957edd1efc1cc083c89ee81 /src/isotp/receive.h
parent45530604e0d62843c75a49e25d2269f10dc9eb4f (diff)
Encapsulate arb_id, payload and size into a data type.
Diffstat (limited to 'src/isotp/receive.h')
-rw-r--r--src/isotp/receive.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/isotp/receive.h b/src/isotp/receive.h
index f7d6c61f..0ff9e8f1 100644
--- a/src/isotp/receive.h
+++ b/src/isotp/receive.h
@@ -9,8 +9,12 @@
extern "C" {
#endif
-void isotp_handle_single_frame(IsoTpHandler* handler, const uint16_t arbitration_id,
- const uint8_t* data, const uint8_t length);
+void isotp_handle_single_frame(IsoTpHandler* handler, IsoTpMessage* message);
+
+void isotp_complete_receive(IsoTpHandler* handler, IsoTpMessage* message);
+
+void isotp_receive_can_frame(IsoTpHandler* handler,
+ const uint16_t arbitration_id, const uint64_t data, const uint8_t size);
#ifdef __cplusplus
}