From 2b6a91c5885328894fddbad3acd33d80cf5fb792 Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Wed, 8 Jan 2014 12:05:54 -0500 Subject: Add a function prototype for payloder decoders. --- src/obd2/obd2_types.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit 1.2.3-korg