]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/blobdiff - frsh_opaque_types.h
git-svn-id: http://www.frescor.org/private/svn/frescor/frsh/trunk/include@1637 35b4ef...
[frescor/frsh-include.git] / frsh_opaque_types.h
index 4d21bf05be7244995b6a99cb7b602eca3340f9e3..55a334a5df4782968b408b23832f34a741f8582c 100644 (file)
 //  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
 //==============================================
@@ -67,7 +61,7 @@
 //  **////  /**///**  ////////** /**//////**
 //  **      /**  //**        /** /**     /**
 //  **      /**   //** ********  /**     /**
-//  //       //     // ////////   //      // 
+//  //       //     // ////////   //      //
 //
 // FRSH(FRescor ScHeduler), pronounced "fresh"
 //==============================================
@@ -97,6 +91,8 @@ FRSH_CPP_BEGIN_DECLS
  * @{
  **/
 
+#define FRSH_VRES_ID_T_OPAQUE unsigned int
+
 /** frsh_contract_parameters_t **/
 #define FRSH_CONTRACT_T_OPAQUE struct { \
 \
@@ -110,7 +106,7 @@ FRSH_CPP_BEGIN_DECLS
      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;                         \
 \
@@ -191,7 +187,7 @@ FRSH_CPP_BEGIN_DECLS
   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; \
 \
@@ -207,6 +203,8 @@ typedef int FRSH_SYNCHOBJ_HANDLE_T_OPAQUE;
 
 typedef int FRSH_SHAREDOBJ_HANDLE_T_OPAQUE;
 
+typedef unsigned int FRSH_GROUP_ID_T_OPAQUE;
+
 /**
  * Critical section data
  * - comon parameters
@@ -218,7 +216,7 @@ typedef int FRSH_SHAREDOBJ_HANDLE_T_OPAQUE;
  *     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;                 \