#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <getopt.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/mman.h>
#include <dlfcn.h>
#include <uuid/uuid.h>
#include <gfal_api.h>
#include "lcg_util.h"
#include "lcg_scp.h"
#include "ss-util.h"
#include "keystore_client.h"
Go to the source code of this file.
Functions | |
int | lcg_scp (char *src_file, char *dest_file, char *vo, char *conf_file, int insecure, int verbose) |
secure copy | |
Variables | |
int | errno |
Definition in file lcg_scp.c.
|
secure copy copy a Grid file into local destination and remove encryption (only LFN input file are allowed).
Definition at line 97 of file lcg_scp.c. References accept_lfn, accept_vo, AES_BLOCK_SIZE, AES_KEY, AES_set_encrypt_key(), errno, HEX_IVSIZE, HEX_KEYSIZE, insecure, LCG_MAXPATHLEN, lock_memory(), aes_key_st::rd_key, securestorage_AES_ctr(), securestorage_error(), SS_EACCES, SS_EENCINIT, SS_EEXIST, SS_EINVALDEST, SS_EINVALLFN, SS_EINVALVO, SS_ESOURCENAMETOOLONG, ss_get_key(), ss_get_lfchome(), ss_get_surl(), TRANSFERBLOCKSIZE, verbose, and VO. Referenced by main(). |
|
|