home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / msgapi38.zip / INCLUDE / OLD_MSG.H < prev    next >
C/C++ Source or Header  |  1991-11-16  |  4KB  |  64 lines

  1. /***************************************************************************
  2.  *                                                                         *
  3.  *  MSGAPI Source Code, Version 2.00                                       *
  4.  *  Copyright 1989-1991 by Scott J. Dudley.  All rights reserved.          *
  5.  *                                                                         *
  6.  *  Old *.MSG header                                                       *
  7.  *                                                                         *
  8.  *  For complete details of the licensing restrictions, please refer to    *
  9.  *  the licence agreement, which is published in its entirety in           *
  10.  *  README.1ST.                                                            *
  11.  *                                                                         *
  12.  *  USE OF THIS FILE IS SUBJECT TO THE RESTRICTIONS CONTAINED IN THE       *
  13.  *  MSGAPI LICENSING AGREEMENT.  IF YOU DO NOT FIND THE TEXT OF THIS       *
  14.  *  AGREEMENT IN ANY OF THE AFOREMENTIONED FILES, OR IF YOU DO NOT HAVE    *
  15.  *  THESE FILES, YOU SHOULD IMMEDIATELY CONTACT THE AUTHOR AT ONE OF THE   *
  16.  *  ADDRESSES LISTED BELOW.  IN NO EVENT SHOULD YOU PROCEED TO USE THIS    *
  17.  *  FILE WITHOUT HAVING ACCEPTED THE TERMS OF THE MSGAPI LICENSING         *
  18.  *  AGREEMENT, OR SUCH OTHER AGREEMENT AS YOU ARE ABLE TO REACH WITH THE   *
  19.  *  AUTHOR.                                                                *
  20.  *                                                                         *
  21.  *  You can contact the author at one of the address listed below:         *
  22.  *                                                                         *
  23.  *  Scott Dudley           FidoNet  1:249/106                              *
  24.  *  777 Downing St.        Internet f106.n249.z1.fidonet.org               *
  25.  *  Kingston, Ont.         BBS      (613) 389-8315   HST/14.4k, 24hrs      *
  26.  *  Canada - K7M 5N3                                                       *
  27.  *                                                                         *
  28.  ***************************************************************************/
  29.  
  30. /* $Id: old_msg.h_v 1.0 1991/11/16 16:16:51 sjd Rel sjd $ */
  31.  
  32. #ifndef __OLD_MSG_H_DEFINED
  33. #define __OLD_MSG_H_DEFINED
  34.  
  35. struct _omsg
  36.    {
  37.       byte from[36];
  38.       byte to[36];
  39.       byte subj[72];
  40.       byte date[20];       /* Obsolete/unused ASCII date information        */
  41. /**/  word times;          /* FIDO<tm>: Number of times read                */
  42.       sword dest;          /* Destination node                              */
  43.       sword orig;          /* Origination node number                       */
  44. /**/  word cost;           /* Unit cost charged to send the message         */
  45.  
  46.       sword orig_net;      /* Origination network number                    */
  47.       sword dest_net;      /* Destination network number                    */
  48.  
  49.                            /* A TIMESTAMP is a 32-bit integer in the Unix   */
  50.                            /* flavor (ie. the number of seconds since       */
  51.                            /* January 1, 1970).  Timestamps in messages are */
  52.                            /* always Greenwich Mean Time, never local time. */
  53.  
  54.       struct _stamp date_written;   /* When user wrote the msg              */
  55.       struct _stamp date_arrived;   /* When msg arrived on-line             */
  56.  
  57.       word reply;          /* Current msg is a reply to this msg number     */
  58.       word attr;           /* Attribute (behavior) of the message           */
  59.       word up;             /* Next message in the thread                    */
  60.    };
  61.  
  62. #endif
  63.  
  64.