control.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /****************************************************************************
  2. ******* *******
  3. ******* C O N T R O L P A C K E T H E A D E R S
  4. ******* *******
  5. ****************************************************************************
  6. Author : Jon Brawn
  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 _control_h
  31. #define _control_h
  32. #ifndef lint
  33. /* static char *_rio_control_h_sccs = "@(#)control.h 1.4"; */
  34. #endif
  35. #define CONTROL '^'
  36. #define IFOAD ( CONTROL + 1 )
  37. #define IDENTIFY ( CONTROL + 2 )
  38. #define ZOMBIE ( CONTROL + 3 )
  39. #define UFOAD ( CONTROL + 4 )
  40. #define IWAIT ( CONTROL + 5 )
  41. #define IFOAD_MAGIC 0xF0AD /* of course */
  42. #define ZOMBIE_MAGIC (~0xDEAD) /* not dead -> zombie */
  43. #define UFOAD_MAGIC 0xD1E /* kill-your-neighbour */
  44. #define IWAIT_MAGIC 0xB1DE /* Bide your time */
  45. #endif
  46. /*********** end of file ***********/