serialqueue: Support sending messages over a CAN bus

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2021-02-07 16:03:39 -05:00
parent 9572ad4327
commit 8b4ad34e22
4 changed files with 80 additions and 30 deletions

View file

@ -47,7 +47,8 @@ struct pull_queue_message {
};
struct serialqueue;
struct serialqueue *serialqueue_alloc(int serial_fd, int write_only);
struct serialqueue *serialqueue_alloc(int serial_fd, char serial_fd_type
, int client_id);
void serialqueue_exit(struct serialqueue *sq);
void serialqueue_free(struct serialqueue *sq);
struct command_queue *serialqueue_alloc_commandqueue(void);