src/axl_async_bbapi.c
/* Called from AXL_Add
 * Adds file source/destination to BBTransferDef */
Called from AXL_Add
Adds file source/destination to BBTransferDef
Called from AXL_Add Adds file source / destination to BBTransferDef
int axl_async_add_bbapi (int id, const char* source, const char* dest)
{
#ifdef HAVE_BBAPI
    kvtree* file_list = axl_kvtrees[id];
    BBTransferDef_t* tdef = NULL;
    kvtree_util_get_ptr(file_list, AXL_BBAPI_KEY_TRANSFERDEF, (void**) &tdef);
    int rc = BB_AddFiles(tdef, source, dest, 0);
    return bb_check(rc);
#endif
    return AXL_FAILURE;
}
int axl_async_add_bbapi ( int id , const char * source , const char * dest ) { #ifdef HAVE_BBAPI kvtree * file_list = axl_kvtrees [ id ] ; BBTransferDef_t * tdef = NULL ; kvtree_util_get_ptr ( file_list , AXL_BBAPI_KEY_TRANSFERDEF , ( void * * ) & tdef ) ; int rc = BB_AddFiles ( tdef , source , dest , 0 ) ; return bb_check ( rc ) ; #endif return AXL_FAILURE ; }
Called from AXL_Add
 Adds file source/destination to BBTransferDef
Called from AXL_Add Adds file source / destination to BBTransferDef
/* get transfer definition for this id */ /* add file to transfer definition */