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 00029 #include <regex.h> 00030 #include <time.h> 00031 #include <stdio.h> 00032 #include "../gfal_common_plugin.h" 00033 00034 00035 gfal_file_handle gfal_rfio_openG(plugin_handle ch , const char* path, int flag, mode_t mode, GError**); 00036 00037 int gfal_rfio_closeG(plugin_handle handle, gfal_file_handle fd, GError ** err); 00038 00039 int gfal_rfio_writeG(plugin_handle handle , gfal_file_handle fd, void* buff, size_t s_buff, GError** err); 00040 00041 int gfal_rfio_readG(plugin_handle handle , gfal_file_handle fd, void* buff, size_t s_buff, GError** err); 00042 00043 int gfal_rfio_lseekG(plugin_handle handle , gfal_file_handle fd, off_t offset, int whence, GError** err); 00044 00045 int gfal_rfio_statG(plugin_handle handle, const char* name, struct stat* buff, GError ** err); 00046 00047 int gfal_rfio_lstatG(plugin_handle handle, const char* name, struct stat* buff, GError ** err); 00048 00049 gfal_file_handle gfal_rfio_opendirG(plugin_handle handle, const char* name, GError ** err); 00050 00051 struct dirent* gfal_rfio_readdirG(plugin_handle handle, gfal_file_handle fh , GError** err); 00052 00053 int gfal_rfio_closedirG(plugin_handle handle, gfal_file_handle fh, GError** err); 00054 00055 const char* gfal_rfio_getName();