int xyzModem_stream_open(connection_info_t *info, int *err);
void xyzModem_stream_close(int *err);
void xyzModem_stream_terminate(int method, int (*getc)(void));
-int xyzModem_stream_read(char *buf, int size, int *err);
+int xyzModem_stream_read(void *buf, int size, int *err);
char *xyzModem_error(int err);
extern getc_io_funcs_t xyzModem_io;