diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-04-13 12:09:14 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-04-13 12:14:24 +0200 |
commit | 21187cdf04f6b6697064430aac68dcf795923943 (patch) | |
tree | fb86f87679dda03cc53e06d9b0c6d3ee0ef26751 /include/ouroboros/fcntl.h | |
parent | b43e8cd0f0858e78486752007c3640b70bf44c8d (diff) | |
download | ouroboros-21187cdf04f6b6697064430aac68dcf795923943.tar.gz ouroboros-21187cdf04f6b6697064430aac68dcf795923943.zip |
include: Add C++ directives in headers
Fixes #34
Diffstat (limited to 'include/ouroboros/fcntl.h')
-rw-r--r-- | include/ouroboros/fcntl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ouroboros/fcntl.h b/include/ouroboros/fcntl.h index 65e8c378..489fff15 100644 --- a/include/ouroboros/fcntl.h +++ b/include/ouroboros/fcntl.h @@ -24,6 +24,8 @@ #ifndef OUROBOROS_FCNTL_H #define OUROBOROS_FCNTL_H +#include <ouroboros/cdefs.h> + #include <sys/time.h> /* same values as fcntl.h */ @@ -37,6 +39,8 @@ #define FLOW_O_INVALID (FLOW_O_WRONLY | FLOW_O_RDWR) +__BEGIN_DECLS + int flow_set_flags(int fd, int flags); @@ -51,4 +55,6 @@ int flow_get_timeout(int fd, int flow_get_qosspec(int fd, qosspec_t * qs); +__END_DECLS + #endif /* OUROBOROS_FCNTL_H */ |