summaryrefslogtreecommitdiffstats
path: root/rpc/block.h
blob: 54315b716dfafc04f7fe35e888f9500c53cd5886 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
 * Please do not edit this file.
 * It was generated using rpcgen.
 */

#ifndef _BLOCK_H_RPCGEN
#define _BLOCK_H_RPCGEN

#include <rpc/rpc.h>


#ifdef __cplusplus
extern "C" {
#endif


struct blockTrans {
	int exit;
	char *out;
};
typedef struct blockTrans blockTrans;

#define GLUSTER_BLOCK 21215311
#define GLUSTER_BLOCK_VERS 1

#if defined(__STDC__) || defined(__cplusplus)
#define BLOCK_EXEC 1
extern  blockTrans * block_exec_1(char **, CLIENT *);
extern  blockTrans * block_exec_1_svc(char **, struct svc_req *);
extern int gluster_block_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t);

#else /* K&R C */
#define BLOCK_EXEC 1
extern  blockTrans * block_exec_1();
extern  blockTrans * block_exec_1_svc();
extern int gluster_block_1_freeresult ();
#endif /* K&R C */

/* the xdr functions */

#if defined(__STDC__) || defined(__cplusplus)
extern  bool_t xdr_blockTrans (XDR *, blockTrans*);

#else /* K&R C */
extern bool_t xdr_blockTrans ();

#endif /* K&R C */

#ifdef __cplusplus
}
#endif

#endif /* !_BLOCK_H_RPCGEN */