futility/updater_archive.c
/*
 * Traverses all files within archive (directories are ignored).
 * For every entry, the path (relative the archive root) will be passed to
 * callback function, until the callback returns non-zero.
 * The arg argument will also be passed to callback.
 * Returns 0 on success otherwise non-zero as failure.
 */
Traverses all files within archive (directories are ignored).
For every entry, the path (relative the archive root) will be passed to
callback function, until the callback returns non-zero.
The arg argument will also be passed to callback.
Returns 0 on success otherwise non-zero as failure.
Traverses all files within archive ( directories are ignored ) . For every entry the path ( relative the archive root ) will be passed to callback function until the callback returns non - zero . The arg argument will also be passed to callback . Returns 0 on success otherwise non - zero as failure .
static int archive_walk(struct archive *ar, void *arg,
			int (*callback)(const char *path, void *arg))
{
	if (!ar)
		return archive_fallback_walk(NULL, arg, callback);
	return ar->walk(ar->handle, arg, callback);
}
static int archive_walk ( struct archive * ar , void * arg , int ( * callback ) ( const char * path , void * arg ) ) { if ( ! ar ) return archive_fallback_walk ( NULL , arg , callback ) ; return ar -> walk ( ar -> handle , arg , callback ) ; }
Traverses all files within archive (directories are ignored).
Traverses all files within archive ( directories are ignored ) .