00001 00008 /* lcg_scr.h - Secure copy User Interface to Grid header file 00009 * ==================================================================== 00010 * Copyright (c) Giordano Scuderi, Unico SRL. All rights reserved. 00011 * 00012 * Redistribution and use in source and binary forms, with or without 00013 * modification, are permitted provided that the following conditions 00014 * are met: 00015 * 00016 * 1. Redistributions of source code must retain the above copyright 00017 * notice, this list of conditions and the following disclaimer. 00018 * 00019 * 2. Redistributions in binary form must reproduce the above copyright 00020 * notice, this list of conditions and the following disclaimer in 00021 * the documentation and/or other materials provided with the 00022 * distribution. 00023 * 00024 * 3. All advertising materials mentioning features or use of this 00025 * software must display the following acknowledgment: 00026 * "This product includes software developed by Giordano Scuderi 00027 * for Unico SRL" 00028 * 00029 * 4. The names "Secure Storage" must not be used to 00030 * endorse or promote products derived from this software without 00031 * prior written permission. For written permission, please contact 00032 * gscuderi@unicosrl.it. 00033 * 00034 * 5. Products derived from this software may not be called "Secure Storage" 00035 * nor may "Secure Storage" appear in their names without prior written 00036 * permission of Giordano Scuderi (Unico SRL). 00037 * 00038 * 6. Redistributions of any form whatsoever must retain the following 00039 * acknowledgment: 00040 * "This product includes software developed by Giordano Scuderi 00041 * for Unico SRL" 00042 * 00043 * THIS SOFTWARE IS PROVIDED BY UNICO SRL ``AS IS'' AND ANY 00044 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00045 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 00046 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL UNICO SRL OR 00047 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 00048 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 00049 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00050 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 00051 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 00052 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 00053 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 00054 * OF THE POSSIBILITY OF SUCH DAMAGE. 00055 * ==================================================================== 00056 * 00057 * "This product includes software developed by the OpenSSL Project 00058 * for use in the OpenSSL Toolkit (http://www.openssl.org/)" 00059 * 00060 */ 00061 00062 #ifdef __cplusplus 00063 extern "C" { 00064 #endif 00065 00066 #define TRANSFERBLOCKSIZE 1048576 00067 #define MAXPATHLENGTH 255 00068 #define VO "LCG_GFAL_VO" 00069 #define CONF "SS_CONFIG_FILE" 00070 00071 /* 00072 * LCG_SRC Function 00073 * 00074 */ 00075 int lcg_scr(char *src_file,char *dest_file,char *guid,char *lfn,char *vo, \ 00076 char *conf_file,int insecure,int verbose,char *actual_gid); 00077 00078 00079 #ifdef __cplusplus 00080 } /* closing brace for extern "C" */ 00081 #endif