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 "../gfal_common_internal.h" 00029 #include "../gfal_common_errverbose.h" 00030 #include "../gfal_common_plugin.h" 00031 #include "../gfal_types.h" 00032 00033 typedef struct _gfal_plugin_dcap_handle{ 00034 gfal_handle handle; 00035 struct dcap_proto_ops* ops; 00036 regex_t rex; 00037 }* gfal_plugin_dcap_handle; 00038 00039 00043 gfal_plugin_interface gfal_plugin_init(gfal_handle handle, GError** err); 00044 00045