src/axl_async_bbapi.c
/* Return 1 if all paths for a given id's filelist in the kvtree are compatible
 * with the BBAPI (all source and destination paths are on filesystems that
 * support extents).  Return 0 if any of the source or destination paths do not
 * support extents. */
Return 1 if all paths for a given id's filelist in the kvtree are compatible
with the BBAPI (all source and destination paths are on filesystems that
support extents).  Return 0 if any of the source or destination paths do not
support extents.
Return 1 if all paths for a given id ' s filelist in the kvtree are compatible with the BBAPI ( all source and destination paths are on filesystems that support extents ) . Return 0 if any of the source or destination paths do not support extents .
int axl_all_paths_are_bbapi_compatible(int id)
{
#ifdef HAVE_BBAPI
    char* src;
    char* dst;
    kvtree_elem* elem = NULL;
    while ((elem = axl_get_next_path(id, elem, &src, &dst))) {
        if (! bbapi_copy_is_compatible(src, dst)) {
            return 0;
        }
    }
    return 1;
#endif
    return 0;
}
int axl_all_paths_are_bbapi_compatible ( int id ) { #ifdef HAVE_BBAPI char * src ; char * dst ; kvtree_elem * elem = NULL ; while ( ( elem = axl_get_next_path ( id , elem , & src , & dst ) ) ) { if ( ! bbapi_copy_is_compatible ( src , dst ) ) { return 0 ; } } return 1 ; #endif return 0 ; }
Return 1 if all paths for a given id's filelist in the kvtree are compatible
 with the BBAPI (all source and destination paths are on filesystems that
 support extents).
Return 1 if all paths for a given id ' s filelist in the kvtree are compatible with the BBAPI ( all source and destination paths are on filesystems that support extents ) .
/* Look though all our list of files */ /* This file copy isn't compatible with BBAPI */ /* All files copies are BBAPI compatible */