CERN org.glite.Gfal
2.0.1
|
00001 #pragma once 00002 #ifndef _GFAL_COMMON_INTERNAL_H_ 00003 #define _GFAL_COMMON_INTERNAL_H_ 00004 /* 00005 * Copyright (c) Members of the EGEE Collaboration. 2004. 00006 * See http://www.eu-egee.org/partners/ for details on the copyright holders. 00007 * 00008 * Licensed under the Apache License, Version 2.0 (the "License"); 00009 * you may not use this file except in compliance with the License. 00010 * You may obtain a copy of the License at 00011 * 00012 * http://www.apache.org/licenses/LICENSE-2.0 00013 * 00014 * Unless required by applicable law or agreed to in writing, software 00015 * distributed under the License is distributed on an "AS IS" BASIS, 00016 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00017 * See the License for the specific language governing permissions and 00018 * limitations under the License. 00019 */ 00020 00029 #include <common/gfal_prototypes.h> 00030 #include <common/gfal_types.h> 00031 00032 #ifdef __cplusplus 00033 extern "C" 00034 { 00035 #endif 00036 00037 00038 00039 gfal_handle gfal_initG(GError** err); 00040 void gfal_handle_freeG(gfal_handle handle); 00041 00042 00043 00044 // conversion funcs 00045 char** gfal_GList_to_tab(GList* surls); 00046 int* gfal_GList_to_tab_int(GList* int_list); 00047 00048 00049 // convenience internal funcs 00050 void gfal_new_request_state(gfal_handle handle); 00051 int resolve_dlsym_listG(void* handle, void*** flist, const char** sym_list, int num, GError** err); 00052 gboolean is_valid_access_result(int status); 00053 00054 00055 #ifdef __cplusplus 00056 } 00057 #endif // __cplusplus 00058 00059 #endif // _GFAL_COMMON_INTERNAL_H_