home *** CD-ROM | disk | FTP | other *** search
/ CD-X 1 / cdx_01.iso / shareuti / secdev13 / source / usuals.h < prev   
Encoding:
C/C++ Source or Header  |  1994-04-15  |  510 b   |  15 lines

  1. /* usuals.h - The usual typedefs, etc.
  2. */
  3. #ifndef USUALS /* Assures no redefinitions of usual types...*/
  4. #define USUALS
  5.  
  6. typedef unsigned char boolean;    /* values are TRUE or FALSE */
  7. typedef unsigned char byte; /* values are 0-255 */
  8. typedef unsigned short word16;    /* values are 0-65535 */
  9. typedef unsigned long word32;    /* values are 0-4294967295 */
  10.  
  11. #define fill0(buffer,count)    memset( buffer, 0, count )
  12. #define burn(x) fill0((void *)&(x),sizeof(x))
  13.  
  14. #endif    /* if USUALS not already defined */
  15.