home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c004 / 3.ddi / VAX / CTMSSG.H < prev    next >
Encoding:
C/C++ Source or Header  |  1989-04-18  |  1.7 KB  |  56 lines

  1.  
  2. /*
  3.  *    VMS System Dependent Message Headers
  4.  *
  5.  *    This program is the CONFIDENTIAL and PROPRIETARY property 
  6.  *    of FairCom(R) Corporation. Any unauthorized use, reproduction or
  7.  *    transfer of this program is strictly prohibited.
  8.  *
  9.  *      Copyright (c) 1987, 1988, 1989 FairCom Corporation
  10.  *    (Subject to limited distribution and
  11.  *     restricted disclosure only.)
  12.  *    *** ALL RIGHTS RESERVED ***
  13.  *
  14.  *    4006 West Broadway
  15.  *    Columbia, MO 65203
  16.  *
  17.  *
  18.  *    c-tree(R)    Version 4.3
  19.  *            Release C
  20.  *            February 7, 1989 17:30
  21.  *
  22.  */
  23.  
  24. /* system dependent headers */
  25. #include <types.h>
  26. #include <unixio.h>
  27. #include <descrip.h>        /* has string descriptor structure */
  28. #include <iodef.h>        /* return values for system services */
  29. #include <ssdef.h>        /* return values for system services */
  30. #include <psldef.h>        /* values for setting up mailboxes */
  31. #include <lnmdef.h>
  32. #include <string.h>
  33. #include <stdlib.h>        /* necessary for getcwd function */
  34. static $DESCRIPTOR(SERVER,"SERVER");  /* server mailbox name */
  35. static $DESCRIPTOR(SHADOW,"SHADOW");  /* server mailbox name */
  36. LOCAL unsigned short   srvid,apxid,shdid;
  37.  
  38. #define MXMSG 12    /* max messages in server's mailbox */
  39.  
  40. struct iosbdef {
  41.     unsigned short status;    /* completion status code */
  42.     short count;        /* bytes transfered length */
  43.     unsigned int devinfo;    /* device information */
  44.     }iosb;
  45.  
  46. struct dsc$descriptor_s user;    /* string descriptor for mailbox*/
  47. unsigned short dummy;        /* holder for vms mailbox channel*/
  48. char usrstr[30];        /* string to hold logical name for mbx*/
  49.  
  50. /* LTYPE is the number of bytes from the beginning of the message to
  51. ** the c-tree portion of the message. 
  52. */
  53. #define LTYPE   4
  54.  
  55. /* end of ctmssg.vms */
  56.