diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-03 16:53:25 -0500 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-03 16:53:25 -0500 |
commit | 76d13f3efb227f2d05e52dd1b1b322380058b2c2 (patch) | |
tree | 9f53ec6f7f1e79024e296bd5d23e7e3dc95d06f0 /src/obd2/extras.h | |
parent | 9a0b21681c9f2ede882d2ff294190ed2c0603df5 (diff) |
Split up header file for clarity.
Diffstat (limited to 'src/obd2/extras.h')
-rw-r--r-- | src/obd2/extras.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/obd2/extras.h b/src/obd2/extras.h new file mode 100644 index 00000000..e4113077 --- /dev/null +++ b/src/obd2/extras.h @@ -0,0 +1,30 @@ +#ifndef __EXTRAS_H__ +#define __EXTRAS_H__ + +#include <isotp/isotp.h> + +#ifdef __cplusplus +extern "C" { +#endif + +DiagnosticRequestHandle diagnostic_request_malfunction_indicator_status( + DiagnosticShims* shims, + DiagnosticMilStatusReceived callback); + +DiagnosticRequestHandle diagnostic_request_vin(DiagnosticShims* shims, + DiagnosticVinReceived callback); + +DiagnosticRequestHandle diagnostic_request_dtc(DiagnosticShims* shims, + DiagnosticTroubleCodeType dtc_type, + DiagnosticTroubleCodesReceived callback); + +bool diagnostic_clear_dtc(DiagnosticShims* shims); + +DiagnosticRequestHandle diagnostic_enumerate_pids(DiagnosticShims* shims, + DiagnosticRequest* request, DiagnosticPidEnumerationReceived callback); + +#ifdef __cplusplus +} +#endif + +#endif // __EXTRAS_H__ |