diff options
author | Thomas "Cakeisalie5" Touhey <thomas@touhey.fr> | 2018-11-08 13:50:23 +0100 |
---|---|---|
committer | Thomas "Cakeisalie5" Touhey <thomas@touhey.fr> | 2018-11-08 13:50:23 +0100 |
commit | 07dac2acd79e420a56c3205882caa161f21184ed (patch) | |
tree | 13b60bf1107de2e2d17453b7f079cdb0d484d1ad /include/libtio/native.h | |
parent | 8618fa396366c16d3c93198dcf332bd211a4983c (diff) |
Latest evolutions
Diffstat (limited to 'include/libtio/native.h')
-rw-r--r-- | include/libtio/native.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/include/libtio/native.h b/include/libtio/native.h index b0e1d0b..7191c9a 100644 --- a/include/libtio/native.h +++ b/include/libtio/native.h @@ -3,6 +3,19 @@ # include "cdefs.h" # include "stream.h" -/* This header provides native OS support. TODO */ +TIO_BEGIN_NAMESPACE +TIO_BEGIN_DECLS + +/* UNIX streams. */ + +# if !defined(LIBTIO_DISABLED_UNIX) + +TIO_EXTERN int TIO_EXPORT tio_open_unix_fd + OF((tio_stream_t **tio__streamp, int tio__fd, int tio__close)); + +# endif + +TIO_END_DECLS +TIO_END_NAMESPACE #endif /* TIO_NATIVE_H */ |