futility/updater_archive.c
/* Callback for fallback drivers to get full path easily. */
Callback for fallback drivers to get full path easily.
Callback for fallback drivers to get full path easily .
static const char *archive_fallback_get_path(void *handle, const char *fname,
					     char **temp_path)
{
	if (handle && *fname != '/') {
		ASPRINTF(temp_path, "%s/%s", (char *)handle, fname);
		return *temp_path;
	}
	return fname;
}
static const char * archive_fallback_get_path ( void * handle , const char * fname , char * * temp_path ) { if ( handle && * fname != ' ' ) { ASPRINTF ( temp_path , " " , ( char * ) handle , fname ) ; return * temp_path ; } return fname ; }
Callback for fallback drivers to get full path easily.
Callback for fallback drivers to get full path easily .