]> git.enpas.org Git - revag-bap.git/blob - vw-bap-tx.c
Sketch BAP sending
[revag-bap.git] / vw-bap-tx.c
1 #include <ctype.h>
2 #include <stdio.h>
3 #include <stdlib.h>
4 #include <string.h>
5
6 #include <linux/can.h>
7
8 #include "vw-bap.h"
9
10
11
12
13 struct BAP_TXer* vw_bap_txer_alloc()
14 {
15         struct BAP_TXer *bap;
16
17         bap = calloc(1, sizeof(*bap));
18         if (!bap) {
19                 return NULL;
20         }
21
22         return bap;
23 }
24
25
26
27
28 void vw_bap_txer_free(struct BAP_TXer *bap)
29 {
30         free(bap);
31 }