summaryrefslogtreecommitdiff
path: root/vw-bap.h
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2017-03-22 22:53:40 +0100
committernorly <ny-git@enpas.org>2017-03-22 22:53:40 +0100
commit6e7f8008fe60e0fb41550ea3c401352091668119 (patch)
tree1071d0839bdf6b677a1fc5ade92b79e57521c160 /vw-bap.h
parentb991d41291c8bbd85f41d8c8361207b3b9ff3496 (diff)
Add multiframe flag, finish memory management
Diffstat (limited to 'vw-bap.h')
-rw-r--r--vw-bap.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/vw-bap.h b/vw-bap.h
index 0210104..00c9b75 100644
--- a/vw-bap.h
+++ b/vw-bap.h
@@ -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