| 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 |
#endif /* __DIR_READ_H__ */ |