74a2726869
For now, this function is nearly equivalent to the si_uint64 parser, except for an additional range check as Linux only takes 32-bit values as bitrates. In future, this may also be used to introduce fancier bitrate config formats.
11 lines
196 B
C
11 lines
196 B
C
/* SPDX-License-Identifier: LGPL-2.1+ */
|
|
#pragma once
|
|
|
|
#include "conf-parser.h"
|
|
|
|
typedef struct Link Link;
|
|
|
|
int link_configure_can(Link *link);
|
|
|
|
CONFIG_PARSER_PROTOTYPE(config_parse_can_bitrate);
|