summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/rpc-common-xdr.x
blob: ca28f38b5db955091459f7f25659df6eee8c8dc9 (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
28
29
30
31
32
33
34
35
36
37
38
39
/* This file has definition of few XDR structures which are
 * not captured in any section specific file */

struct auth_glusterfs_parms_v2 {
        int pid;
        unsigned int uid;
        unsigned int gid;
        unsigned int groups<>;
        opaque lk_owner<>;
};

struct auth_glusterfs_parms {
        unsigned hyper lk_owner;
        unsigned int pid;
        unsigned int uid;
	unsigned int gid;
	unsigned int ngrps;
	unsigned groups[16];
};

struct gf_dump_req {
	unsigned hyper gfs_id;
};


struct gf_prog_detail {
	string progname<>;
	unsigned hyper prognum;
	unsigned hyper progver;
	struct gf_prog_detail *next;
};


struct gf_dump_rsp {
        unsigned hyper gfs_id;
        int op_ret;
	int op_errno;
	struct gf_prog_detail *prog;
};