Add a function prototype for payloder decoders.
authorChristopher Peplin <chris.peplin@rhubarbtech.com>
Wed, 8 Jan 2014 17:05:54 +0000 (12:05 -0500)
committerChristopher Peplin <chris.peplin@rhubarbtech.com>
Wed, 8 Jan 2014 17:05:54 +0000 (12:05 -0500)
src/obd2/obd2_types.h

index d1c5a3a..5260fa8 100644 (file)
@@ -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