vxi11 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/vxi11/clnt_find_services.h +97 -0
- data/ext/vxi11/vxi11.h +5 -0
- data/ext/vxi11/vxi11_clnt_darwin.inc +234 -0
- data/ext/vxi11/vxi11_clnt_linux.inc +163 -0
- data/ext/vxi11/vxi11_darwin.inc +636 -0
- data/ext/vxi11/vxi11_linux.inc +343 -0
- data/ext/vxi11/vxi11_user.h +87 -0
- data/ext/vxi11/vxi11_xdr_darwin.inc +465 -0
- data/ext/vxi11/vxi11_xdr_linux.inc +462 -0
- metadata +11 -2
@@ -0,0 +1,636 @@
|
|
1
|
+
/*
|
2
|
+
* Please do not edit this file.
|
3
|
+
* It was generated using rpcgen.
|
4
|
+
*/
|
5
|
+
|
6
|
+
#ifndef _VXI11_H_RPCGEN
|
7
|
+
#define _VXI11_H_RPCGEN
|
8
|
+
|
9
|
+
#define RPCGEN_VERSION 199506
|
10
|
+
|
11
|
+
#include <rpc/rpc.h>
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
#ifdef __LP64__
|
16
|
+
typedef int Device_Link;
|
17
|
+
#else
|
18
|
+
typedef long Device_Link;
|
19
|
+
#endif
|
20
|
+
|
21
|
+
#ifdef __cplusplus
|
22
|
+
extern "C" bool_t xdr_Device_Link(XDR *, Device_Link*);
|
23
|
+
#elif __STDC__
|
24
|
+
extern bool_t xdr_Device_Link(XDR *, Device_Link*);
|
25
|
+
#else /* Old Style C */
|
26
|
+
bool_t xdr_Device_Link();
|
27
|
+
#endif /* Old Style C */
|
28
|
+
|
29
|
+
|
30
|
+
enum Device_AddrFamily {
|
31
|
+
DEVICE_TCP = 0,
|
32
|
+
DEVICE_UDP = 1,
|
33
|
+
};
|
34
|
+
typedef enum Device_AddrFamily Device_AddrFamily;
|
35
|
+
#ifdef __cplusplus
|
36
|
+
extern "C" bool_t xdr_Device_AddrFamily(XDR *, Device_AddrFamily*);
|
37
|
+
#elif __STDC__
|
38
|
+
extern bool_t xdr_Device_AddrFamily(XDR *, Device_AddrFamily*);
|
39
|
+
#else /* Old Style C */
|
40
|
+
bool_t xdr_Device_AddrFamily();
|
41
|
+
#endif /* Old Style C */
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
#ifdef __LP64__
|
46
|
+
typedef int Device_Flags;
|
47
|
+
#else
|
48
|
+
typedef long Device_Flags;
|
49
|
+
#endif
|
50
|
+
|
51
|
+
#ifdef __cplusplus
|
52
|
+
extern "C" bool_t xdr_Device_Flags(XDR *, Device_Flags*);
|
53
|
+
#elif __STDC__
|
54
|
+
extern bool_t xdr_Device_Flags(XDR *, Device_Flags*);
|
55
|
+
#else /* Old Style C */
|
56
|
+
bool_t xdr_Device_Flags();
|
57
|
+
#endif /* Old Style C */
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
#ifdef __LP64__
|
62
|
+
typedef int Device_ErrorCode;
|
63
|
+
#else
|
64
|
+
typedef long Device_ErrorCode;
|
65
|
+
#endif
|
66
|
+
|
67
|
+
#ifdef __cplusplus
|
68
|
+
extern "C" bool_t xdr_Device_ErrorCode(XDR *, Device_ErrorCode*);
|
69
|
+
#elif __STDC__
|
70
|
+
extern bool_t xdr_Device_ErrorCode(XDR *, Device_ErrorCode*);
|
71
|
+
#else /* Old Style C */
|
72
|
+
bool_t xdr_Device_ErrorCode();
|
73
|
+
#endif /* Old Style C */
|
74
|
+
|
75
|
+
|
76
|
+
struct Device_Error {
|
77
|
+
Device_ErrorCode error;
|
78
|
+
};
|
79
|
+
typedef struct Device_Error Device_Error;
|
80
|
+
#ifdef __cplusplus
|
81
|
+
extern "C" bool_t xdr_Device_Error(XDR *, Device_Error*);
|
82
|
+
#elif __STDC__
|
83
|
+
extern bool_t xdr_Device_Error(XDR *, Device_Error*);
|
84
|
+
#else /* Old Style C */
|
85
|
+
bool_t xdr_Device_Error();
|
86
|
+
#endif /* Old Style C */
|
87
|
+
|
88
|
+
|
89
|
+
struct Create_LinkParms {
|
90
|
+
|
91
|
+
#ifdef __LP64__
|
92
|
+
int clientId;
|
93
|
+
#else
|
94
|
+
long clientId;
|
95
|
+
#endif
|
96
|
+
|
97
|
+
bool_t lockDevice;
|
98
|
+
|
99
|
+
#ifdef __LP64__
|
100
|
+
unsigned int lock_timeout;
|
101
|
+
#else
|
102
|
+
u_long lock_timeout;
|
103
|
+
#endif
|
104
|
+
|
105
|
+
char *device;
|
106
|
+
};
|
107
|
+
typedef struct Create_LinkParms Create_LinkParms;
|
108
|
+
#ifdef __cplusplus
|
109
|
+
extern "C" bool_t xdr_Create_LinkParms(XDR *, Create_LinkParms*);
|
110
|
+
#elif __STDC__
|
111
|
+
extern bool_t xdr_Create_LinkParms(XDR *, Create_LinkParms*);
|
112
|
+
#else /* Old Style C */
|
113
|
+
bool_t xdr_Create_LinkParms();
|
114
|
+
#endif /* Old Style C */
|
115
|
+
|
116
|
+
|
117
|
+
struct Create_LinkResp {
|
118
|
+
Device_ErrorCode error;
|
119
|
+
Device_Link lid;
|
120
|
+
u_short abortPort;
|
121
|
+
|
122
|
+
#ifdef __LP64__
|
123
|
+
unsigned int maxRecvSize;
|
124
|
+
#else
|
125
|
+
u_long maxRecvSize;
|
126
|
+
#endif
|
127
|
+
|
128
|
+
};
|
129
|
+
typedef struct Create_LinkResp Create_LinkResp;
|
130
|
+
#ifdef __cplusplus
|
131
|
+
extern "C" bool_t xdr_Create_LinkResp(XDR *, Create_LinkResp*);
|
132
|
+
#elif __STDC__
|
133
|
+
extern bool_t xdr_Create_LinkResp(XDR *, Create_LinkResp*);
|
134
|
+
#else /* Old Style C */
|
135
|
+
bool_t xdr_Create_LinkResp();
|
136
|
+
#endif /* Old Style C */
|
137
|
+
|
138
|
+
|
139
|
+
struct Device_WriteParms {
|
140
|
+
Device_Link lid;
|
141
|
+
|
142
|
+
#ifdef __LP64__
|
143
|
+
unsigned int io_timeout;
|
144
|
+
#else
|
145
|
+
u_long io_timeout;
|
146
|
+
#endif
|
147
|
+
|
148
|
+
|
149
|
+
#ifdef __LP64__
|
150
|
+
unsigned int lock_timeout;
|
151
|
+
#else
|
152
|
+
u_long lock_timeout;
|
153
|
+
#endif
|
154
|
+
|
155
|
+
Device_Flags flags;
|
156
|
+
struct {
|
157
|
+
u_int data_len;
|
158
|
+
char *data_val;
|
159
|
+
} data;
|
160
|
+
};
|
161
|
+
typedef struct Device_WriteParms Device_WriteParms;
|
162
|
+
#ifdef __cplusplus
|
163
|
+
extern "C" bool_t xdr_Device_WriteParms(XDR *, Device_WriteParms*);
|
164
|
+
#elif __STDC__
|
165
|
+
extern bool_t xdr_Device_WriteParms(XDR *, Device_WriteParms*);
|
166
|
+
#else /* Old Style C */
|
167
|
+
bool_t xdr_Device_WriteParms();
|
168
|
+
#endif /* Old Style C */
|
169
|
+
|
170
|
+
|
171
|
+
struct Device_WriteResp {
|
172
|
+
Device_ErrorCode error;
|
173
|
+
|
174
|
+
#ifdef __LP64__
|
175
|
+
unsigned int size;
|
176
|
+
#else
|
177
|
+
u_long size;
|
178
|
+
#endif
|
179
|
+
|
180
|
+
};
|
181
|
+
typedef struct Device_WriteResp Device_WriteResp;
|
182
|
+
#ifdef __cplusplus
|
183
|
+
extern "C" bool_t xdr_Device_WriteResp(XDR *, Device_WriteResp*);
|
184
|
+
#elif __STDC__
|
185
|
+
extern bool_t xdr_Device_WriteResp(XDR *, Device_WriteResp*);
|
186
|
+
#else /* Old Style C */
|
187
|
+
bool_t xdr_Device_WriteResp();
|
188
|
+
#endif /* Old Style C */
|
189
|
+
|
190
|
+
|
191
|
+
struct Device_ReadParms {
|
192
|
+
Device_Link lid;
|
193
|
+
|
194
|
+
#ifdef __LP64__
|
195
|
+
unsigned int requestSize;
|
196
|
+
#else
|
197
|
+
u_long requestSize;
|
198
|
+
#endif
|
199
|
+
|
200
|
+
|
201
|
+
#ifdef __LP64__
|
202
|
+
unsigned int io_timeout;
|
203
|
+
#else
|
204
|
+
u_long io_timeout;
|
205
|
+
#endif
|
206
|
+
|
207
|
+
|
208
|
+
#ifdef __LP64__
|
209
|
+
unsigned int lock_timeout;
|
210
|
+
#else
|
211
|
+
u_long lock_timeout;
|
212
|
+
#endif
|
213
|
+
|
214
|
+
Device_Flags flags;
|
215
|
+
char termChar;
|
216
|
+
};
|
217
|
+
typedef struct Device_ReadParms Device_ReadParms;
|
218
|
+
#ifdef __cplusplus
|
219
|
+
extern "C" bool_t xdr_Device_ReadParms(XDR *, Device_ReadParms*);
|
220
|
+
#elif __STDC__
|
221
|
+
extern bool_t xdr_Device_ReadParms(XDR *, Device_ReadParms*);
|
222
|
+
#else /* Old Style C */
|
223
|
+
bool_t xdr_Device_ReadParms();
|
224
|
+
#endif /* Old Style C */
|
225
|
+
|
226
|
+
|
227
|
+
struct Device_ReadResp {
|
228
|
+
Device_ErrorCode error;
|
229
|
+
|
230
|
+
#ifdef __LP64__
|
231
|
+
int reason;
|
232
|
+
#else
|
233
|
+
long reason;
|
234
|
+
#endif
|
235
|
+
|
236
|
+
struct {
|
237
|
+
u_int data_len;
|
238
|
+
char *data_val;
|
239
|
+
} data;
|
240
|
+
};
|
241
|
+
typedef struct Device_ReadResp Device_ReadResp;
|
242
|
+
#ifdef __cplusplus
|
243
|
+
extern "C" bool_t xdr_Device_ReadResp(XDR *, Device_ReadResp*);
|
244
|
+
#elif __STDC__
|
245
|
+
extern bool_t xdr_Device_ReadResp(XDR *, Device_ReadResp*);
|
246
|
+
#else /* Old Style C */
|
247
|
+
bool_t xdr_Device_ReadResp();
|
248
|
+
#endif /* Old Style C */
|
249
|
+
|
250
|
+
|
251
|
+
struct Device_ReadStbResp {
|
252
|
+
Device_ErrorCode error;
|
253
|
+
u_char stb;
|
254
|
+
};
|
255
|
+
typedef struct Device_ReadStbResp Device_ReadStbResp;
|
256
|
+
#ifdef __cplusplus
|
257
|
+
extern "C" bool_t xdr_Device_ReadStbResp(XDR *, Device_ReadStbResp*);
|
258
|
+
#elif __STDC__
|
259
|
+
extern bool_t xdr_Device_ReadStbResp(XDR *, Device_ReadStbResp*);
|
260
|
+
#else /* Old Style C */
|
261
|
+
bool_t xdr_Device_ReadStbResp();
|
262
|
+
#endif /* Old Style C */
|
263
|
+
|
264
|
+
|
265
|
+
struct Device_GenericParms {
|
266
|
+
Device_Link lid;
|
267
|
+
Device_Flags flags;
|
268
|
+
|
269
|
+
#ifdef __LP64__
|
270
|
+
unsigned int lock_timeout;
|
271
|
+
#else
|
272
|
+
u_long lock_timeout;
|
273
|
+
#endif
|
274
|
+
|
275
|
+
|
276
|
+
#ifdef __LP64__
|
277
|
+
unsigned int io_timeout;
|
278
|
+
#else
|
279
|
+
u_long io_timeout;
|
280
|
+
#endif
|
281
|
+
|
282
|
+
};
|
283
|
+
typedef struct Device_GenericParms Device_GenericParms;
|
284
|
+
#ifdef __cplusplus
|
285
|
+
extern "C" bool_t xdr_Device_GenericParms(XDR *, Device_GenericParms*);
|
286
|
+
#elif __STDC__
|
287
|
+
extern bool_t xdr_Device_GenericParms(XDR *, Device_GenericParms*);
|
288
|
+
#else /* Old Style C */
|
289
|
+
bool_t xdr_Device_GenericParms();
|
290
|
+
#endif /* Old Style C */
|
291
|
+
|
292
|
+
|
293
|
+
struct Device_RemoteFunc {
|
294
|
+
|
295
|
+
#ifdef __LP64__
|
296
|
+
unsigned int hostAddr;
|
297
|
+
#else
|
298
|
+
u_long hostAddr;
|
299
|
+
#endif
|
300
|
+
|
301
|
+
|
302
|
+
#ifdef __LP64__
|
303
|
+
unsigned int hostPort;
|
304
|
+
#else
|
305
|
+
u_long hostPort;
|
306
|
+
#endif
|
307
|
+
|
308
|
+
|
309
|
+
#ifdef __LP64__
|
310
|
+
unsigned int progNum;
|
311
|
+
#else
|
312
|
+
u_long progNum;
|
313
|
+
#endif
|
314
|
+
|
315
|
+
|
316
|
+
#ifdef __LP64__
|
317
|
+
unsigned int progVers;
|
318
|
+
#else
|
319
|
+
u_long progVers;
|
320
|
+
#endif
|
321
|
+
|
322
|
+
Device_AddrFamily progFamily;
|
323
|
+
};
|
324
|
+
typedef struct Device_RemoteFunc Device_RemoteFunc;
|
325
|
+
#ifdef __cplusplus
|
326
|
+
extern "C" bool_t xdr_Device_RemoteFunc(XDR *, Device_RemoteFunc*);
|
327
|
+
#elif __STDC__
|
328
|
+
extern bool_t xdr_Device_RemoteFunc(XDR *, Device_RemoteFunc*);
|
329
|
+
#else /* Old Style C */
|
330
|
+
bool_t xdr_Device_RemoteFunc();
|
331
|
+
#endif /* Old Style C */
|
332
|
+
|
333
|
+
|
334
|
+
struct Device_EnableSrqParms {
|
335
|
+
Device_Link lid;
|
336
|
+
bool_t enable;
|
337
|
+
struct {
|
338
|
+
u_int handle_len;
|
339
|
+
char *handle_val;
|
340
|
+
} handle;
|
341
|
+
};
|
342
|
+
typedef struct Device_EnableSrqParms Device_EnableSrqParms;
|
343
|
+
#ifdef __cplusplus
|
344
|
+
extern "C" bool_t xdr_Device_EnableSrqParms(XDR *, Device_EnableSrqParms*);
|
345
|
+
#elif __STDC__
|
346
|
+
extern bool_t xdr_Device_EnableSrqParms(XDR *, Device_EnableSrqParms*);
|
347
|
+
#else /* Old Style C */
|
348
|
+
bool_t xdr_Device_EnableSrqParms();
|
349
|
+
#endif /* Old Style C */
|
350
|
+
|
351
|
+
|
352
|
+
struct Device_LockParms {
|
353
|
+
Device_Link lid;
|
354
|
+
Device_Flags flags;
|
355
|
+
|
356
|
+
#ifdef __LP64__
|
357
|
+
unsigned int lock_timeout;
|
358
|
+
#else
|
359
|
+
u_long lock_timeout;
|
360
|
+
#endif
|
361
|
+
|
362
|
+
};
|
363
|
+
typedef struct Device_LockParms Device_LockParms;
|
364
|
+
#ifdef __cplusplus
|
365
|
+
extern "C" bool_t xdr_Device_LockParms(XDR *, Device_LockParms*);
|
366
|
+
#elif __STDC__
|
367
|
+
extern bool_t xdr_Device_LockParms(XDR *, Device_LockParms*);
|
368
|
+
#else /* Old Style C */
|
369
|
+
bool_t xdr_Device_LockParms();
|
370
|
+
#endif /* Old Style C */
|
371
|
+
|
372
|
+
|
373
|
+
struct Device_DocmdParms {
|
374
|
+
Device_Link lid;
|
375
|
+
Device_Flags flags;
|
376
|
+
|
377
|
+
#ifdef __LP64__
|
378
|
+
unsigned int io_timeout;
|
379
|
+
#else
|
380
|
+
u_long io_timeout;
|
381
|
+
#endif
|
382
|
+
|
383
|
+
|
384
|
+
#ifdef __LP64__
|
385
|
+
unsigned int lock_timeout;
|
386
|
+
#else
|
387
|
+
u_long lock_timeout;
|
388
|
+
#endif
|
389
|
+
|
390
|
+
|
391
|
+
#ifdef __LP64__
|
392
|
+
int cmd;
|
393
|
+
#else
|
394
|
+
long cmd;
|
395
|
+
#endif
|
396
|
+
|
397
|
+
bool_t network_order;
|
398
|
+
|
399
|
+
#ifdef __LP64__
|
400
|
+
int datasize;
|
401
|
+
#else
|
402
|
+
long datasize;
|
403
|
+
#endif
|
404
|
+
|
405
|
+
struct {
|
406
|
+
u_int data_in_len;
|
407
|
+
char *data_in_val;
|
408
|
+
} data_in;
|
409
|
+
};
|
410
|
+
typedef struct Device_DocmdParms Device_DocmdParms;
|
411
|
+
#ifdef __cplusplus
|
412
|
+
extern "C" bool_t xdr_Device_DocmdParms(XDR *, Device_DocmdParms*);
|
413
|
+
#elif __STDC__
|
414
|
+
extern bool_t xdr_Device_DocmdParms(XDR *, Device_DocmdParms*);
|
415
|
+
#else /* Old Style C */
|
416
|
+
bool_t xdr_Device_DocmdParms();
|
417
|
+
#endif /* Old Style C */
|
418
|
+
|
419
|
+
|
420
|
+
struct Device_DocmdResp {
|
421
|
+
Device_ErrorCode error;
|
422
|
+
struct {
|
423
|
+
u_int data_out_len;
|
424
|
+
char *data_out_val;
|
425
|
+
} data_out;
|
426
|
+
};
|
427
|
+
typedef struct Device_DocmdResp Device_DocmdResp;
|
428
|
+
#ifdef __cplusplus
|
429
|
+
extern "C" bool_t xdr_Device_DocmdResp(XDR *, Device_DocmdResp*);
|
430
|
+
#elif __STDC__
|
431
|
+
extern bool_t xdr_Device_DocmdResp(XDR *, Device_DocmdResp*);
|
432
|
+
#else /* Old Style C */
|
433
|
+
bool_t xdr_Device_DocmdResp();
|
434
|
+
#endif /* Old Style C */
|
435
|
+
|
436
|
+
|
437
|
+
struct Device_SrqParms {
|
438
|
+
struct {
|
439
|
+
u_int handle_len;
|
440
|
+
char *handle_val;
|
441
|
+
} handle;
|
442
|
+
};
|
443
|
+
typedef struct Device_SrqParms Device_SrqParms;
|
444
|
+
#ifdef __cplusplus
|
445
|
+
extern "C" bool_t xdr_Device_SrqParms(XDR *, Device_SrqParms*);
|
446
|
+
#elif __STDC__
|
447
|
+
extern bool_t xdr_Device_SrqParms(XDR *, Device_SrqParms*);
|
448
|
+
#else /* Old Style C */
|
449
|
+
bool_t xdr_Device_SrqParms();
|
450
|
+
#endif /* Old Style C */
|
451
|
+
|
452
|
+
|
453
|
+
#define DEVICE_ASYNC ((rpc_uint)0x0607B0)
|
454
|
+
#define DEVICE_ASYNC_VERSION ((rpc_uint)1)
|
455
|
+
|
456
|
+
#ifdef __cplusplus
|
457
|
+
#define device_abort ((rpc_uint)1)
|
458
|
+
extern "C" Device_Error * device_abort_1(Device_Link *, CLIENT *);
|
459
|
+
extern "C" Device_Error * device_abort_1_svc(Device_Link *, struct svc_req *);
|
460
|
+
|
461
|
+
#elif __STDC__
|
462
|
+
#define device_abort ((rpc_uint)1)
|
463
|
+
extern Device_Error * device_abort_1(Device_Link *, CLIENT *);
|
464
|
+
extern Device_Error * device_abort_1_svc(Device_Link *, struct svc_req *);
|
465
|
+
|
466
|
+
#else /* Old Style C */
|
467
|
+
#define device_abort ((rpc_uint)1)
|
468
|
+
extern Device_Error * device_abort_1();
|
469
|
+
extern Device_Error * device_abort_1_svc();
|
470
|
+
#endif /* Old Style C */
|
471
|
+
|
472
|
+
#define DEVICE_CORE ((rpc_uint)0x0607AF)
|
473
|
+
#define DEVICE_CORE_VERSION ((rpc_uint)1)
|
474
|
+
|
475
|
+
#ifdef __cplusplus
|
476
|
+
#define create_link ((rpc_uint)10)
|
477
|
+
extern "C" Create_LinkResp * create_link_1(Create_LinkParms *, CLIENT *);
|
478
|
+
extern "C" Create_LinkResp * create_link_1_svc(Create_LinkParms *, struct svc_req *);
|
479
|
+
#define device_write ((rpc_uint)11)
|
480
|
+
extern "C" Device_WriteResp * device_write_1(Device_WriteParms *, CLIENT *);
|
481
|
+
extern "C" Device_WriteResp * device_write_1_svc(Device_WriteParms *, struct svc_req *);
|
482
|
+
#define device_read ((rpc_uint)12)
|
483
|
+
extern "C" Device_ReadResp * device_read_1(Device_ReadParms *, CLIENT *);
|
484
|
+
extern "C" Device_ReadResp * device_read_1_svc(Device_ReadParms *, struct svc_req *);
|
485
|
+
#define device_readstb ((rpc_uint)13)
|
486
|
+
extern "C" Device_ReadStbResp * device_readstb_1(Device_GenericParms *, CLIENT *);
|
487
|
+
extern "C" Device_ReadStbResp * device_readstb_1_svc(Device_GenericParms *, struct svc_req *);
|
488
|
+
#define device_trigger ((rpc_uint)14)
|
489
|
+
extern "C" Device_Error * device_trigger_1(Device_GenericParms *, CLIENT *);
|
490
|
+
extern "C" Device_Error * device_trigger_1_svc(Device_GenericParms *, struct svc_req *);
|
491
|
+
#define device_clear ((rpc_uint)15)
|
492
|
+
extern "C" Device_Error * device_clear_1(Device_GenericParms *, CLIENT *);
|
493
|
+
extern "C" Device_Error * device_clear_1_svc(Device_GenericParms *, struct svc_req *);
|
494
|
+
#define device_remote ((rpc_uint)16)
|
495
|
+
extern "C" Device_Error * device_remote_1(Device_GenericParms *, CLIENT *);
|
496
|
+
extern "C" Device_Error * device_remote_1_svc(Device_GenericParms *, struct svc_req *);
|
497
|
+
#define device_local ((rpc_uint)17)
|
498
|
+
extern "C" Device_Error * device_local_1(Device_GenericParms *, CLIENT *);
|
499
|
+
extern "C" Device_Error * device_local_1_svc(Device_GenericParms *, struct svc_req *);
|
500
|
+
#define device_lock ((rpc_uint)18)
|
501
|
+
extern "C" Device_Error * device_lock_1(Device_LockParms *, CLIENT *);
|
502
|
+
extern "C" Device_Error * device_lock_1_svc(Device_LockParms *, struct svc_req *);
|
503
|
+
#define device_unlock ((rpc_uint)19)
|
504
|
+
extern "C" Device_Error * device_unlock_1(Device_Link *, CLIENT *);
|
505
|
+
extern "C" Device_Error * device_unlock_1_svc(Device_Link *, struct svc_req *);
|
506
|
+
#define device_enable_srq ((rpc_uint)20)
|
507
|
+
extern "C" Device_Error * device_enable_srq_1(Device_EnableSrqParms *, CLIENT *);
|
508
|
+
extern "C" Device_Error * device_enable_srq_1_svc(Device_EnableSrqParms *, struct svc_req *);
|
509
|
+
#define device_docmd ((rpc_uint)22)
|
510
|
+
extern "C" Device_DocmdResp * device_docmd_1(Device_DocmdParms *, CLIENT *);
|
511
|
+
extern "C" Device_DocmdResp * device_docmd_1_svc(Device_DocmdParms *, struct svc_req *);
|
512
|
+
#define destroy_link ((rpc_uint)23)
|
513
|
+
extern "C" Device_Error * destroy_link_1(Device_Link *, CLIENT *);
|
514
|
+
extern "C" Device_Error * destroy_link_1_svc(Device_Link *, struct svc_req *);
|
515
|
+
#define create_intr_chan ((rpc_uint)25)
|
516
|
+
extern "C" Device_Error * create_intr_chan_1(Device_RemoteFunc *, CLIENT *);
|
517
|
+
extern "C" Device_Error * create_intr_chan_1_svc(Device_RemoteFunc *, struct svc_req *);
|
518
|
+
#define destroy_intr_chan ((rpc_uint)26)
|
519
|
+
extern "C" Device_Error * destroy_intr_chan_1(void *, CLIENT *);
|
520
|
+
extern "C" Device_Error * destroy_intr_chan_1_svc(void *, struct svc_req *);
|
521
|
+
|
522
|
+
#elif __STDC__
|
523
|
+
#define create_link ((rpc_uint)10)
|
524
|
+
extern Create_LinkResp * create_link_1(Create_LinkParms *, CLIENT *);
|
525
|
+
extern Create_LinkResp * create_link_1_svc(Create_LinkParms *, struct svc_req *);
|
526
|
+
#define device_write ((rpc_uint)11)
|
527
|
+
extern Device_WriteResp * device_write_1(Device_WriteParms *, CLIENT *);
|
528
|
+
extern Device_WriteResp * device_write_1_svc(Device_WriteParms *, struct svc_req *);
|
529
|
+
#define device_read ((rpc_uint)12)
|
530
|
+
extern Device_ReadResp * device_read_1(Device_ReadParms *, CLIENT *);
|
531
|
+
extern Device_ReadResp * device_read_1_svc(Device_ReadParms *, struct svc_req *);
|
532
|
+
#define device_readstb ((rpc_uint)13)
|
533
|
+
extern Device_ReadStbResp * device_readstb_1(Device_GenericParms *, CLIENT *);
|
534
|
+
extern Device_ReadStbResp * device_readstb_1_svc(Device_GenericParms *, struct svc_req *);
|
535
|
+
#define device_trigger ((rpc_uint)14)
|
536
|
+
extern Device_Error * device_trigger_1(Device_GenericParms *, CLIENT *);
|
537
|
+
extern Device_Error * device_trigger_1_svc(Device_GenericParms *, struct svc_req *);
|
538
|
+
#define device_clear ((rpc_uint)15)
|
539
|
+
extern Device_Error * device_clear_1(Device_GenericParms *, CLIENT *);
|
540
|
+
extern Device_Error * device_clear_1_svc(Device_GenericParms *, struct svc_req *);
|
541
|
+
#define device_remote ((rpc_uint)16)
|
542
|
+
extern Device_Error * device_remote_1(Device_GenericParms *, CLIENT *);
|
543
|
+
extern Device_Error * device_remote_1_svc(Device_GenericParms *, struct svc_req *);
|
544
|
+
#define device_local ((rpc_uint)17)
|
545
|
+
extern Device_Error * device_local_1(Device_GenericParms *, CLIENT *);
|
546
|
+
extern Device_Error * device_local_1_svc(Device_GenericParms *, struct svc_req *);
|
547
|
+
#define device_lock ((rpc_uint)18)
|
548
|
+
extern Device_Error * device_lock_1(Device_LockParms *, CLIENT *);
|
549
|
+
extern Device_Error * device_lock_1_svc(Device_LockParms *, struct svc_req *);
|
550
|
+
#define device_unlock ((rpc_uint)19)
|
551
|
+
extern Device_Error * device_unlock_1(Device_Link *, CLIENT *);
|
552
|
+
extern Device_Error * device_unlock_1_svc(Device_Link *, struct svc_req *);
|
553
|
+
#define device_enable_srq ((rpc_uint)20)
|
554
|
+
extern Device_Error * device_enable_srq_1(Device_EnableSrqParms *, CLIENT *);
|
555
|
+
extern Device_Error * device_enable_srq_1_svc(Device_EnableSrqParms *, struct svc_req *);
|
556
|
+
#define device_docmd ((rpc_uint)22)
|
557
|
+
extern Device_DocmdResp * device_docmd_1(Device_DocmdParms *, CLIENT *);
|
558
|
+
extern Device_DocmdResp * device_docmd_1_svc(Device_DocmdParms *, struct svc_req *);
|
559
|
+
#define destroy_link ((rpc_uint)23)
|
560
|
+
extern Device_Error * destroy_link_1(Device_Link *, CLIENT *);
|
561
|
+
extern Device_Error * destroy_link_1_svc(Device_Link *, struct svc_req *);
|
562
|
+
#define create_intr_chan ((rpc_uint)25)
|
563
|
+
extern Device_Error * create_intr_chan_1(Device_RemoteFunc *, CLIENT *);
|
564
|
+
extern Device_Error * create_intr_chan_1_svc(Device_RemoteFunc *, struct svc_req *);
|
565
|
+
#define destroy_intr_chan ((rpc_uint)26)
|
566
|
+
extern Device_Error * destroy_intr_chan_1(void *, CLIENT *);
|
567
|
+
extern Device_Error * destroy_intr_chan_1_svc(void *, struct svc_req *);
|
568
|
+
|
569
|
+
#else /* Old Style C */
|
570
|
+
#define create_link ((rpc_uint)10)
|
571
|
+
extern Create_LinkResp * create_link_1();
|
572
|
+
extern Create_LinkResp * create_link_1_svc();
|
573
|
+
#define device_write ((rpc_uint)11)
|
574
|
+
extern Device_WriteResp * device_write_1();
|
575
|
+
extern Device_WriteResp * device_write_1_svc();
|
576
|
+
#define device_read ((rpc_uint)12)
|
577
|
+
extern Device_ReadResp * device_read_1();
|
578
|
+
extern Device_ReadResp * device_read_1_svc();
|
579
|
+
#define device_readstb ((rpc_uint)13)
|
580
|
+
extern Device_ReadStbResp * device_readstb_1();
|
581
|
+
extern Device_ReadStbResp * device_readstb_1_svc();
|
582
|
+
#define device_trigger ((rpc_uint)14)
|
583
|
+
extern Device_Error * device_trigger_1();
|
584
|
+
extern Device_Error * device_trigger_1_svc();
|
585
|
+
#define device_clear ((rpc_uint)15)
|
586
|
+
extern Device_Error * device_clear_1();
|
587
|
+
extern Device_Error * device_clear_1_svc();
|
588
|
+
#define device_remote ((rpc_uint)16)
|
589
|
+
extern Device_Error * device_remote_1();
|
590
|
+
extern Device_Error * device_remote_1_svc();
|
591
|
+
#define device_local ((rpc_uint)17)
|
592
|
+
extern Device_Error * device_local_1();
|
593
|
+
extern Device_Error * device_local_1_svc();
|
594
|
+
#define device_lock ((rpc_uint)18)
|
595
|
+
extern Device_Error * device_lock_1();
|
596
|
+
extern Device_Error * device_lock_1_svc();
|
597
|
+
#define device_unlock ((rpc_uint)19)
|
598
|
+
extern Device_Error * device_unlock_1();
|
599
|
+
extern Device_Error * device_unlock_1_svc();
|
600
|
+
#define device_enable_srq ((rpc_uint)20)
|
601
|
+
extern Device_Error * device_enable_srq_1();
|
602
|
+
extern Device_Error * device_enable_srq_1_svc();
|
603
|
+
#define device_docmd ((rpc_uint)22)
|
604
|
+
extern Device_DocmdResp * device_docmd_1();
|
605
|
+
extern Device_DocmdResp * device_docmd_1_svc();
|
606
|
+
#define destroy_link ((rpc_uint)23)
|
607
|
+
extern Device_Error * destroy_link_1();
|
608
|
+
extern Device_Error * destroy_link_1_svc();
|
609
|
+
#define create_intr_chan ((rpc_uint)25)
|
610
|
+
extern Device_Error * create_intr_chan_1();
|
611
|
+
extern Device_Error * create_intr_chan_1_svc();
|
612
|
+
#define destroy_intr_chan ((rpc_uint)26)
|
613
|
+
extern Device_Error * destroy_intr_chan_1();
|
614
|
+
extern Device_Error * destroy_intr_chan_1_svc();
|
615
|
+
#endif /* Old Style C */
|
616
|
+
|
617
|
+
#define DEVICE_INTR ((rpc_uint)0x0607B1)
|
618
|
+
#define DEVICE_INTR_VERSION ((rpc_uint)1)
|
619
|
+
|
620
|
+
#ifdef __cplusplus
|
621
|
+
#define device_intr_srq ((rpc_uint)30)
|
622
|
+
extern "C" void * device_intr_srq_1(Device_SrqParms *, CLIENT *);
|
623
|
+
extern "C" void * device_intr_srq_1_svc(Device_SrqParms *, struct svc_req *);
|
624
|
+
|
625
|
+
#elif __STDC__
|
626
|
+
#define device_intr_srq ((rpc_uint)30)
|
627
|
+
extern void * device_intr_srq_1(Device_SrqParms *, CLIENT *);
|
628
|
+
extern void * device_intr_srq_1_svc(Device_SrqParms *, struct svc_req *);
|
629
|
+
|
630
|
+
#else /* Old Style C */
|
631
|
+
#define device_intr_srq ((rpc_uint)30)
|
632
|
+
extern void * device_intr_srq_1();
|
633
|
+
extern void * device_intr_srq_1_svc();
|
634
|
+
#endif /* Old Style C */
|
635
|
+
|
636
|
+
#endif /* !_VXI11_H_RPCGEN */
|