bool tag_ape_scan2(const char *path_fs, const struct tag_handler *handler, void *handler_ctx) { struct tag_ape_ctx ctx = { .handler = handler, .handler_ctx = handler_ctx, }; return tag_ape_scan(path_fs, tag_ape_callback, &ctx); }
bool tag_ape_scan2(const char *path_fs, const struct tag_handler *handler, void *handler_ctx) { struct tag_ape_ctx ctx = { .handler = handler, .handler_ctx = handler_ctx, .recognized = false, }; return tag_ape_scan(path_fs, tag_ape_callback, &ctx) && ctx.recognized; }