summaryrefslogtreecommitdiff
path: root/include/ouroboros/fcntl.h
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-04-13 10:18:08 +0000
committerSander Vrijders <sander.vrijders@ugent.be>2017-04-13 10:18:08 +0000
commitdf141f1ccff7edac4873845855d605ef70057fae (patch)
treefb86f87679dda03cc53e06d9b0c6d3ee0ef26751 /include/ouroboros/fcntl.h
parent72c28d6173ade511e9dc6969e0fc66db2dbba38a (diff)
parent21187cdf04f6b6697064430aac68dcf795923943 (diff)
downloadouroboros-df141f1ccff7edac4873845855d605ef70057fae.tar.gz
ouroboros-df141f1ccff7edac4873845855d605ef70057fae.zip
Merged in dstaesse/ouroboros/be-ap_init (pull request #480)
include, lib: Rename ap_init/ap_fini
Diffstat (limited to 'include/ouroboros/fcntl.h')
-rw-r--r--include/ouroboros/fcntl.h6
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 */