1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 size_t
 ss_attr_count(ss_pers_t *owner,
               const char *name
               )
 {
     SS_ENTER(ss_attr_count, size_t);
     size_t      retval;

     if (NULL==ss_attr_find(owner, name, 0, SS_NOSIZE, &retval, SS_PERS_TEST)) SS_ERROR(FAILED);

 SS_CLEANUP:
     SS_LEAVE(retval);
 }