summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-05-12 15:18:18 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-05-12 15:18:18 +0200
commit0acdb925260f641a8af381b9fc5acf69392c1fef (patch)
tree2feb14d6fd6f6140a32479174ef9f35f9db9c693 /include
parentccf989a567acc91f8559ea67d69f2b952410010b (diff)
parent0305780cb158daba745e50e3956b6d89c0995f1b (diff)
downloadouroboros-0acdb925260f641a8af381b9fc5acf69392c1fef.tar.gz
ouroboros-0acdb925260f641a8af381b9fc5acf69392c1fef.zip
Merged in dstaesse/ouroboros/be-flow_opts (pull request #76)
lib: dev: implementation of flow_cntl
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/dev.h2
-rw-r--r--include/ouroboros/flow.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/include/ouroboros/dev.h b/include/ouroboros/dev.h
index e857e211..d8e65144 100644
--- a/include/ouroboros/dev.h
+++ b/include/ouroboros/dev.h
@@ -31,7 +31,7 @@
/* These calls should be removed once we write the ouroboros OS. */
int ap_init(char * ap_name);
-void ap_fini();
+void ap_fini(void);
/* Returns file descriptor */
int ap_reg(char ** difs, size_t difs_size);
diff --git a/include/ouroboros/flow.h b/include/ouroboros/flow.h
index ff9085f7..380c671b 100644
--- a/include/ouroboros/flow.h
+++ b/include/ouroboros/flow.h
@@ -34,6 +34,9 @@
#define FLOW_O_INVALID (FLOW_O_WRONLY | FLOW_O_RDWR)
+#define FLOW_F_GETFL 00000001
+#define FLOW_F_SETFL 00000002
+
enum flow_state {
FLOW_NULL = 0,
FLOW_ALLOCATED,