Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-01 08:52:29

0001 /*
0002  * $Id$
0003  *
0004  * $Log$
0005  * Revision 1.1  1996/03/08 15:32:58  mclareni
0006  * Initial revision
0007  *
0008  */
0009 #if defined(CERNLIB_VMS)
0010 /***  Routines for VMS QIO to Xtoolkit Input Event Processing ***/
0011 #ifndef _mkqio_
0012 #define _mkqio_
0013 
0014 /* Constants */
0015 
0016 #define MBX_EVENT_FLAG    23            /* event flag for add input synch  */
0017 #define MBX_MAX_MSGSIZE 1500
0018 #define MISC_EVENT_FLAG    1            /* event flag for misc synch  */
0019 
0020 /* Structure declarations */
0021 
0022 typedef struct _ItemList {
0023    unsigned short     BufLen;
0024    short              ItemCode;
0025    void               *BufferP;
0026    unsigned short     *RetLenP;
0027 } ItemList;
0028 
0029 typedef struct _MbxMessageRec {
0030    unsigned short     ioStatus;       /* Note: I/O status block is 8 bytes.  */
0031    unsigned short     ioLength;       /*       For mailbox reads, it is      */
0032    unsigned int       ioSenderPID;    /*       stat/leng/PID - don't split   */
0033    int                msgcnt;
0034    int                bytcnt;
0035    int                maxread;
0036    int                chan;
0037    char               buffer[MBX_MAX_MSGSIZE];
0038 } MbxMessageRec;
0039 
0040 extern MbxMessageRec  MbxMessage;
0041 
0042 
0043 extern C_PROTO_3(int           MbxRead,
0044                                   char *buf,
0045                                   int bufmax,
0046                                   Widget text_widget);
0047 extern C_PROTO_0(void          MbxSetup);
0048 extern C_PROTO_2(void          VMScrelnm,
0049                                   char *lognam,
0050                                   char *devnam);
0051 extern C_PROTO_1(void          VMSsystem,
0052                                   char *buf);
0053 
0054 #endif /* _mkqio_ */
0055 #endif