1
by Stephan Hermann
Import upstream version 203 |
1 |
/* $XFree86: xc/programs/xterm/vms.h,v 1.1 2000/02/08 17:19:45 dawes Exp $ */
|
2 |
||
3 |
/* vms.h
|
|
4 |
*/
|
|
5 |
#include <ssdef.h> |
|
6 |
#include <iodef.h> |
|
7 |
#include <msgdef.h> |
|
8 |
#include <descrip.h> |
|
9 |
#include <dvidef.h> |
|
10 |
#include <jpidef.h> |
|
11 |
#include <prcdef.h> |
|
12 |
#include <dcdef.h> |
|
13 |
#include <ttdef.h> |
|
14 |
#include <tt2def.h> |
|
15 |
#include <accdef.h> |
|
16 |
#include <prvdef.h> |
|
17 |
||
18 |
struct IOSB |
|
19 |
{
|
|
20 |
short int status; |
|
21 |
short int len; |
|
22 |
int unused; |
|
23 |
} mbx_read_iosb,iosb; |
|
24 |
||
25 |
#define MAXITEMLIST 5
|
|
26 |
||
27 |
short int tt_chan; /* channel to the Pseudo terminal */ |
|
28 |
short int mbx_chan; /* channel to the mailbox */ |
|
29 |
struct accdef mbx_buf; /* mailbox buffer */ |
|
30 |
short int mbxunit; /* mailbox unit number */ |
|
31 |
int pid; /* PID of created process */ |
|
32 |
static $DESCRIPTOR (image, "SYS$SYSTEM:LOGINOUT.EXE"); |
|
33 |
||
34 |
static struct items { |
|
35 |
short int buflen; |
|
36 |
short int code; |
|
37 |
int buffer; |
|
38 |
int return_addr; |
|
39 |
} itemlist[MAXITEMLIST]; |