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 "../gfal_common_plugin.h" 00032 #include "../gfal_types.h" 00033 00034 typedef struct _gfal_plugin_rfio_handle{ 00035 gfal_handle handle; 00036 struct rfio_proto_ops* rf; 00037 regex_t rex; 00038 }* gfal_plugin_rfio_handle; 00039 00040 00041 gboolean gfal_rfio_check_url(plugin_handle, const char* url, plugin_mode mode, GError** err); 00042 00043 00044 00045 gfal_plugin_interface gfal_plugin_init(gfal_handle handle, GError** err); 00046 00047 00048