CERN org.glite.Gfal
2.0.1
|
00001 #pragma once 00002 #ifndef _GFAL2_TRANSFER_TYPES_ 00003 #define _GFAL2_TRANSFER_TYPES_ 00004 00005 /* 00006 * Copyright (c) Members of the EGEE Collaboration. 2004. 00007 * See http://www.eu-egee.org/partners/ for details on the copyright holders. 00008 * 00009 * Licensed under the Apache License, Version 2.0 (the "License"); 00010 * you may not use this file except in compliance with the License. 00011 * You may obtain a copy of the License at 00012 * 00013 * http://www.apache.org/licenses/LICENSE-2.0 00014 * 00015 * Unless required by applicable law or agreed to in writing, software 00016 * distributed under the License is distributed on an "AS IS" BASIS, 00017 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00018 * See the License for the specific language governing permissions and 00019 * limitations under the License. 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