1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 int
 saf_get_cat_att(SAF_ParMode pmode,
                 SAF_Cat *cat,                   /* Collection category owning the attribute for which we're searching. */
                 const char *name,               /* Name of the attribute. */
                 hid_t *datatype,                /* [OUT] Datatype of the attribute as it is stored. */
                 int *count,                     /* [OUT] Number of elements contained in the attribute. */
                 void **value                    /* [OUT] On successful return this will point to an allocated array containing
                                                  * COUNT elements each of type DATATYPE. */
                 )
 {
   SAF_ENTER(saf_get_cat_att, SAF_PRECONDITION_ERROR);
   int retval = saf_get_attribute(pmode, (ss_pers_t*)cat, name, datatype, count, value);
   SAF_LEAVE(retval);
 }