aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-08 12:05:54 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-08 12:05:54 -0500
commit2b6a91c5885328894fddbad3acd33d80cf5fb792 (patch)
treee09c5fa2d31ea32fbb4523da489f3c46d02f327f
parent3401380ce6fc0f1021674145105632fbf6304007 (diff)
Add a function prototype for payloder decoders.
-rw-r--r--src/obd2/obd2_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/obd2/obd2_types.h b/src/obd2/obd2_types.h
index d1c5a3a4..5260fa8e 100644
--- a/src/obd2/obd2_types.h
+++ b/src/obd2/obd2_types.h
@@ -126,6 +126,8 @@ typedef enum {
*/
typedef void (*DiagnosticResponseReceived)(const DiagnosticResponse* response);
+typedef float (*DiagnosticResponseDecoder)(const DiagnosticResponse* response);
+
/* Public: A handle for initiating and continuing a single diagnostic request.
*
* A diagnostic request requires one or more CAN messages to be sent, and one