Exemplo n.º 1
0
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);
}
Exemplo n.º 2
0
Arquivo: tag_ape.c Projeto: agrif/mpd
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;
}