// -----------------------------------------------------------------------
-// Copyright (C) 2006 - 2008 FRESCOR consortium partners:
+// Copyright (C) 2006 - 2009 FRESCOR consortium partners:
//
// Universidad de Cantabria, SPAIN
// University of York, UK
FRSH_RS_ADMITTED,
FRSH_RS_NOT_REQUESTED} frsh_renegotiation_status_t;
-
-
/**
* Vres Id type, that identifies a vres created to manage a given
* contract
FRSH_RT_PROCESSOR = 0,
FRSH_RT_NETWORK = 1,
FRSH_RT_MEMORY = 2,
- FRSH_RT_DISK = 3
+ FRSH_RT_DISK = 3,
+ FRSH_RT_FPGA = 4,
+ FRSH_RT_LCD = 5
} frsh_resource_type_t;
/** Ressource Id: processor_id or network_id **/
/** 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.