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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
|
/*
* Please do not edit this file.
* It was generated using rpcgen.
*/
#ifndef _AMQ_H_RPCGEN
#define _AMQ_H_RPCGEN
#define RPCGEN_VERSION 199506
#include <rpc/rpc.h>
#define AMQ_STRLEN 1024
typedef char *amq_string;
#ifdef __cplusplus
extern "C" bool_t xdr_amq_string(XDR *, amq_string *);
#elif defined(__STDC__)
extern bool_t xdr_amq_string(XDR *, amq_string *);
#else /* Old Style C */
bool_t xdr_amq_string();
#endif /* Old Style C */
typedef int64_t time_type;
#ifdef __cplusplus
extern "C" bool_t xdr_time_type(XDR *, time_type *);
#elif defined(__STDC__)
extern bool_t xdr_time_type(XDR *, time_type *);
#else /* Old Style C */
bool_t xdr_time_type();
#endif /* Old Style C */
struct amq_mount_tree {
amq_string mt_mountinfo;
amq_string mt_directory;
amq_string mt_mountpoint;
amq_string mt_type;
time_type mt_mounttime;
u_short mt_mountuid;
int mt_getattr;
int mt_lookup;
int mt_readdir;
int mt_readlink;
int mt_statfs;
struct amq_mount_tree *mt_next;
struct amq_mount_tree *mt_child;
};
typedef struct amq_mount_tree amq_mount_tree;
#ifdef __cplusplus
extern "C" bool_t xdr_amq_mount_tree(XDR *, amq_mount_tree *);
#elif defined(__STDC__)
extern bool_t xdr_amq_mount_tree(XDR *, amq_mount_tree *);
#else /* Old Style C */
bool_t xdr_amq_mount_tree();
#endif /* Old Style C */
typedef amq_mount_tree *amq_mount_tree_p;
#ifdef __cplusplus
extern "C" bool_t xdr_amq_mount_tree_p(XDR *, amq_mount_tree_p *);
#elif defined(__STDC__)
extern bool_t xdr_amq_mount_tree_p(XDR *, amq_mount_tree_p *);
#else /* Old Style C */
bool_t xdr_amq_mount_tree_p();
#endif /* Old Style C */
struct amq_mount_info {
amq_string mi_type;
amq_string mi_mountpt;
amq_string mi_mountinfo;
amq_string mi_fserver;
int mi_error;
int mi_refc;
int mi_up;
};
typedef struct amq_mount_info amq_mount_info;
#ifdef __cplusplus
extern "C" bool_t xdr_amq_mount_info(XDR *, amq_mount_info *);
#elif defined(__STDC__)
extern bool_t xdr_amq_mount_info(XDR *, amq_mount_info *);
#else /* Old Style C */
bool_t xdr_amq_mount_info();
#endif /* Old Style C */
typedef struct {
u_int amq_mount_info_list_len;
amq_mount_info *amq_mount_info_list_val;
} amq_mount_info_list;
#ifdef __cplusplus
extern "C" bool_t xdr_amq_mount_info_list(XDR *, amq_mount_info_list *);
#elif defined(__STDC__)
extern bool_t xdr_amq_mount_info_list(XDR *, amq_mount_info_list *);
#else /* Old Style C */
bool_t xdr_amq_mount_info_list();
#endif /* Old Style C */
typedef struct {
u_int amq_mount_tree_list_len;
amq_mount_tree_p *amq_mount_tree_list_val;
} amq_mount_tree_list;
#ifdef __cplusplus
extern "C" bool_t xdr_amq_mount_tree_list(XDR *, amq_mount_tree_list *);
#elif defined(__STDC__)
extern bool_t xdr_amq_mount_tree_list(XDR *, amq_mount_tree_list *);
#else /* Old Style C */
bool_t xdr_amq_mount_tree_list();
#endif /* Old Style C */
struct amq_mount_stats {
int as_drops;
int as_stale;
int as_mok;
int as_merr;
int as_uerr;
};
typedef struct amq_mount_stats amq_mount_stats;
#ifdef __cplusplus
extern "C" bool_t xdr_amq_mount_stats(XDR *, amq_mount_stats *);
#elif defined(__STDC__)
extern bool_t xdr_amq_mount_stats(XDR *, amq_mount_stats *);
#else /* Old Style C */
bool_t xdr_amq_mount_stats();
#endif /* Old Style C */
enum amq_opt {
AMOPT_DEBUG = 0,
AMOPT_LOGFILE = 1,
AMOPT_XLOG = 2,
AMOPT_FLUSHMAPC = 3
};
typedef enum amq_opt amq_opt;
#ifdef __cplusplus
extern "C" bool_t xdr_amq_opt(XDR *, amq_opt *);
#elif defined(__STDC__)
extern bool_t xdr_amq_opt(XDR *, amq_opt *);
#else /* Old Style C */
bool_t xdr_amq_opt();
#endif /* Old Style C */
struct amq_setopt {
amq_opt as_opt;
amq_string as_str;
};
typedef struct amq_setopt amq_setopt;
#ifdef __cplusplus
extern "C" bool_t xdr_amq_setopt(XDR *, amq_setopt *);
#elif defined(__STDC__)
extern bool_t xdr_amq_setopt(XDR *, amq_setopt *);
#else /* Old Style C */
bool_t xdr_amq_setopt();
#endif /* Old Style C */
#define AMQ_PROGRAM ((u_long)300019)
#define AMQ_VERSION ((u_long)57)
#ifdef __cplusplus
#define AMQPROC_NULL ((u_long)0)
extern "C" void * amqproc_null_57(void *, CLIENT *);
extern "C" void * amqproc_null_57_svc(void *, struct svc_req *);
#define AMQPROC_MNTTREE ((u_long)1)
extern "C" amq_mount_tree_p * amqproc_mnttree_57(amq_string *, CLIENT *);
extern "C" amq_mount_tree_p * amqproc_mnttree_57_svc(amq_string *, struct svc_req *);
#define AMQPROC_UMNT ((u_long)2)
extern "C" void * amqproc_umnt_57(amq_string *, CLIENT *);
extern "C" void * amqproc_umnt_57_svc(amq_string *, struct svc_req *);
#define AMQPROC_STATS ((u_long)3)
extern "C" amq_mount_stats * amqproc_stats_57(void *, CLIENT *);
extern "C" amq_mount_stats * amqproc_stats_57_svc(void *, struct svc_req *);
#define AMQPROC_EXPORT ((u_long)4)
extern "C" amq_mount_tree_list * amqproc_export_57(void *, CLIENT *);
extern "C" amq_mount_tree_list * amqproc_export_57_svc(void *, struct svc_req *);
#define AMQPROC_SETOPT ((u_long)5)
extern "C" int * amqproc_setopt_57(amq_setopt *, CLIENT *);
extern "C" int * amqproc_setopt_57_svc(amq_setopt *, struct svc_req *);
#define AMQPROC_GETMNTFS ((u_long)6)
extern "C" amq_mount_info_list * amqproc_getmntfs_57(void *, CLIENT *);
extern "C" amq_mount_info_list * amqproc_getmntfs_57_svc(void *, struct svc_req *);
#define AMQPROC_GETVERS ((u_long)7)
extern "C" amq_string * amqproc_getvers_57(void *, CLIENT *);
extern "C" amq_string * amqproc_getvers_57_svc(void *, struct svc_req *);
#elif defined(__STDC__)
#define AMQPROC_NULL ((u_long)0)
extern void * amqproc_null_57(void *, CLIENT *);
extern void * amqproc_null_57_svc(void *, struct svc_req *);
#define AMQPROC_MNTTREE ((u_long)1)
extern amq_mount_tree_p * amqproc_mnttree_57(amq_string *, CLIENT *);
extern amq_mount_tree_p * amqproc_mnttree_57_svc(amq_string *, struct svc_req *);
#define AMQPROC_UMNT ((u_long)2)
extern void * amqproc_umnt_57(amq_string *, CLIENT *);
extern void * amqproc_umnt_57_svc(amq_string *, struct svc_req *);
#define AMQPROC_STATS ((u_long)3)
extern amq_mount_stats * amqproc_stats_57(void *, CLIENT *);
extern amq_mount_stats * amqproc_stats_57_svc(void *, struct svc_req *);
#define AMQPROC_EXPORT ((u_long)4)
extern amq_mount_tree_list * amqproc_export_57(void *, CLIENT *);
extern amq_mount_tree_list * amqproc_export_57_svc(void *, struct svc_req *);
#define AMQPROC_SETOPT ((u_long)5)
extern int * amqproc_setopt_57(amq_setopt *, CLIENT *);
extern int * amqproc_setopt_57_svc(amq_setopt *, struct svc_req *);
#define AMQPROC_GETMNTFS ((u_long)6)
extern amq_mount_info_list * amqproc_getmntfs_57(void *, CLIENT *);
extern amq_mount_info_list * amqproc_getmntfs_57_svc(void *, struct svc_req *);
#define AMQPROC_GETVERS ((u_long)7)
extern amq_string * amqproc_getvers_57(void *, CLIENT *);
extern amq_string * amqproc_getvers_57_svc(void *, struct svc_req *);
#else /* Old Style C */
#define AMQPROC_NULL ((u_long)0)
extern void * amqproc_null_57();
extern void * amqproc_null_57_svc();
#define AMQPROC_MNTTREE ((u_long)1)
extern amq_mount_tree_p * amqproc_mnttree_57();
extern amq_mount_tree_p * amqproc_mnttree_57_svc();
#define AMQPROC_UMNT ((u_long)2)
extern void * amqproc_umnt_57();
extern void * amqproc_umnt_57_svc();
#define AMQPROC_STATS ((u_long)3)
extern amq_mount_stats * amqproc_stats_57();
extern amq_mount_stats * amqproc_stats_57_svc();
#define AMQPROC_EXPORT ((u_long)4)
extern amq_mount_tree_list * amqproc_export_57();
extern amq_mount_tree_list * amqproc_export_57_svc();
#define AMQPROC_SETOPT ((u_long)5)
extern int * amqproc_setopt_57();
extern int * amqproc_setopt_57_svc();
#define AMQPROC_GETMNTFS ((u_long)6)
extern amq_mount_info_list * amqproc_getmntfs_57();
extern amq_mount_info_list * amqproc_getmntfs_57_svc();
#define AMQPROC_GETVERS ((u_long)7)
extern amq_string * amqproc_getvers_57();
extern amq_string * amqproc_getvers_57_svc();
#endif /* Old Style C */
#endif /* !_AMQ_H_RPCGEN */
|