home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1998 September / PCO_0998.ISO / filesbbs / dos / sbbs_src.exe / SBBS / POST.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-04-13  |  771 b   |  24 lines

  1. /* POST.H */
  2.  
  3. /* Developed 1990-1997 by Rob Swindell; PO Box 501, Yorba Linda, CA 92885 */
  4.  
  5. #include "gen_defs.h"
  6.  
  7.  
  8. typedef struct {                        /* Message data */
  9.     ulong    offset,                     /* Offset to header (in bytes) */
  10.             number;                     /* Number of message */
  11.     ushort    to,                         /* CRC-16 of to username */
  12.             from,                        /* CRC-16 of from username */
  13.             subj;                        /* CRC-16 of subject */
  14.             } post_t;
  15.  
  16. #ifdef SBBS
  17. post_t HUGE16 *loadposts(ulong *posts, uint subnum, ulong ptr, uint mode);
  18. #else
  19. ulong loadposts(post_t HUGE16 **post, uint subnum, ulong ptr, uint mode);
  20. #endif
  21. int  searchposts(uint subnum, post_t HUGE16 *post, long start, long msgs
  22.      ,char *search);
  23. void showposts_toyou(post_t HUGE16 *post, ulong start, ulong posts);
  24.