home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1999 / MacHack 1999.toast / The Hacks / LiveFastStartServer / LiveFastStartServer.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-06-26  |  1.1 KB  |  41 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        LiveFastStartServer.h
  3.  
  4.     Contains:    Interface to the simple HTTP server sample.
  5.  
  6.     Written by:    Quinn "The Eskimo!"
  7.  
  8.     Copyright:    © 1997 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.     You may incorporate this sample code into your applications without
  13.     restriction, though the sample code has been provided "AS IS" and the
  14.     responsibility for its operation is 100% yours.  However, what you are
  15.     not permitted to do is to redistribute the source as "DSC Sample Code"
  16.     after having made changes. If you're going to re-distribute the source,
  17.     we require that you make it clear in the source that the code was
  18.     descended from Apple Sample Code, but that you've made changes.
  19. */
  20.  
  21. #include <Types.h>
  22. #include <Events.h>
  23.  
  24. #ifndef __LiveFastStartServer__
  25. #define __LiveFastStartServer__
  26.  
  27. // See comments in implementation.
  28.  
  29. extern Boolean gQuitNow;
  30.  
  31. OSStatus RunHTTPServer(InetHost ipAddr, short vRefNum, long dirID);
  32.  
  33. OSErr InitLiveMovie();
  34.  
  35. OSErr InitGrabber();
  36. OSErr IdleGrabber();
  37. Boolean IsGrabberEvent( EventRecord *event );
  38. OSErr KillGrabber();
  39.  
  40. #endif
  41.