diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-06-20 10:24:05 +0000 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-06-20 10:24:05 +0000 |
commit | 32e25cbca210a359b09768537b6f443fe90a3070 (patch) | |
tree | 3309794c15d8a8f8e9c1c08cad072ee1378813ba /CAN-binder/libs/isotp-c/src/isotp/isotp.h | |
parent | 76c43dec62b2e21cd6446360c00d4fe6b437533f (diff) |
Separation Generator to a dedicated repo
Change-Id: Id94831651c3266861435272a6e36c7884bef2c45
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/libs/isotp-c/src/isotp/isotp.h')
-rw-r--r-- | CAN-binder/libs/isotp-c/src/isotp/isotp.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/CAN-binder/libs/isotp-c/src/isotp/isotp.h b/CAN-binder/libs/isotp-c/src/isotp/isotp.h deleted file mode 100644 index 3a3658c7..00000000 --- a/CAN-binder/libs/isotp-c/src/isotp/isotp.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef __ISOTP_H__ -#define __ISOTP_H__ - -#include <isotp/isotp_types.h> -#include <isotp/send.h> -#include <isotp/receive.h> -#include <stdint.h> -#include <stdbool.h> -#include <stdio.h> - -#ifdef __cplusplus -extern "C" { -#endif - -/* Public: Initialize an IsoTpShims with the given callback functions. - * - * If any callbacks are not to be used, set them to NULL. For documentation of - * the function type signatures, see isotp_types.h. This struct is a handy - * encapsulation used to pass the shims around to the various isotp_* functions. - * - * Returns a struct with the fields initailized to the callbacks. - */ -IsoTpShims isotp_init_shims(LogShim log, - SendCanMessageShim send_can_message, - SetTimerShim set_timer); - -/* Public: Render an IsoTpMessage as a string into the given buffer. - * - * message - the message to convert to a string, for debug logging. - * destination - the target string buffer. - * destination_length - the size of the destination buffer, i.e. the max size - * for the rendered string. - */ -void isotp_message_to_string(const IsoTpMessage* message, char* destination, - size_t destination_length); - -#ifdef __cplusplus -} -#endif - -#endif // __ISOTP_H__ |