src/axl_async_bbapi.c
/* If the BBAPI is in fallback mode return 1, else return 0.
 *
 * Fallback mode happens when we can't transfer the files using the BBAPI due
 * to the source or destination nor supporting extents (which BBAPI requires).
 * If we're in fallback mode, we use a more compatible transfer method.
 *
 * Fallback mode is DISABLED by default.  You need to pass
 * -DENABLE_BBAPI_FALLBACK to cmake to enable it. */
If the BBAPI is in fallback mode return 1, else return 0.
Fallback mode happens when we can't transfer the files using the BBAPI due
to the source or destination nor supporting extents (which BBAPI requires).
If we're in fallback mode, we use a more compatible transfer method.

Fallback mode is DISABLED by default.
If the BBAPI is in fallback mode return 1 else return 0 . Fallback mode happens when we can ' t transfer the files using the BBAPI due to the source or destination nor supporting extents ( which BBAPI requires ) . If we ' re in fallback mode we use a more compatible transfer method . Fallback mode is DISABLED by default .
int axl_bbapi_in_fallback(int id)
{
    int bbapi_fallback = 0;
#ifdef HAVE_BBAPI_FALLBACK
    kvtree* file_list = axl_kvtrees[id];
    if (kvtree_util_get_int(file_list, AXL_BBAPI_KEY_FALLBACK, &bbapi_fallback) !=
        KVTREE_SUCCESS)
    {
        return 0;
    }
#endif
    return bbapi_fallback;
}
int axl_bbapi_in_fallback ( int id ) { int bbapi_fallback = 0 ; #ifdef HAVE_BBAPI_FALLBACK kvtree * file_list = axl_kvtrees [ id ] ; if ( kvtree_util_get_int ( file_list , AXL_BBAPI_KEY_FALLBACK , & bbapi_fallback ) != KVTREE_SUCCESS ) { return 0 ; } #endif return bbapi_fallback ; }
If the BBAPI is in fallback mode return 1, else return 0.
If the BBAPI is in fallback mode return 1 else return 0 .
/* Value isn't set, so we're not in fallback mode */