13 #ifndef SRC_JBUS_CAN_H_ 14 #define SRC_JBUS_CAN_H_ 51 extern void can_init(
int argc,
char *argv[], resmgr_connect_funcs_t *pconn,
52 resmgr_io_funcs_t *pio, IOFUNC_ATTR_T *pattr);
82 extern int can_set_filter(
int fd,
unsigned long id,
unsigned long mask);
123 extern int can_arm(
int fd,
int channel_id);
146 extern int can_read(intptr_t fd,
unsigned long *
id,
char *extended,
void *data,
179 extern int can_write(intptr_t fd,
unsigned long id,
char extended,
void *data,
int can_empty_queue(int fd)
Definition: can.cpp:142
int can_arm(int fd, int channel_id)
Definition: can.cpp:149
int can_set_filter(int fd, unsigned long id, unsigned long mask)
Definition: can.cpp:132
void can_init(int argc, char *argv[], resmgr_connect_funcs_t *pconn, resmgr_io_funcs_t *pio, IOFUNC_ATTR_T *pattr)
Definition: can.cpp:30
int can_read(intptr_t fd, unsigned long *id, char *extended, void *data, BYTE size)
Definition: can.cpp:166
unsigned char BYTE
Definition: common.h:39
int can_send(int fd, j1939_pdu_typ *pdu)
Definition: can.cpp:239
int can_write(intptr_t fd, unsigned long id, char extended, void *data, BYTE size)
Definition: can.cpp:221
Definition: j1939_struct.h:32