-
-
Notifications
You must be signed in to change notification settings - Fork 150
Expand file tree
/
Copy path2c.h
More file actions
29 lines (23 loc) · 515 Bytes
/
2c.h
File metadata and controls
29 lines (23 loc) · 515 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* @copyright SUBLEQ LTD. (2025)
* @license MIT */
#ifndef _2C_H
#define _2C_H
#ifdef __cplusplus
extern "C" {
#endif
#include "can.h"
#include <stdbool.h>
typedef struct {
bool use_id_in_name;
bool use_time_stamps;
bool use_doubles_for_encoding;
bool generate_print, generate_pack, generate_unpack;
bool generate_asserts;
bool generate_enum_can_ids;
int version;
} dbc2c_options_t;
int dbc2c(dbc_t *dbc, FILE *c, FILE *h, const char *name, dbc2c_options_t *copts);
#ifdef __cplusplus
}
#endif
#endif