summaryrefslogtreecommitdiff
path: root/cesar/host/fwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/host/fwd.h')
-rw-r--r--cesar/host/fwd.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/cesar/host/fwd.h b/cesar/host/fwd.h
new file mode 100644
index 0000000000..9ce6c9ab50
--- /dev/null
+++ b/cesar/host/fwd.h
@@ -0,0 +1,66 @@
+#ifndef FWD_H_
+#define FWD_H_
+
+/* Cesar project {{{
+ *
+ * Copyright (C) 2007 Spidcom
+ *
+ * <<<Licence>>>
+ *
+ * }}} */
+
+ /**
+ * \file fwd.h
+ * \brief contains all typedef needed for station
+ * \ingroup host
+ *
+ * This file contains all typedef needed for station
+ *
+ * \todo
+ */
+
+/* strong assert validation */
+#ifdef ENABLE_DBG_ASSERT
+#define DBG_ASSERT(a) dbg_assert(a)
+#else /* ENABLE_DBG_ASSERT */
+#define DBG_ASSERT(a)
+#endif /* ENABLE_DBG_ASSERT */
+
+/** tick type definition; a tick is a period of 40 ns */
+typedef unsigned long long tick_t;
+
+/** netclock sci message header */
+#define netclock_msg_hdr Network_Clock_Header
+typedef struct netclock_msg_hdr netclock_msg_hdr_t;
+
+/** fcall sci message header */
+#define fcall_msg_hdr Function_Call_Header
+typedef struct call_msg_hdr fcall_msg_hdr_t;
+
+/** system sci message header */
+#define station_msg_hdr System_Header
+typedef struct station_msg_hdr station_msg_hdr_t;
+
+/** phy sci message header */
+#define phy_msg_hdr Phy_Header
+typedef struct phy_msg_hdr phy_msg_hdr_t;
+
+/** ether sci message header */
+#define ether_msg_hdr Ethernet_Header
+typedef struct ether_msg_hdr ether_msg_hdr_t;
+
+typedef struct sci_msg sci_msg_t;
+typedef struct sci_ctx sci_ctx_t;
+
+typedef struct station_ctx station_ctx_t;
+
+typedef struct netclock_callback netclock_callback_t;
+typedef struct netclock_ctx netclock_ctx_t;
+
+typedef struct fcall_ctx fcall_ctx_t;
+
+typedef struct probe_ctx probe_ctx_t;
+
+typedef struct system_ctx system_ctx_t;
+
+#endif /*FWD_H_*/