summaryrefslogtreecommitdiffstats
path: root/xlators/features/namespace/src/namespace.h
blob: 1dbec50e0246fd429260486836092881207883f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef __NAMESPACE_H__
#define __NAMESPACE_H__

#ifndef _CONFIG_H
#define _CONFIG_H
#include "config.h"
#endif

#include "xlator.h"
#include "call-stub.h"

#define GF_NAMESPACE "namespace"

typedef struct {
        gf_boolean_t tag_namespaces;
} ns_private_t;

typedef struct {
        loc_t loc;         /* We store a "fake" loc_t for the getxattr wind. */
        call_stub_t *stub; /* A stub back to the function we're resuming. */
} ns_local_t;

#endif /* __NAMESPACE_H__ */