sysmap.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /****************************************************************************
  2. ******* *******
  3. ******* S Y S T E M M A P H E A D E R
  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 lint
  31. #ifdef SCCS_LABELS
  32. static char *_rio_sysmap_h_sccs = "@(#)sysmap.h 1.1" ;
  33. #endif
  34. #endif
  35. #define SYSTEM_MAP_LEN 64 /* Len of System Map array */
  36. typedef struct SYS_MAP SYS_MAP ;
  37. typedef struct SYS_MAP_LINK SYS_MAP_LINK ;
  38. struct SYS_MAP_LINK {
  39. short id ; /* Unit Id */
  40. short link ; /* Id's Link */
  41. short been_here ; /* Used by map_gen */
  42. } ;
  43. struct SYS_MAP {
  44. char serial_num[4] ;
  45. SYS_MAP_LINK link[4] ;
  46. } ;
  47. /*********** end of file ***********/