summaryrefslogtreecommitdiffstats
path: root/src/isotp/receive.h
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-31 12:59:04 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-31 12:59:04 -0500
commit10a35b0a7c380d77cdd24ac90d6aa0abd4601f3e (patch)
tree5f768c8425e99006fc2a7cc7866b932600ae2074 /src/isotp/receive.h
parent90209462aa40f17b24ef91864070b522b6df1b14 (diff)
Draft reworking of API.
Diffstat (limited to 'src/isotp/receive.h')
-rw-r--r--src/isotp/receive.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/isotp/receive.h b/src/isotp/receive.h
index feca993c..3eee89e2 100644
--- a/src/isotp/receive.h
+++ b/src/isotp/receive.h
@@ -9,13 +9,13 @@
extern "C" {
#endif
-void isotp_handle_single_frame(IsoTpHandler* handler, IsoTpMessage* message);
+void isotp_complete_receive(IsoTpHandle* handle, IsoTpMessage* message);
-void isotp_complete_receive(IsoTpHandler* handler, IsoTpMessage* message);
+void isotp_handle_single_frame(IsoTpHandle* handle,
+ IsoTpMessage* message);
-void isotp_receive_can_frame(IsoTpHandler* handler,
- const uint16_t arbitration_id, const uint8_t data[],
- const uint8_t size);
+IsoTpHandle isotp_receive(IsoTpShims* shims, const uint16_t arbitration_id,
+ IsoTpMessageReceivedHandler callback);
#ifdef __cplusplus
}