X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2de95fd8b3b3b3edb7e11074295f1b90d6427b36..75ffa801579aeb214b8d95290b76c96a605a2422:/include/datadesc.h diff --git a/include/datadesc.h b/include/datadesc.h index 1948e24922..189dcc84da 100644 --- a/include/datadesc.h +++ b/include/datadesc.h @@ -77,6 +77,23 @@ typedef struct DataDescriptorStruct { sizeof(structType) - offsetof(structType, lastMember) - \ sizeof(memberType) * repetitions + +gras_error_t gras_datadesc_parse(const char *def, + gras_datadesc_t **dst); +gras_error_t gras_datadesc_from_nws(const DataDescriptor *desc, + size_t howmany, + gras_datadesc_t **dst); +gras_error_t gras_datadesc_eq(const gras_datadesc_t *d1, + const gras_datadesc_t *d2); +gras_error_t gras_datadesc_cpy(gras_datadesc_t *src, + gras_datadesc_t **dst); +gras_error_t gras_datadesc_sizeof_host(gras_datadesc_t *desc, + size_t *dst); +gras_error_t gras_datadesc_sizeof_network(gras_datadesc_t *desc, + size_t *dst); + + + END_DECL #endif /* GRAS_DATADESC_H */