]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/commitdiff
changed some constants and added a type for group negotiations
authorsangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Thu, 6 Nov 2008 16:25:00 +0000 (16:25 +0000)
committersangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Thu, 6 Nov 2008 16:25:00 +0000 (16:25 +0000)
git-svn-id: http://www.frescor.org/private/svn/frescor/frsh/trunk/include@1376 35b4ef3e-fd22-0410-ab77-dab3279adceb

frsh_core_types.h

index a4a48f2b6669462214df4973ea3512cbcaad71b0..d7be2e0a641ac8eee976bed9507f99e6a27c4656 100644 (file)
@@ -151,8 +151,6 @@ typedef enum {FRSH_RS_IN_PROGRESS,
               FRSH_RS_ADMITTED,
               FRSH_RS_NOT_REQUESTED} frsh_renegotiation_status_t;
 
-
-
 /**
  *  Vres Id type, that identifies a vres created to manage a given
  *  contract
@@ -193,20 +191,16 @@ typedef FRSH_CONTRACT_T_OPAQUE  frsh_contract_t;
 /** List of vres **/
 typedef  struct {
   int             size;
-  frsh_vres_id_t  vres[FRSH_MAX_N_VRES];
+  frsh_vres_id_t  vres[FRSH_MAX_GROUP_OPS];
 } frsh_vres_group_t;
 
 /** List of contracts to negotiate **/
 typedef struct {
     int  size;
-    frsh_contract_t*  contracts[FRSH_MAX_N_VRES];
+    frsh_contract_t contracts[FRSH_MAX_GROUP_OPS];
 } frsh_contracts_group_t;
 
-typedef struct {
-    int size;
-    frsh_contract_label_t contract_labels[FRSH_MAX_N_VRES];
-} frsh_contract_labels_group_t;
-
+typedef FRSH_GROUP_ID_T_OPAQUE frsh_group_id_t;
 
 /**
  * An abstract synchronization object is defined by the application.