sam.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. #define NUM_FREE_LIST_UNITS 500
  38. #ifndef FALSE
  39. #define FALSE (short) 0x00
  40. #endif
  41. #ifndef TRUE
  42. #define TRUE (short) !FALSE
  43. #endif
  44. #define TX TRUE
  45. #define RX FALSE
  46. typedef struct FREE_LIST FREE_LIST;
  47. struct FREE_LIST {
  48. FREE_LIST_ptr next;
  49. FREE_LIST_ptr prev;
  50. };
  51. #endif
  52. /*********** end of file ***********/