1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 SAF_Basis *
 saf_find_one_basis(SAF_Db *database,                    /* The database in which to search */
                    const char *name,                    /* The name for which to search */
                    SAF_Basis *buf                       /* [OUT] Optional basis handle to initialize and return. */
                    )
 {
     SAF_ENTER(saf_find_one_basis, NULL);
     int n=1;

     saf_find_bases(SAF_EACH, database, name, NULL, &n, &buf);
     SAF_LEAVE(buf);
 }