00001 #pragma once
00002 #ifndef _GFAL2_TRANSFER_TYPES_
00003 #define _GFAL2_TRANSFER_TYPES_
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #include <stdlib.h>
00023 #include <uuid/uuid.h>
00024
00025 #include <glib.h>
00026
00027 #define GFALT_DEFAULT_TRANSFERT_TIMEOUT 60
00028 #define GFALT_DEFAULT_NB_STREAM 5
00029
00030
00031 #ifdef __cplusplus
00032 extern "C"
00033 {
00034 #endif // __cplusplus
00035
00040 typedef gpointer gfalt_params_handle;
00041 typedef gfalt_params_handle gfalt_params_t;
00042
00046 typedef gpointer gfalt_tfr_handle;
00047 typedef gfalt_tfr_handle gfalt_transfer_status_t;
00048
00056 typedef void (*gfalt_monitor_tfr)(gfalt_tfr_handle h, const char* src, const char* dst, gpointer user_data) ;
00057
00058 #ifdef __cplusplus
00059 }
00060 #endif // __cplusplus
00061
00062 #endif //_GFAL2_TRANSFER_TYPES_
00063