]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/blobdiff - frsh_spare_capacity_types.h
Adding FRSH_CPP_BEGIN|END_DECLS to public .h files
[frescor/frsh-include.git] / frsh_spare_capacity_types.h
index 22abf7e7a7c8df32c0b53932226beb806ce48ead..d002aa999842d2b7fcfca9bb708bff3c77215a53 100644 (file)
@@ -74,6 +74,8 @@
 
 #include <time.h>
 
+FRSH_CPP_BEGIN_DECLS
+
 /**
  * @file frsh_spare_capacity_types.h
  **/
@@ -89,7 +91,7 @@
 /*************************/
 
 /** Granularity of spare capacity requirements: continuous or discrete **/
-typedef enum {FRSH_GRT_CONTINUOUS, FRSH_GRT_DISCRETE} frsh_granularity_t;
+typedef enum {FRSH_GR_CONTINUOUS, FRSH_GR_DISCRETE} frsh_granularity_t;
 
 /** Utilization (C and T) **/
 typedef struct {
@@ -104,7 +106,7 @@ typedef struct {
 } frsh_utilization_set_t;
 
 // Constants for assigning default values
-#define FRSH_DEFAULT_GRANULARITY         FRSH_GRT_CONTINUOUS
+#define FRSH_DEFAULT_GRANULARITY         FRSH_GR_CONTINUOUS
 #define FRSH_DEFAULT_WEIGHT              0
 #define FRSH_DEFAULT_IMPORTANCE          1
 
@@ -114,4 +116,8 @@ typedef struct {
    (frsh_utilization_set_t *)NULL
 
 /*@}*/
+
+FRSH_CPP_END_DECLS
+
+
 #endif             /* !FRSH_SPARE_CAPACITY_TYPES_H_ */