]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/blobdiff - frsh_distributed_types.h
Upgrading FRSH trunk to D-AC2v2. Phase I: Moving FRSH-FOSA to FOSA
[frescor/frsh-include.git] / frsh_distributed_types.h
index 6dc1a332b6b44e54f980838c72fb9890f96b63af..7b87887983ad2866296bff72a0ff03113451893d 100644 (file)
@@ -69,8 +69,8 @@
 // FRSH(FRescor ScHeduler), pronounced "fresh"
 //==============================================
 
-#ifndef        FRSH_DISTRIBUTED_TYPES_H_
-#define        FRSH_DISTRIBUTED_TYPES_H_
+#ifndef   FRSH_DISTRIBUTED_TYPES_H_
+#define   FRSH_DISTRIBUTED_TYPES_H_
 
 /**
  * @file frsh_distributed_types.h
  * @{
  **/
 
-#define FRSH_DEFAULT_NETWORK_ID                1
-#define FRSH_NULL_NETWORK_ID           0
-
-
 //opaque types for frsh endpoints
 typedef FRSH_SEND_ENDPOINT_T_OPAQUE frsh_send_endpoint_t;
 typedef FRSH_RECEIVE_ENDPOINT_T_OPAQUE frsh_receive_endpoint_t;
@@ -97,7 +93,7 @@ typedef FRSH_RECEIVE_ENDPOINT_T_OPAQUE frsh_receive_endpoint_t;
  * a communication-protocol-independent way. The actual address is
  * obtained via a configuration dependent mapping function
  **/
-typedef unsigned int  frsh_network_address_t;
+typedef unsigned int frsh_network_address_t;
 
 /**
  * The port type specifies the information that is
@@ -106,7 +102,7 @@ typedef unsigned int  frsh_network_address_t;
  * The actual port number is obtained via a configuration
  * dependent mapping function
  **/
-typedef unsigned int  frsh_stream_id_t;
+typedef unsigned int frsh_stream_id_t;
 
 /**
  * Extra information protocol dependent opaque for the application.
@@ -171,8 +167,8 @@ typedef enum {
 
     /** Network is down **/
     FRSH_ENS_DOWN
-} frsh_endpoint_network_status;
+} frsh_endpoint_network_status_t;
 
 /*@}*/
 
-#endif             /* !FRSH_DISTRIBUTED_TYPES_H_ */
+#endif  /* !FRSH_DISTRIBUTED_TYPES_H_ */