sam.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /****************************************************************************
  2. ******* *******
  3. ******* S A M . H
  4. ******* *******
  5. ****************************************************************************
  6. Author : Ian Nandhra
  7. Date :
  8. *
  9. * (C) 1990 - 2000 Specialix International Ltd., Byfleet, Surrey, UK.
  10. *
  11. * This program is free software; you can redistribute it and/or modify
  12. * it under the terms of the GNU General Public License as published by
  13. * the Free Software Foundation; either version 2 of the License, or
  14. * (at your option) any later version.
  15. *
  16. * This program is distributed in the hope that it will be useful,
  17. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  19. * GNU General Public License for more details.
  20. *
  21. * You should have received a copy of the GNU General Public License
  22. * along with this program; if not, write to the Free Software
  23. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  24. Version : 0.01
  25. Mods
  26. ----------------------------------------------------------------------------
  27. Date By Description
  28. ----------------------------------------------------------------------------
  29. ***************************************************************************/
  30. #ifndef _sam_h
  31. #define _sam_h 1
  32. #ifdef SCCS_LABELS
  33. #ifndef lint
  34. /* static char *_rio_sam_h_sccs = "@(#)sam.h 1.3"; */
  35. #endif
  36. #endif
  37. #if !defined( HOST ) && !defined( INKERNEL )
  38. #define RTA 1
  39. #endif
  40. #define NUM_FREE_LIST_UNITS 500
  41. #ifndef FALSE
  42. #define FALSE (short) 0x00
  43. #endif
  44. #ifndef TRUE
  45. #define TRUE (short) !FALSE
  46. #endif
  47. #define TX TRUE
  48. #define RX FALSE
  49. typedef struct FREE_LIST FREE_LIST ;
  50. struct FREE_LIST {
  51. FREE_LIST_ptr next ;
  52. FREE_LIST_ptr prev ;
  53. } ;
  54. #endif
  55. /*********** end of file ***********/