summaryrefslogtreecommitdiff
path: root/cesar/cp2/cco/bw/inc/bw.h
diff options
context:
space:
mode:
authorboure2008-07-01 08:03:56 +0000
committerboure2008-07-01 08:03:56 +0000
commit79a530d1e6bd5053af4e57705696df8302fae80a (patch)
tree0140ebbf4fc966c5ea45453d2c1dd3e8728c2292 /cesar/cp2/cco/bw/inc/bw.h
parent9fc021efde1da9eff54ddc5daeba2a2f08d9764b (diff)
Modification of the name and the function of the get allocs
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@2500 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/cp2/cco/bw/inc/bw.h')
-rw-r--r--cesar/cp2/cco/bw/inc/bw.h28
1 files changed, 2 insertions, 26 deletions
diff --git a/cesar/cp2/cco/bw/inc/bw.h b/cesar/cp2/cco/bw/inc/bw.h
index 2930e10d04..4b8d6468c8 100644
--- a/cesar/cp2/cco/bw/inc/bw.h
+++ b/cesar/cp2/cco/bw/inc/bw.h
@@ -38,8 +38,6 @@ struct cp_cco_bw_private_t
};
typedef struct cp_cco_bw_private_t cp_cco_bw_private_t;
-
-
/**
* Release the schedule after finalising it and sending it.
* \param sched schedule to release
@@ -58,7 +56,7 @@ cp_cco_bw_release_sched (cp_cco_bw_alloc_t* sched);
*
*/
cp_cco_bw_alloc_t*
-cp_cco_bw_get_next_alloc_global(cp_t *ctx, cp_cco_bw_alloc_t *alloc);
+cp_cco_bw_get_next_alloc_actual(cp_cco_bw_alloc_t *alloc);
/**
* Return the first connection of a heap
@@ -67,29 +65,7 @@ cp_cco_bw_get_next_alloc_global(cp_t *ctx, cp_cco_bw_alloc_t *alloc);
*
*/
cp_cco_bw_alloc_t*
-cp_cco_bw_get_first_alloc_global(cp_t *ctx);
-
-/**
- * Tells if the connection is the last of the heap
- * \param conn connection
- * \return bool true if last connection
- *
- */
-bool
-cp_cco_bw_is_last_alloc_global(cp_t *ctx,
- cp_cco_bw_alloc_t *alloc);
-
-/**
- * Modifies the alloc and next alloc to the
- * \param ctx Control plane context
- * \param alloc actual allocation
- * \param next_alloc next allocation
- * \return bool true if allocs modified successfully
- */
-bool
-cp_cco_bw_set_next_free_allocation_time(cp_t *ctx, cp_cco_bw_alloc_t *alloc,
- cp_cco_bw_alloc_t *next_alloc);
-
+cp_cco_bw_get_first_alloc_actual(cp_t *ctx);
/**
* Returns the last ble and checks if the end of the free time has been