00001 #pragma once
00002 #ifndef GFAL_TRANSFER_PLUGIN_H
00003 #define GFAL_TRANSFER_PLUGIN_H
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00029 #include <transfer/gfal_transfer_types.h>
00030 #include <transfer/gfal_transfer.h>
00031
00032
00033 #ifdef __cplusplus
00034 extern "C"
00035 {
00036 #endif // __cplusplus
00037
00041 long gfalt_get_timeout(gfalt_params_t handle, GError** err);
00042
00046 long gfalt_get_nbstreams(gfalt_params_t params, GError** err);
00047
00048
00049
00050
00051
00055 typedef int(*plugin_url_check2_call)(plugin_handle, const char* src, const char* dst, gfal_url2_check check);
00056
00057
00058 typedef int (*plugin_filecopy_call)(plugin_handle, gfal_context_t, gfalt_params_t, const char* src, const char* dst, GError** );
00059
00060
00061 typedef int (*plugin_url_check_call)(plugin_handle, const char* src, plugin_mode check);
00062
00063
00064 typedef const char * (*plugin_name_call)();
00065
00066 #ifdef __cplusplus
00067 }
00068 #endif // __cplusplus
00069
00070 #endif //_GFAL2_TRANSFER_
00071