home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / libraries / rtlibrary.lha / rtlibrary / src / rt / rt_priv.h next >
Encoding:
C/C++ Source or Header  |  1995-01-29  |  647 b   |  48 lines

  1. /*
  2.  * $Id: rt_priv.h $
  3.  *
  4.  * Author: Tomi Ollila <Tomi.Ollila@hut.fi>
  5.  *
  6.  *     Copyright (c) 1994 Tomi Ollila
  7.  *         All rights reserved
  8.  *
  9.  * Created: Sun Dec 25 00:16:45 1994 too
  10.  * Last modified: Mon Jan 30 01:10:04 1995 too
  11.  *
  12.  * HISTORY 
  13.  * $Log: $
  14.  */
  15.  
  16. #include <rt.h>
  17.  
  18. #ifndef EXEC_NODES_H
  19. #include <exec/nodes.h>
  20. #endif
  21.  
  22.  
  23. struct RTNode {
  24.   void * func;
  25.   void * data;
  26. };
  27.  
  28. struct RT {
  29. #ifdef DEBUG
  30.   int maxitems;
  31. #endif  
  32.   struct RTNode * node;
  33.   struct RTNode endnode;
  34. };
  35.  
  36. typedef LONG size_t;
  37. typedef void (* f_void)(void *);
  38.  
  39. #ifndef BOOL
  40. #define BOOL short
  41. #endif
  42.  
  43. #ifndef unless
  44. #define unless(x)    if(!(x))     
  45. #endif
  46.      
  47. /* eof */
  48.