**/
#define FRSH_AUTOMATIC_PRIO_ASSIGN_ENABLE true
-#define FRSH_DISTRIBUTED_MODULE_SUPPORTED false
+#define FRSH_DISTRIBUTED_MODULE_SUPPORTED true
+
+/** This defines 1 resource_id value for systems that have only one
+ resource of a kind. **/
+#define FRSH_RESOURCE_ID_DEFAULT 0
+#define FRSH_CPU_ID_DEFAULT 1
+#define FRSH_NETWORK_ID_DEFAULT 0
/**
* @defgroup internal Array size for memory optimization
/**********************************************/
typedef unsigned int frsh_resource_id_t;
-/** This defines 1 resource_id value for systems that have only one
- resource of a kind. **/
-#define FRSH_RESOURCE_ID_DEFAULT 0
-#define FRSH_CPU_ID_DEFAULT 0
-#define FRSH_NETWORK_ID_DEFAULT 0
-
/** Kind of contract: regular, background or dummy **/
typedef enum {
FRSH_CT_REGULAR = 0,
**/
int frsh_receive_sync
(const frsh_receive_endpoint_t endpoint,
- void *buffer,
+ void *buffer,
size_t buffer_size,
- size_t *message_size,
- frsh_network_address_t *from);
+ size_t *message_size,
+ frsh_network_address_t *from);
/**
* frsh_receive_async()
**/
int frsh_receive_async
(const frsh_receive_endpoint_t endpoint,
- void *buffer,
+ void *buffer,
size_t buffer_size,
- size_t *message_size,
- frsh_network_address_t *from);
+ size_t *message_size,
+ frsh_network_address_t *from);
/**