Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
new function: gras_datadesc_size to allow messaging layer to malloc the needed space
[simgrid.git] / src / gras / DataDesc / datadesc_interface.h
index 970ee0c..26c3ae8 100644 (file)
@@ -28,7 +28,8 @@ int
 gras_datadesc_type_cmp(const gras_datadesc_type_t *d1,
                       const gras_datadesc_type_t *d2);
 
 gras_datadesc_type_cmp(const gras_datadesc_type_t *d1,
                       const gras_datadesc_type_t *d2);
 
-
+/* Access function */
+int  gras_datadesc_size(gras_datadesc_type_t *type);
 /* Described data exchanges */
 gras_error_t 
 gras_datadesc_cpy(gras_datadesc_type_t *type, void *src, void **dst);
 /* Described data exchanges */
 gras_error_t 
 gras_datadesc_cpy(gras_datadesc_type_t *type, void *src, void **dst);