summaryrefslogtreecommitdiff
path: root/include/ouroboros/dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ouroboros/dev.h')
-rw-r--r--include/ouroboros/dev.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/include/ouroboros/dev.h b/include/ouroboros/dev.h
index 31c681db..73d2d7b6 100644
--- a/include/ouroboros/dev.h
+++ b/include/ouroboros/dev.h
@@ -21,18 +21,21 @@
* 02110-1301 USA
*/
+#ifndef OUROBOROS_DEV_H
+#define OUROBOROS_DEV_H
+
+#include <ouroboros/cdefs.h>
#include <ouroboros/qos.h>
#include <unistd.h>
#include <time.h>
-#ifndef OUROBOROS_DEV_H
-#define OUROBOROS_DEV_H
+__BEGIN_DECLS
/* These calls should be removed once we write the ouroboros OS. */
-int ap_init(const char * ap_name);
+int ouroboros_init(const char * ap_name);
-void ap_fini(void);
+void ouroboros_fini(void);
/* Returns flow descriptor, qs updates to supplied QoS. */
int flow_alloc(const char * dst_name,
@@ -53,4 +56,6 @@ ssize_t flow_read(int fd,
void * buf,
size_t count);
+__END_DECLS
+
#endif /* OUROBOROS_DEV_H */