| 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 __INODE_READ_H__ |
| 12 |
#define __INODE_READ_H__ |
| 13 |
|
| 14 |
int32_t |
| 15 |
afr_access(call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t mask, |
| 16 |
dict_t *xdata); |
| 17 |
|
| 18 |
int32_t |
| 19 |
afr_stat(call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata); |
| 20 |
|
| 21 |
int32_t |
| 22 |
afr_fstat(call_frame_t *frame, xlator_t *this, fd_t *fd, dict_t *xdata); |
| 23 |
|
| 24 |
int32_t |
| 25 |
afr_readlink(call_frame_t *frame, xlator_t *this, loc_t *loc, size_t size, |
| 26 |
dict_t *xdata); |
| 27 |
|
| 28 |
int32_t |
| 29 |
afr_readv(call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size, |
| 30 |
off_t offset, uint32_t flags, dict_t *xdata); |
| 31 |
|
| 32 |
int32_t |
| 33 |
afr_getxattr(call_frame_t *frame, xlator_t *this, loc_t *loc, const char *name, |
| 34 |
dict_t *xdata); |
| 35 |
|
| 36 |
int32_t |
| 37 |
afr_fgetxattr(call_frame_t *frame, xlator_t *this, fd_t *fd, const char *name, |
| 38 |
dict_t *xdata); |
| 39 |
|
| 40 |
int |
| 41 |
afr_seek(call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset, |
| 42 |
gf_seek_what_t what, dict_t *xdata); |
| 43 |
int |
| 44 |
afr_handle_quota_size(afr_local_t *local, xlator_t *this); |
| 45 |
#endif /* __INODE_READ_H__ */ |