ECP-VELOC Components
User documentation for all components
axl_async_bbapi.h
Go to the documentation of this file.
1 #ifndef AXL_ASYNC_BBAPI_H
2 #define AXL_ASYNC_BBAPI_H
3 #include <stdint.h>
4 
5 #define AXL_BBAPI_KEY_TRANSFERHANDLE ("BB_TransferHandle")
6 #define AXL_BBAPI_KEY_TRANSFERDEF ("BB_TransferDef")
7 #define AXL_BBAPI_KEY_FALLBACK ("BB_Fallback")
8 
14 int axl_async_init_bbapi(void);
16 int axl_async_finalize_bbapi(void);
17 int axl_async_create_bbapi(int id);
18 int axl_async_add_bbapi(int id, const char* source, const char* destination);
19 int axl_async_get_bbapi_handle(int id, uint64_t* thandle);
20 int axl_async_start_bbapi(int id);
21 int axl_async_resume_bbapi(int id);
22 int axl_async_test_bbapi(int id);
23 int axl_async_wait_bbapi(int id);
24 int axl_async_cancel_bbapi(int id);
25 
27 
28 /*
29  * If the BBAPI is in fallback mode return 1, else return 0.
30  *
31  * Fallback mode happens when we can't transfer the files using the BBAPI due
32  * to lack of filesystem support. Instead, fall back to a more compatible
33  * transfer mode.
34  */
35 int axl_bbapi_in_fallback(int id);
36 
38 #endif //AXL_ASYNC_BBAPI_H
axl_async_start_bbapi
int axl_async_start_bbapi(int id)
axl_bbapi_in_fallback
int axl_bbapi_in_fallback(int id)
axl_all_paths_are_bbapi_compatible
int axl_all_paths_are_bbapi_compatible(int id)
axl_async_create_bbapi
int axl_async_create_bbapi(int id)
axl_async_wait_bbapi
int axl_async_wait_bbapi(int id)
axl_async_resume_bbapi
int axl_async_resume_bbapi(int id)
axl_async_add_bbapi
int axl_async_add_bbapi(int id, const char *source, const char *destination)
axl_async_cancel_bbapi
int axl_async_cancel_bbapi(int id)
axl_async_init_bbapi
int axl_async_init_bbapi(void)
axl_async_finalize_bbapi
int axl_async_finalize_bbapi(void)
axl_async_get_bbapi_handle
int axl_async_get_bbapi_handle(int id, uint64_t *thandle)
axl_async_test_bbapi
int axl_async_test_bbapi(int id)