home *** CD-ROM | disk | FTP | other *** search
- /*
- * Unix V System Dependent Message Headers
- * Two Queue Approach
- *
- * This program is the CONFIDENTIAL and PROPRIETARY property
- * of FairCom(R) Corporation. Any unauthorized use, reproduction or
- * transfer of this program is strictly prohibited.
- *
- * Copyright (c) 1987, 1988, 1989 FairCom Corporation
- * (Subject to limited distribution and
- * restricted disclosure only.)
- * *** ALL RIGHTS RESERVED ***
- *
- * 4006 West Broadway
- * Columbia, MO 65203
- *
- *
- * c-tree(R) Version 4.3
- * Release C
- * February 7, 1989 17:30
- *
- */
-
- /* system dependent headers: unix/xenix queue control */
- #include <sys/types.h>
- #include <sys/ipc.h>
- #include <sys/msg.h>
-
- /* SERVER and SERVER2 must be defined to the name of files which
- * will be guaranteed to exist. They will be used in
- * the ftok() function to get the proper queue id for the server.
- *
- * For example, you may create empty files with names used in the
- * following 2 defines.
- */
-
- #define SERVER "/usr/bin/CTSQ1"
- #define SERVER2 "/usr/bin/CTSQ2"
- #define SERVER3 "/usr/bin/CTSQ3"
-
- LOCAL struct msqid_ds qidbuf;
- LOCAL key_t srvkey,appkey;
- LOCAL int srvid,apxid;
-
- #define NOKEY ((key_t) -1)
-
- /* LTYPE is the number of bytes from the beginning of the message to
- ** the c-tree portion of the message. In Unix, a long precedes the message.
- */
- #define LTYPE 4
-
-