]> rtime.felk.cvut.cz Git - frescor/fwp.git/commitdiff
Added some FIXMEs
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 29 Jan 2008 22:44:38 +0000 (23:44 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 29 Jan 2008 22:44:38 +0000 (23:44 +0100)
fwp/libfwp/include/fwp_ac.h
fwp/libfwp/include/fwp_contract.h

index 6aad90db6c87f99ae944d6cfb10690468b315a87..a751bd003a9de2889b02bdc35079fadc5bf8c874 100644 (file)
@@ -13,6 +13,7 @@
 #include "fwp_conf.h"
 #include "fwp_msgb.h"
 
+/* FIXME: only typedefs should end by _t */
 /** WMM defines 4 queues */
 enum ac_id_t {
        FWP_AC_VO = 0,
index 7bb5c7317154a3baf07aae0df5debbe18706db73..6265cdeac35b7ada4af956c2b065232c94d7d676 100644 (file)
@@ -13,6 +13,7 @@ enum contract_status_t {
 struct fwp_contract {
 #warning What does global mean?
        unsigned int id;        /**< global vres_id */ 
+       /* FIXME: use enum ac_id */
        unsigned int ac_id;     /**< AC id ~ priority of vres */
 #warning id and ac_id should not be part of contract. It should be in vres. Probably, even the status field should be in vres. Vres is runtime representation of a contract.
        int budget;             /**< bytes per period */