summaryrefslogtreecommitdiffstats
path: root/xlators/experimental/nsr-client/src/nsrc.h
blob: 15f0d7c85a0f5cca0f03aea1b1fda9224ef0f601 (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
26
27
/*
  Copyright (c) 2016 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 _NSRC_H_
#define _NSRC_H_

typedef struct {
        xlator_t        *active;
        uint8_t          up_children;
        uint8_t          n_children;
        uint32_t         kid_state;
} nsrc_private_t;

typedef struct {
        call_stub_t     *stub;
        xlator_t        *curr_xl;
        uint16_t        scars;
} nsrc_local_t;

#endif /* _NSRC_H_ */