CERN org.glite.Gfal
2.0.1
|
00001 /* 00002 * Copyright (c) Members of the EGEE Collaboration. 2004. 00003 * See http://www.eu-egee.org/partners/ for details on the copyright holders. 00004 * 00005 * Licensed under the Apache License, Version 2.0 (the "License"); 00006 * you may not use this file except in compliance with the License. 00007 * You may obtain a copy of the License at 00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.0 00010 * 00011 * Unless required by applicable law or agreed to in writing, software 00012 * distributed under the License is distributed on an "AS IS" BASIS, 00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 * See the License for the specific language governing permissions and 00015 * limitations under the License. 00016 */ 00017 00018 00027 #include <regex.h> 00028 #include <time.h> 00029 #include <glib.h> 00030 #include "../gfal_common_internal.h" 00031 #include "../gfal_common_errverbose.h" 00032 #include "../gfal_common_plugin.h" 00033 #include "../gfal_common_filedescriptor.h" 00034 #include "../gfal_types.h" 00035 00036 gfal_file_handle gfal_dcap_openG(plugin_handle handle , const char* path, int flag, mode_t mode, GError** err); 00037 00038 int gfal_dcap_readG(plugin_handle handle , gfal_file_handle fd, void* buff, size_t s_buff, GError** err); 00039 00040 ssize_t gfal_dcap_preadG(plugin_handle handle , gfal_file_handle fd, void* buff, size_t s_buff, off_t offset, GError** err); 00041 00042 ssize_t gfal_dcap_pwriteG(plugin_handle handle , gfal_file_handle fd, const void* buff, size_t s_buff, off_t offset, GError** err); 00043 00044 int gfal_dcap_lseekG(plugin_handle handle , gfal_file_handle fd, off_t offset, int whence, GError** err); 00045 00046 int gfal_dcap_writeG(plugin_handle handle , gfal_file_handle fd, void* buff, size_t s_buff, GError** err); 00047 00048 int gfal_dcap_closeG(plugin_handle handle, gfal_file_handle fd, GError ** err); 00049 00050 int gfal_dcap_statG(plugin_handle handle, const char* name, struct stat* buff, GError ** err); 00051 00052 int gfal_dcap_lstatG(plugin_handle handle, const char* name, struct stat* buff, GError ** err); 00053 00054 int gfal_dcap_mkdirG(plugin_handle handle, const char* name, mode_t mode, gboolean pflag, GError** err); 00055 00056 const char* gfal_dcap_getName();