#ifndef GRAS_DATADESC_INTERFACE_H
#define GRAS_DATADESC_INTERFACE_H
-void gras_datadesc_init(void);
-void gras_datadesc_exit(void);
-
gras_error_t gras_datadesc_by_id (long int code,
gras_datadesc_type_t **type);
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);
int r_arch, void *dst);
/* Indicate (lack of) interest in datatype */
-void gras_datadesc_ref(gras_datadesc_type_t *type);
+void gras_datadesc_addref(gras_datadesc_type_t *type);
void gras_datadesc_unref(gras_datadesc_type_t *type);
#endif /* GRAS_DATADESC_INTERFACE_H */