1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 int
 saf_setProps_ErrFunc(SAF_LibProps *properties,   /* The library property list which will be modified by this function
                                                    (See Properties). */
                      SAF_ErrFunc func           /* The callback to invoke when an error occurs. */
                      )
 {
     SAF_ENTER_NOINIT(saf_setProps_ErrFunc, SAF_PRECONDITION_ERROR);

     SAF_LibProps *p = properties;

     SAF_REQUIRE(p, SAF_LOW_CHK_COST, SAF_PRECONDITION_ERROR,
                 _saf_errmsg("PROPERTIES must be a valid library properties handle"));

     /* Not implemented */
     if (false) SAF_ERROR(SAF_NOTIMPL_ERROR, _saf_errmsg("not implemented yet"));
     SAF_LEAVE(SAF_NOTIMPL_ERROR);
 }