9 void (*read
)(struct serial_if
*, void *, size_t);
10 void (*write
)(struct serial_if
*, const void *, size_t);
19 void send_ymodem(struct serial_if
*, struct file_info
*,
20 void (*)(void *, size_t, struct file_info
*, size_t));
21 void end_ymodem(struct serial_if
*);
23 int serial_init(struct serial_if
*sif
);
24 void serial_read(struct serial_if
*sif
, void *data
, size_t n
);
25 void serial_write(struct serial_if
*sif
, const void *data
, size_t n
);