diff options
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient-internals.h')
| -rwxr-xr-x | libglusterfsclient/src/libglusterfsclient-internals.h | 13 | 
1 files changed, 13 insertions, 0 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient-internals.h b/libglusterfsclient/src/libglusterfsclient-internals.h index 40ad6f6929f..42ce5d4cac0 100755 --- a/libglusterfsclient/src/libglusterfsclient-internals.h +++ b/libglusterfsclient/src/libglusterfsclient-internals.h @@ -235,5 +235,18 @@ struct vmp_entry {          glusterfs_handle_t handle;  }; +#define LIBGF_UPDATE_LOOKUP     0x1 +#define LIBGF_UPDATE_STAT       0x2 +#define LIBGF_UPDATE_ALL        (LIBGF_UPDATE_LOOKUP | LIBGF_UPDATE_STAT) + +#define LIBGF_VALIDATE_LOOKUP  0x1 +#define LIBGF_VALIDATE_STAT     0x2 + +int +libgf_is_iattr_cache_valid (libglusterfs_client_ctx_t *ctx, inode_t *inode, +                            struct stat *sbuf, int flags); + +int +libgf_update_iattr_cache (inode_t *inode, int flags, struct stat *buf);  #endif  | 
