home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / sqdev200.zip / h / old_msg.h < prev    next >
C/C++ Source or Header  |  1994-05-23  |  3KB  |  59 lines

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