summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix-gfid-path.h
blob: dbe0c59540daad0dcefebe94260647ce760ea749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
   Copyright (c) 2017 Red Hat, Inc. <http://www.redhat.com>
   This file is part of GlusterFS.

   This file is licensed to you under your choice of the GNU Lesser
   General Public License, version 3 or any later version (LGPLv3 or
   later), or the GNU General Public License, version 2 (GPLv2), in all
   cases as published by the Free Software Foundation.
*/

#ifndef _POSIX_GFID_PATH_H
#define _POSIX_GFID_PATH_H

#include "xlator.h"
#include "common-utils.h"

#define MAX_GFID2PATH_LINK_SUP 500

int32_t
posix_set_gfid2path_xattr (xlator_t *, const char *, uuid_t,
                           const char *);
int32_t
posix_remove_gfid2path_xattr (xlator_t *, const char *, uuid_t,
                              const char *);
#endif /* _POSIX_GFID_PATH_H */