// -----------------------------------------------------------------------
-// Copyright (C) 2006 - 2008 FRESCOR consortium partners:
+// Copyright (C) 2006 - 2009 FRESCOR consortium partners:
//
// Universidad de Cantabria, SPAIN
// University of York, UK
// by the GNU General Public License. This exception does not
// however invalidate any other reasons why the executable file might be
// covered by the GNU Public License.
-// As a special exception, if you include this header file into source
-// files to be compiled, this header file does not by itself cause
-// the resulting executable to be covered by the GNU General Public
-// License. This exception does not however invalidate any other
-// reasons why the executable file might be covered by the GNU General
-// Public License.
// -----------------------------------------------------------------------
//frsh_opaque_types.h
//==============================================
// **//// /**///** ////////** /**//////**
// ** /** //** /** /** /**
// ** /** //** ******** /** /**
-// // // // //////// // //
+// // // // //////// // //
//
// FRSH(FRescor ScHeduler), pronounced "fresh"
//==============================================
* @{
**/
+#define FRSH_VRES_ID_T_OPAQUE unsigned int
+
/** frsh_contract_parameters_t **/
#define FRSH_CONTRACT_T_OPAQUE struct { \
\
Unique within the local node **/ \
frsh_contract_label_t contract_label; \
\
- /** Minimum budget needed to perform a job. With the energy
+ /** Minimum budget needed to perform a job. With the energy
module this will be an array **/ \
frsh_rel_time_t budget_min; \
\
frsh_endpoint_queueing_info_t queueing_info; \
\
/** Maximum loss rate
- Percentage of packet loss in the network that is
+ Percentage of packet loss in the network that is
tolerated by the application **/ \
int max_loss_rate; \
\
typedef int FRSH_SHAREDOBJ_HANDLE_T_OPAQUE;
+typedef unsigned int FRSH_GROUP_ID_T_OPAQUE;
+
/**
* Critical section data
* - comon parameters
* op; // pointer to the operation
* - attributes used only for protected write operations
* areas; // memory areas to be protected
- *
+ *
**/
#define FRSH_CSECT_T_OPAQUE struct { \
frsh_csect_op_kind_t op_kind; \