xref: /openbsd/gnu/usr.bin/cvs/vms/vms-types.h (revision 50bf276c)
1 #ifndef __types_loaded__
2 #define __types_loaded__ 1
3 
4 #include <stddef.h>
5 
6 /*
7  * Miscellaneous VMS types that are not normally defined
8  * in any consistent fashion.
9  */
10 
11 /* VMS I/O status block */
12 struct IOSB
13 {
14   short status, count;
15   long devinfo;
16 };
17 
18 /* VMS Item List 3 structure */
19 struct itm$list3
20 {
21   short buflen;
22   short itemcode;
23   void *buffer;
24   size_t *retlen;
25 };
26 
27 /* VMS Lock status block with value block */
28 struct LOCK
29 {
30   short status, reserved;
31   long lockid;
32   long value[4];
33 };
34 
35 /* VMS Exit Handler Control block */
36 struct EXHCB
37 {
38   struct exhcb *exh$a_link;
39   int (*exh$a_routine)();
40   long exh$l_argcount;
41   long *exh$a_status;
42   long exh$l_status;
43 };
44 
45 #endif /* __types_loaded__ 1 */
46