From: Christopher Peplin Date: Wed, 8 Jan 2014 17:05:54 +0000 (-0500) Subject: Add a function prototype for payloder decoders. X-Git-Tag: 5.0.2~273^2~36 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=2b6a91c5885328894fddbad3acd33d80cf5fb792;p=apps%2Fagl-service-can-low-level.git Add a function prototype for payloder decoders. --- 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