"Fossies" - the Fresh Open Source Software Archive

Member "glusterfs-8.2/xlators/cluster/afr/src/afr-dir-write.h" (16 Sep 2020, 1415 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-write.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.
    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 */
   11 #ifndef __DIR_WRITE_H__
   12 #define __DIR_WRITE_H__
   14 int32_t
   15 afr_create(call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t flags,
   16            mode_t mode, mode_t umask, fd_t *fd, dict_t *xdata);
   18 int32_t
   19 afr_mknod(call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode,
   20           dev_t dev, mode_t umask, dict_t *xdata);
   22 int32_t
   23 afr_mkdir(call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode,
   24           mode_t umask, dict_t *xdata);
   26 int32_t
   27 afr_unlink(call_frame_t *frame, xlator_t *this, loc_t *loc, int xflag,
   28            dict_t *xdata);
   30 int32_t
   31 afr_rmdir(call_frame_t *frame, xlator_t *this, loc_t *loc, int flags,
   32           dict_t *xdata);
   34 int32_t
   35 afr_link(call_frame_t *frame, xlator_t *this, loc_t *oldloc, loc_t *newloc,
   36          dict_t *xdata);
   38 int32_t
   39 afr_rename(call_frame_t *frame, xlator_t *this, loc_t *oldloc, loc_t *newloc,
   40            dict_t *xdata);
   42 int
   43 afr_symlink(call_frame_t *frame, xlator_t *this, const char *linkpath,
   44             loc_t *oldloc, mode_t umask, dict_t *params);
   46 #endif /* __DIR_WRITE_H__ */