mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-23 16:41:02 +02:00
libj1939: add libj1939_parse_canaddr and reuse it by testj1939
this function will be needed jcat Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void libj1939_parse_canaddr(char *spec, struct sockaddr_can *paddr);
|
||||
extern int libj1939_str2addr(const char *str, char **endp, struct sockaddr_can *can);
|
||||
extern const char *libj1939_addr2str(const struct sockaddr_can *can);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user