diff options
author | norly <ny-git@enpas.org> | 2017-03-22 22:53:40 +0100 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2017-03-22 22:53:40 +0100 |
commit | 6e7f8008fe60e0fb41550ea3c401352091668119 (patch) | |
tree | 1071d0839bdf6b677a1fc5ade92b79e57521c160 /vw-bap.h | |
parent | b991d41291c8bbd85f41d8c8361207b3b9ff3496 (diff) |
Add multiframe flag, finish memory management
Diffstat (limited to 'vw-bap.h')
-rw-r--r-- | vw-bap.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -11,6 +11,8 @@ typedef unsigned short BAP_FrameLen; struct BAP_Frame { + int is_multiframe; + BAP_OpCode opcode; BAP_SubNode subnode; BAP_SubFunction function; @@ -33,10 +35,10 @@ void vw_bap_frame_dump(struct BAP_Frame *bap_frame); struct BAP_Frame* vw_bap_handle_can_frame(struct BAP_RXer *bap, struct can_frame *frame); -struct BAP_RXer* vw_bap_alloc(); -void vw_bap_free(struct BAP_RXer *bap); void vw_bap_frame_free(struct BAP_Frame *bap_frame); +struct BAP_RXer* vw_bap_alloc(); +void vw_bap_free(struct BAP_RXer *bap); #endif |