"Fossies" - the Fresh Open Source Software Archive

Member "glusterfs-8.2/xlators/cluster/afr/src/afr-dir-read.h" (16 Sep 2020, 962 Bytes) of package /linux/misc/glusterfs-8.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "afr-dir-read.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2   Copyright (c) 2008-2012 Red Hat, Inc. <http://www.redhat.com>
    3   This file is part of GlusterFS.
    4 
    5   This file is licensed to you under your choice of the GNU Lesser
    6   General Public License, version 3 or any later version (LGPLv3 or
    7   later), or the GNU General Public License, version 2 (GPLv2), in all
    8   cases as published by the Free Software Foundation.
    9 */
   10 
   11 #ifndef __DIR_READ_H__
   12 #define __DIR_READ_H__
   13 
   14 int32_t
   15 afr_opendir(call_frame_t *frame, xlator_t *this, loc_t *loc, fd_t *fd,
   16             dict_t *xdata);
   17 
   18 int32_t
   19 afr_releasedir(xlator_t *this, fd_t *fd);
   20 
   21 int32_t
   22 afr_readdir(call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size,
   23             off_t offset, dict_t *xdata);
   24 
   25 int32_t
   26 afr_readdirp(call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size,
   27              off_t offset, dict_t *dict);
   28 
   29 int32_t
   30 afr_checksum(call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t flags,
   31              dict_t *xdata);
   32 
   33 #endif /* __DIR_READ_H__ */