/builddir/build/BUILD/gfal2-2.0.0/src/posix/gfal_posix_read.c File Reference

file for the internal read function for the posix interface More...

#include <glib.h>
#include <stdlib.h>
#include "../common/gfal_types.h"
#include "../common/gfal_common_filedescriptor.h"
#include "gfal_common_file_handle.h"
#include "gfal_posix_internal.h"
#include "../common/gfal_common_errverbose.h"
#include "../common/gfal_common_file_handle.h"
#include "../common/gfal_common_plugin.h"
#include "gfal_posix_local_file.h"

Functions

int gfal_posix_gfalfilehandle_read (gfal_handle handle, gfal_file_handle fh, void *buff, size_t s_buff, GError **err)
int gfal_posix_internal_read (int fd, void *buff, size_t s_buff)
ssize_t gfal_posix_gfalfilehandle_pread (gfal_handle handle, gfal_file_handle fh, void *buff, size_t s_buff, off_t offset, GError **err)
ssize_t gfal_posix_internal_pread (int fd, void *buff, size_t s_buff, off_t offset)

Detailed Description

file for the internal read function for the posix interface

Author:
Devresse Adrien
Version:
2.0
Date:
01/07/2011

Function Documentation

ssize_t gfal_posix_gfalfilehandle_pread ( gfal_handle  handle,
gfal_file_handle  fh,
void *  buff,
size_t  s_buff,
off_t  offset,
GError **  err 
) [inline]

map the file handle to the correct call

References gfal_local_pread(), and gfal_plugin_preadG().

Referenced by gfal_posix_internal_pread().

int gfal_posix_gfalfilehandle_read ( gfal_handle  handle,
gfal_file_handle  fh,
void *  buff,
size_t  s_buff,
GError **  err 
) [inline]

map the file handle to the correct call

References gfal_local_read(), and gfal_plugin_readG().

Referenced by gfal_posix_internal_read().

ssize_t gfal_posix_internal_pread ( int  fd,
void *  buff,
size_t  s_buff,
off_t  offset 
) [inline]

Implementation of the pread function

References gfal_file_handle_bind(), and gfal_posix_gfalfilehandle_pread().

Referenced by gfal_pread().

int gfal_posix_internal_read ( int  fd,
void *  buff,
size_t  s_buff 
) [inline]

Implementation of the read functions

References gfal_file_handle_bind(), and gfal_posix_gfalfilehandle_read().

Referenced by gfal_read().


Generated on 15 May 2012 for CERN org.glite.Gfal by  doxygen 1.6.1