diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2013-12-28 14:15:24 -0500 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2013-12-28 14:15:24 -0500 |
commit | fd2f9c3b0d869e8243c871e66d31da62bc65887a (patch) | |
tree | befc24b26ceda4d0e957edd1efc1cc083c89ee81 /src/isotp/send.h | |
parent | 45530604e0d62843c75a49e25d2269f10dc9eb4f (diff) |
Encapsulate arb_id, payload and size into a data type.
Diffstat (limited to 'src/isotp/send.h')
-rw-r--r-- | src/isotp/send.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/isotp/send.h b/src/isotp/send.h new file mode 100644 index 00000000..17a7dad0 --- /dev/null +++ b/src/isotp/send.h @@ -0,0 +1,19 @@ +#ifndef __ISOTP_SEND_H__ +#define __ISOTP_SEND_H__ + +#include <isotp/isotp.h> +#include <stdint.h> +#include <stdbool.h> + +#ifdef __cplusplus +extern "C" { +#endif + +bool isotp_send(IsoTpHandler* handler, const uint8_t* payload, + uint16_t payload_size); + +#ifdef __cplusplus +} +#endif + +#endif // __ISOTP_SEND_H__ |