|
CERN org.glite.Gfal
2.0.1
|
file for the internal func of the posix interface More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <glib.h>#include <regex.h>#include <attr/xattr.h>#include "../common/gfal_common_errverbose.h"#include "../common/gfal_common_filedescriptor.h"#include "gfal_posix_local_file.h"Defines | |
| #define | _GNU_SOURCE |
| #define | GFAL_LOCAL_PREFIX "file:" |
| #define | GFAL_LOCAL_PREFIX_LEN 5 |
Functions | |
| int | gfal_local_initG (GError **err) |
| void | gfal_local_report_error (const char *funcname, GError **err) |
| int | gfal_local_access (const char *path, int amode, GError **err) |
| int | gfal_local_chmod (const char *path, mode_t mode, GError **err) |
| ssize_t | gfal_local_getxattr (const char *path, const char *name, void *buff, size_t s_buff, GError **err) |
| ssize_t | gfal_local_listxattr (const char *path, char *list, size_t s_list, GError **err) |
| int | gfal_local_setxattr (const char *path, const char *name, const void *value, size_t size, int flags, GError **err) |
| int | gfal_local_rename (const char *oldpath, const char *newpath, GError **err) |
| int | gfal_local_stat (const char *path, struct stat *buf, GError **err) |
| int | gfal_local_lstat (const char *path, struct stat *buf, GError **err) |
| int | gfal_local_mkdir_rec (const char *full_path, mode_t mode) |
| int | gfal_local_mkdir (const char *path, mode_t mode, GError **err) |
| int | gfal_local_unlink (const char *path, GError **err) |
| gfal_file_handle | gfal_local_opendir (const char *path, GError **err) |
| struct dirent * | gfal_local_readdir (gfal_file_handle fh, GError **err) |
| gfal_file_handle | gfal_local_open (const char *path, int flag, mode_t mode, GError **err) |
| gboolean | gfal_is_local_call (const char *module_name) |
| int | gfal_local_read (gfal_file_handle fh, void *buff, size_t s_buff, GError **err) |
| ssize_t | gfal_local_pread (gfal_file_handle fh, void *buff, size_t s_buff, off_t offset, GError **err) |
| int | gfal_local_lseek (gfal_file_handle fh, off_t offset, int whence, GError **err) |
| int | gfal_local_write (gfal_file_handle fh, void *buff, size_t s_buff, GError **err) |
| ssize_t | gfal_local_pwrite (gfal_file_handle fh, void *buff, size_t s_buff, off_t offset, GError **err) |
| int | gfal_local_close (gfal_file_handle fh, GError **err) |
| ssize_t | gfal_local_readlink (const char *path, char *buff, size_t buffsiz, GError **err) |
| int | gfal_local_rmdir (const char *path, GError **err) |
| int | gfal_local_closedir (gfal_file_handle fh, GError **err) |
| int | gfal_local_symlink (const char *oldpath, const char *newpath, GError **err) |
| gboolean | gfal_check_local_url (const char *path, GError **err) |
file for the internal func of the posix interface
header file for the local access file map for the gfal_posix call
file for the local access file map for the gfal_posix call
header file for the internal func of the posix interface
| gboolean gfal_check_local_url | ( | const char * | path, |
| GError ** | err | ||
| ) |
check the validity of a classique file url
Referenced by gfal_posix_internal_mkdir(), gfal_posix_internal_open(), gfal_posix_internal_readlink(), gfal_posix_internal_rmdir(), gfal_posix_internal_setxattr(), gfal_posix_internal_stat(), gfal_posix_internal_symlink(), and gfal_posix_internal_unlink().
| int gfal_local_closedir | ( | gfal_file_handle | fh, |
| GError ** | err | ||
| ) |
local closedir mapper
| ssize_t gfal_local_pread | ( | gfal_file_handle | fh, |
| void * | buff, | ||
| size_t | s_buff, | ||
| off_t | offset, | ||
| GError ** | err | ||
| ) |
map the gfal_pread call to the local pread call for file://
Referenced by gfal_posix_gfalfilehandle_pread().
| ssize_t gfal_local_pwrite | ( | gfal_file_handle | fh, |
| void * | buff, | ||
| size_t | s_buff, | ||
| off_t | offset, | ||
| GError ** | err | ||
| ) |
map to the local pwrite call
Referenced by gfal_posix_gfalfilehandle_pwrite().
| int gfal_local_read | ( | gfal_file_handle | fh, |
| void * | buff, | ||
| size_t | s_buff, | ||
| GError ** | err | ||
| ) |
map the gfal_read call to the local read call for file://
Referenced by gfal_posix_gfalfilehandle_read().
| int gfal_local_rmdir | ( | const char * | path, |
| GError ** | err | ||
| ) |
local rmdir mapper
Referenced by gfal_posix_internal_rmdir().
| int gfal_local_write | ( | gfal_file_handle | fh, |
| void * | buff, | ||
| size_t | s_buff, | ||
| GError ** | err | ||
| ) |
map to the local write call
Referenced by gfal_posix_gfalfilehandle_write().
1.8.0