summaryrefslogtreecommitdiff
path: root/cesar/cp2/cco/bw/bw_lib_alloc.h
diff options
context:
space:
mode:
authorlaranjeiro2008-05-26 15:28:11 +0000
committerlaranjeiro2008-05-26 15:28:11 +0000
commit6011a1c45d2f3cd100b37a6df6e59b0c5365d400 (patch)
tree5dd6d54933da0bd1ecfe258749a68d9552ede12a /cesar/cp2/cco/bw/bw_lib_alloc.h
parent4ef3ff8d4f33cbe3c910ae6fe63efa7951212897 (diff)
beacon: Added the test for the generation of the beacon bentries.
* Not tested yet. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@2096 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/cp2/cco/bw/bw_lib_alloc.h')
-rw-r--r--cesar/cp2/cco/bw/bw_lib_alloc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/cesar/cp2/cco/bw/bw_lib_alloc.h b/cesar/cp2/cco/bw/bw_lib_alloc.h
index 0004afb4f3..94e31b9340 100644
--- a/cesar/cp2/cco/bw/bw_lib_alloc.h
+++ b/cesar/cp2/cco/bw/bw_lib_alloc.h
@@ -27,6 +27,19 @@ cp_cco_bw_schedules_init (set_t *set);
void
cp_cco_bw_schedules_uninit (set_t *set);
+/** Prepare schedules.
+ * \param ctx the module context.
+ * \param set the set to add the allocations.
+ * \param persistence the type of allocation.
+ * \return the number of sessions.
+ *
+ * Get the schedules form the BW and initialise the nodes of each alloc to
+ * insert it in the set.
+ */
+uint
+cp_cco_bw_schedules_prepare (cp_t *ctx, set_t *set,
+ cp_cco_bw_persistence_t persistence);
+
/** Add an allocation.
* \param set the set to add the allocation.
* \param node the node to add.