diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-08-03 13:25:12 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-08-03 13:25:12 +0200 |
commit | 44b55f0b03ffc6aff4f1c290b5687d5ac95ddbf9 (patch) | |
tree | 6e80ca15368a75908ba4053ceb07c25269ae786c /include/ouroboros/dev.h | |
parent | d409fd569683d8f0e8c8f65d4820087dbf7c0786 (diff) | |
parent | ca494922f3815077efbcd28da3748df38c8a6961 (diff) | |
download | ouroboros-44b55f0b03ffc6aff4f1c290b5687d5ac95ddbf9.tar.gz ouroboros-44b55f0b03ffc6aff4f1c290b5687d5ac95ddbf9.zip |
Merged in dstaesse/ouroboros/be-select (pull request #184)
select() like call
Diffstat (limited to 'include/ouroboros/dev.h')
-rw-r--r-- | include/ouroboros/dev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ouroboros/dev.h b/include/ouroboros/dev.h index eb779953..91d5c7de 100644 --- a/include/ouroboros/dev.h +++ b/include/ouroboros/dev.h @@ -22,6 +22,7 @@ #include <unistd.h> #include <stdint.h> +#include <sys/time.h> #include <ouroboros/qos.h> #include <ouroboros/flow.h> @@ -53,5 +54,6 @@ int flow_dealloc(int fd); int flow_cntl(int fd, int cmd, int oflags); ssize_t flow_write(int fd, void * buf, size_t count); ssize_t flow_read(int fd, void * buf, size_t count); +int flow_select(const struct timespec * timeout); #endif |