Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
start to mess up with storage
[simgrid.git] / include / simgrid / msg.h
index d431064..c65ac44 100644 (file)
@@ -100,6 +100,7 @@ typedef xbt_dictelm_t msg_storage_t;
 
 struct msg_storage_priv  {
   const char *hostname;
+  size_t size;
   void *data;
 };
 typedef struct msg_storage_priv  s_msg_storage_priv_t;
@@ -501,4 +502,11 @@ XBT_PUBLIC(smx_context_t) MSG_process_get_smx_ctx(msg_process_t process);
 
 
 SG_END_DECL()
+
+#ifdef __cplusplus
+XBT_PUBLIC(msg_process_t)
+MSG_process_create_from_stdfunc(const char* name, std::function<void()> code, void* data, msg_host_t host,
+                                xbt_dict_t properties);
+#endif
+
 #endif