1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 int
 saf_put_cat_att(SAF_ParMode pmode,              /* Parallel mode for adding the new attribute. */
                 SAF_Cat *cat,                   /* Collection category for which the new attribute is added. */
                 const char *name,               /* The name of the attribute. */
                 hid_t datatype,                 /* The datatype of each element of the VALUE for the attribute. */
                 int count,                      /* The number of elements pointed to by VALUE, each of type DATATYPE. */
                 const void *value               /* The array of COUNT elements each of type DATATYPE to use for the
                                                  * attribute's value. */
                 )
 {
   SAF_ENTER(saf_put_cat_att, SAF_PRECONDITION_ERROR);
   int retval = saf_put_attribute(pmode, (ss_pers_t*)cat, name, datatype, count, value);
   SAF_LEAVE(retval);
 }