home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / apps / clib / progs / timslib / OtherBits / h / XferRecv < prev    next >
Encoding:
Text File  |  1993-01-22  |  1.5 KB  |  48 lines

  1. /* XferRecv.h */
  2. /*                           
  3.  
  4.   #####                 #         #
  5.     #    #              #      #  #
  6.     #                   #         #
  7.     #   ##  ####   #### #     ##  ####
  8.     #    #  # # # #     #      #  #   #
  9.     #    #  # # #  ###  #      #  #   #
  10.     #    #  # # #     # #      #  #   #
  11.     #   ### # # # ####  ##### ### ####
  12.  
  13. -----------------------------------------------------------------------------
  14.  
  15. This is source for use with the 'DeskLib' Wimp C programming library for
  16. Risc OS. I currently use v1.04 of DeskLib.  This source is FreeWare, which
  17. means you can use it to write commercial applications, but you may not charge
  18. *in any way* for the distribution of this source.  I (Tim Browse) retain
  19. all copyright on this source.
  20.  
  21. This source is provided 'as is' and I offer no guarantees that is useful,
  22. bug-free, commented, that it will compile, or even that it exists.
  23.  
  24. If it breaks in half, you own both pieces.
  25.  
  26. All source © Tim Browse 1993
  27.  
  28. -----------------------------------------------------------------------------
  29.  
  30. */
  31.  
  32. #ifndef __glz__xferrecv_h
  33. #define __glz__xferrecv_h
  34.  
  35. /* This should be called when a Data{Load,Open} message is received.
  36.    It sets up the acknowledgement message, and extracts the
  37.    filetype and filename from the message.
  38. */
  39. extern void XferRecv_Prolog(int *filetype, char *filename);
  40.  
  41. /* This should be called after the file has been loaded.
  42.    It sends a DataLoadAck message to the sender of the orginal
  43.    Data{Load,Open} message to indicate that the file was loaded.
  44. */
  45. extern void XferRecv_Epilog(void);
  46.  
  47. #endif
  48.