Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/fmgt/src/fmgt.c

    r00d26202 r5df2570  
    218218}
    219219
     220/** Report action being performed to the caller.
     221 *
     222 * @param fmgt File management object
     223 * @param action Action we started performing
     224 * @param src Source (or only) path
     225 * @param dest Destination path or @c NULL
     226 */
     227void fmgt_report_action(fmgt_t *fmgt, fmgt_action_t action, const char *src,
     228    const char *dest)
     229{
     230        if (fmgt->cb != NULL && fmgt->cb->action != NULL) {
     231                fmgt->cb->action(fmgt->cb_arg, action, src, dest);
     232        }
     233}
     234
    220235/** Provide initial progress update (if required).
    221236 *
Note: See TracChangeset for help on using the changeset viewer.