summaryrefslogtreecommitdiff
path: root/cesar/cp2/cco/bw/inc/bw.h
diff options
context:
space:
mode:
authorboure2008-06-09 14:53:56 +0000
committerboure2008-06-09 14:53:56 +0000
commitf4e666099dd241a0c201084dc8171b1608a71104 (patch)
tree97b2b45cc22acf075f6b52158b74c0e9e21aa665 /cesar/cp2/cco/bw/inc/bw.h
parent5c1b601a349e92d21a12f0be84d8e2c6d874b636 (diff)
modification prio conn and heap access
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@2256 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/cp2/cco/bw/inc/bw.h')
-rw-r--r--cesar/cp2/cco/bw/inc/bw.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/cesar/cp2/cco/bw/inc/bw.h b/cesar/cp2/cco/bw/inc/bw.h
new file mode 100644
index 0000000000..34f1a45291
--- /dev/null
+++ b/cesar/cp2/cco/bw/inc/bw.h
@@ -0,0 +1,50 @@
+#ifndef cp_cco_inc_bw_h
+#define cp_cco_inc_bw_h
+/* Cesar project {{{
+ *
+ * Copyright (C) 2008 Spidcom
+ *
+ * <<<Licence>>>
+ *
+ * }}} */
+/**
+ * \file inc/cp_cco_bw_private.h
+ * \brief « brief description »
+ * \ingroup « module »
+ *
+ * « long description »
+ */
+#include "lib/set.h"
+#include "cp2/cco/bw/bw.h"
+/**
+ * Bandwidth Manager Module. - Create the schedule - Allocate a specific
+ * connection - finalise and return a schedule (used by the Beacon module
+ * only)
+ */
+struct cp_cco_bw_private_t
+{
+ /** Public data. */
+ cp_cco_bw_t public_data;
+
+ /**
+ * The actual schedule is the one is motion during the beacon period.
+ * It receives modifications regarding on the incoming MMEs.
+ */
+
+};
+typedef struct cp_cco_bw_private_t cp_cco_bw_private_t;
+
+
+
+/**
+ * Release the schedule after finaliseing it and sending it.
+ * \param sched schedule to release
+ * \return \todo fill this
+ *
+ * Initialise the new schedule
+ */
+cp_cco_bw_alloc_conn_t*
+cp_cco_bw_release_sched (cp_cco_bw_alloc_conn_t* sched);
+
+
+#endif /* cp_cco_bw_private_h */