#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/mman.h>
#include <dlfcn.h>
#include <gfal_api.h>
#include "lcg_util.h"
#include "ss-util.h"
#include "keystore_client.h"
#include "lcg_scr.h"
Go to the source code of this file.
Functions | |
int | lcg_scr (char *src_file, char *dest_file, char *guid, char *lfn, char *vo, char *conf_file, int insecure, int verbose, char *actual_gid) |
secure copy and register | |
Variables | |
int | errno |
Definition in file lcg_scr.c.
|
secure copy and register copy local file to Grid Storage Element in encrypted format, save KEY into keystore and register LFN into catalog.
Definition at line 96 of file lcg_scr.c. References accept_host, 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_check_lfn(), ss_delete_key(), SS_EDESTNAMETOOLONG, SS_EENCINIT, SS_EEXIST, SS_EINVALGUID, SS_EINVALLFN, SS_EINVALSE, SS_EINVALVO, ss_generate_surl(), ss_get_lfchome(), ss_rand(), ss_send_key(), TRANSFERBLOCKSIZE, verbose, and VO. Referenced by main(). |
|
|