#include "fsal.h"
#include "fsal_internal.h"
#include "fsal_convert.h"
#include "abstract_mem.h"
#include <string.h>
#include <fcntl.h>
Go to the source code of this file.
Define Documentation
#define RCP_BUFFER_SIZE 10485760 |
Function Documentation
char* strcat |
( |
char * |
dest, |
|
|
const char * |
src |
|
) |
| |
FSAL_rcp: Copy an HPSS file to/from a local filesystem.
- Parameters:
-
filehandle | (input): Handle of the HPSS file to be copied. |
cred | (input): Authentication context for the operation (user,...). |
p_local_path | (input): Path of the file in the local filesystem. |
transfer_opt | (input): Flags that indicate transfer direction and options. This consists of an inclusive OR between the following values :
- FSAL_RCP_FS_TO_LOCAL: Copy the file from the filesystem to a local path.
- FSAL_RCP_LOCAL_TO_FS: Copy the file from local path to the filesystem.
- FSAL_RCP_LOCAL_CREAT: Create the target local file if it doesn't exist.
- FSAL_RCP_LOCAL_EXCL: Produce an error if the target local file already exists.
|
- Returns:
- Major error codes :
- ERR_FSAL_NO_ERROR (no error)
- Another error code if an error occured.
Definition at line 54 of file FSAL_XFS/fsal_rcp.c.