home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / program / c / ios_src / inmail.h < prev    next >
Text File  |  1993-01-31  |  2KB  |  54 lines

  1. #if !defined (__INMAIL_H__)
  2. #define __INMAIL_H__
  3.  
  4. #define    ARCMAIL            1
  5. #define    EMPTY            0
  6.  
  7. #define    UNKNOWN_SYSTEM    1
  8. #define    OUR_SYSTEM        0
  9.  
  10. VOID    import_pkt(BYTE *path);
  11. BYTE    unpack_pkt(VOID);
  12. BYTE    arc_mail(BYTE *name);
  13. BYTE    unpack(BYTE *name);
  14. VOID    have_pkt(BYTE *pktname, BYTE *path);
  15. VOID    rename_pkt(BYTE *oldname);
  16. BYTE    check_nodes(UWORD zone, UWORD net, UWORD node, UWORD point);
  17. BYTE    import_messages(BYTE *pktname);
  18. BYTE    get_fields(VOID);
  19. VOID    read_message(VOID);
  20. BYTE    find_message(VOID);
  21. BYTE    *get_area(BYTE *msg);
  22. UWORD    get_point(BYTE *msg, BYTE *line);
  23. BYTE    get_interzone(BYTE *msg, UWORD *fzone, UWORD *fnet,
  24.             UWORD *fnode, UWORD *tzone, UWORD *tnet, UWORD *tnode);
  25. BYTE    get_msgid(BYTE *msg, UWORD *zone, UWORD *net, UWORD *node, UWORD *point);
  26. BYTE    get_reply(BYTE *msg, UWORD *zone, UWORD *net, UWORD *node, UWORD *point);
  27. VOID    handle_message(BYTE *);
  28. BYTE    *strip_cr(BYTE *l);
  29. BYTE    *get_path(BYTE *msg, WORD area);
  30. BYTE    *get_seen(BYTE *msg, WORD area);
  31. VOID    get_org_and_tearline(BYTE *msg);
  32. WORD    ourseen(WORD area, UWORD point, MSGHEADER *hdr, BYTE *domain);
  33. WORD    ourpath(WORD area, BYTE *domain);
  34. VOID    Addline(BYTE *msg, BYTE *what, WORD numbers, UWORD ourzone);
  35. VOID    savemsg(BYTE whereto, MSGHEADER *hmsg, WORD area, BYTE *msg,
  36.             UWORD zone, UWORD net, UWORD node, UWORD point);
  37. VOID    dupesave(MSGHEADER *Hdr, BYTE *message);
  38. BYTE    *strip_line(BYTE *msg, BYTE *lie);
  39. BYTE    Openpkt(WORD file, BYTE *node32, MSGHEADER *Hdr);
  40. BYTE    Openarea(WORD file, BYTE *Hfile, BYTE *Mfile, MSGHEADER *Hdr);
  41. BYTE    ouralias(UWORD zone, UWORD net, UWORD node, UWORD point);
  42. VOID    show_results(VOID);
  43. BYTE    find_field_end(VOID);
  44. BYTE    rename_arcmail(BYTE *name);
  45. WORD    other_zone(UWORD *tozone, UWORD *tonet, UWORD *tonode,
  46.             UWORD *fromzone, UWORD *fromnet, UWORD *fromnode);
  47. VOID    add_extra_byte(BYTE *ext);
  48. VOID    extra_byte(BYTE *fname);
  49. VOID    get_last_byte(FILE *stream, BYTE *filename);
  50. BYTE    check_diskspace(LONG space);
  51. VOID     ToDataBase(MSGHEADER *Hdr, BYTE *msg, WORD area);
  52. VOID    isPKT(BYTE *file);
  53.  
  54. #endif