home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / sqdev200.zip / h / api_sdm.h < prev    next >
C/C++ Source or Header  |  1994-05-23  |  3KB  |  77 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. /* $Id: api_sdm.h 1.1 1993/12/05 05:10:05 sjd Exp $ */
  25.  
  26. #ifndef __API_SDM_H_DEFINED
  27. #define __API_SFM_H_DEFINED
  28.  
  29.  
  30. #define MAX_SDM_CLEN  512   /* Maximum number of bytes which can be used    *
  31.                              * for kludge lines at top of *.MSG-type        *
  32.                              * messages.                                    */
  33.  
  34.  
  35. struct _msgh
  36. {
  37.   HAREA ha;
  38.   dword id;      /* Must always equal MSGH_ID */
  39.  
  40.   dword bytes_written;
  41.   dword cur_pos;
  42.  
  43.   /* For *.MSG only! */
  44.  
  45.   sdword clen;
  46.   byte *ctrl;
  47.   dword msg_len;
  48.   dword msgtxt_start;
  49.   word zplen;
  50.   int fd;
  51. };
  52.  
  53.  
  54. /*************************************************************************/
  55. /* This junk is unique to *.MSG!       NO APPLICATIONS SHOULD USE THESE! */
  56. /*************************************************************************/
  57.  
  58. struct _sdmdata
  59. {
  60.   byte base[80];
  61.   
  62.   unsigned *msgnum;   /* has to be of type 'int' for qksort() fn */
  63.   unsigned msgnum_len;
  64.     
  65.   dword hwm;
  66.   word hwm_chgd;
  67.   
  68.   unsigned msgs_open;
  69. };
  70.  
  71.  
  72.  
  73.  
  74. #endif /* __API_SDM_H_DEFINED */
  75.  
  76.  
  77.