diff options
author | Thomas Touhey <thomas@touhey.fr> | 2019-04-29 12:23:01 +0200 |
---|---|---|
committer | Thomas Touhey <thomas@touhey.fr> | 2019-04-29 12:23:01 +0200 |
commit | 751f742fc8b8be0746b54d45822b9351f8079a64 (patch) | |
tree | 09ba321b956b27aef6a18a232154fba5cd38f824 /include/libtio/native.h | |
parent | ec1f2954f478f0c0efa2fb614a05d3899ba3a835 (diff) |
There seems to be a problem with UNIX-related utilities and their enabling macro…
Diffstat (limited to 'include/libtio/native.h')
-rw-r--r-- | include/libtio/native.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/libtio/native.h b/include/libtio/native.h index 083a36a..f5600bc 100644 --- a/include/libtio/native.h +++ b/include/libtio/native.h @@ -63,8 +63,13 @@ TIO_EXTERN(int) tio_open_stdin # ifndef LIBTIO_DISABLED_UNIX -TIO_EXTERN(int) tio_open_unix_fd +TIO_EXTERN(int) tio_open_unix_file OF((tio_stream_t **tio__streamp, int tio__fd, int tio__close)); +TIO_EXTERN(int) tio_open_unix_serial + OF((tio_stream_t **tio__streamp, int tio__fd, int tio__close)); + +TIO_EXTERN(int) tio_open_unix_serial_port + OF((tio_stream_t **tio__streamp, char const *tio__path)); /* These might not work, but we can try them on UNIX variants as they * require the unistd.h functions at compile time. */ @@ -88,6 +93,9 @@ TIO_EXTERN(int) tio_open_windows_serial_handle OF((tio_stream_t **tio__streamp, HANDLE tio__handle, int tio__cl)); +TIO_EXTERN(int) tio_open_windows_serial_port + OF((tio_stream_t **tio__streamp, char const *tio__path)); + TIO_EXTERN(int) tio_list_windows_serial_ports OF((tio_iter_t **tio__iterp)); |