]> rtime.felk.cvut.cz Git - hydro.git/blobdiff - app-bohyn/_compiled/include/ul_lib/ul_fd.h
Added monitoring web system. Minor changes in regulator and in control.
[hydro.git] / app-bohyn / _compiled / include / ul_lib / ul_fd.h
diff --git a/app-bohyn/_compiled/include/ul_lib/ul_fd.h b/app-bohyn/_compiled/include/ul_lib/ul_fd.h
new file mode 100644 (file)
index 0000000..5d50e01
--- /dev/null
@@ -0,0 +1,26 @@
+#ifndef _UL_FD_H
+#define _UL_FD_H
+
+/* The applications calls directly functions based above uLan driver API */
+
+#include <ul_lib/ul_fddir.h>
+
+#undef WITH_UL_FD_INDIRECT
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef ul_fd_direct_t ul_fd_t;
+#define UL_FD_INVALID UL_FD_DIRECT_INVALID
+
+static inline ul_fd_direct_t ul_fd2sys_fd(ul_fd_t fd)
+{
+  return fd;
+}
+
+#ifdef __cplusplus
+} /* extern "C"*/
+#endif
+
+#endif /*_UL_FD_H*/