CERN org.glite.Gfal  2.0.1
/builddir/build/BUILD/gfal2-2.0.0/src/common/gridftp/gridftp_plugin_main.h
00001 #pragma once
00002 #ifndef GRIDFTP_PLUGIN_MAIN_H
00003 #define GRIDFTP_PLUGIN_MAIN_H
00004 
00005 /*
00006  * Copyright (c) Members of the EGEE Collaboration. 2004.
00007  * See http://www.eu-egee.org/partners/ for details on the copyright holders.
00008  *
00009  * Licensed under the Apache License, Version 2.0 (the "License");
00010  * you may not use this file except in compliance with the License.
00011  * You may obtain a copy of the License at
00012  * 
00013  *     http://www.apache.org/licenses/LICENSE-2.0
00014  * 
00015  * Unless required by applicable law or agreed to in writing, software
00016  * distributed under the License is distributed on an "AS IS" BASIS,
00017  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00018  * See the License for the specific language governing permissions and
00019  * limitations under the License.
00020  */
00021 #include <glib.h>
00022 #include <common/gfal_constants.h>
00023 #include <common/gfal_types.h>
00024 
00025 #ifdef __cplusplus
00026 extern "C"
00027 {
00028 #endif
00029 
00030 
00031 gboolean plugin_url_check2(plugin_handle handle, const char* src, const char* dst, gfal_url2_check type );
00032 
00033 int plugin_url_check_with_gerror(plugin_handle handle, const char* src, plugin_mode check, GError ** err);
00034 
00035 int plugin_url_check(plugin_handle, const char* src, plugin_mode check);
00036 
00037 
00038 #ifdef __cplusplus
00039 }
00040 #endif
00041 
00042 #endif /* GRIDFTP_PLUGIN_MAIN_H */