Main Page   Compound List   File List   Compound Members   File Members  

mainDefs.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define ROLuns32(a, b)   (( ((a) << ((b) & 31)) | ((a) >> (32-((b) & 31))) ))
#define RORuns32(a, b)   (( ((a) >> ((b) & 31)) | ((a) << (32-((b) & 31))) ))
#define ROLuns64(a, b)   ( ((a) << ((b) & 63)) | ((a) >> (64-((b) & 63))) )
#define RORuns64(a, b)   ( ((a) >> ((b) & 63)) | ((a) << (64-((b) & 63))) )
#define max(AA, BB)   ( (AA)<(BB) ? BB : AA )
#define ck_free(PTR, SIZE)

Typedefs

typedef unsigned int uns32
typedef unsigned short uns16
typedef unsigned char uns8


Define Documentation

#define ck_free PTR,
SIZE   
 

Value:

{\
  memset(PTR, 0, SIZE);\
  free(PTR);\
  PTR = NULL;\
  }

#define max AA,
BB       ( (AA)<(BB) ? BB : AA )
 

#define ROLuns32 a,
     (( ((a) << ((b) & 31)) | ((a) >> (32-((b) & 31))) ))
 

#define ROLuns64 a,
     ( ((a) << ((b) & 63)) | ((a) >> (64-((b) & 63))) )
 

#define RORuns32 a,
     (( ((a) >> ((b) & 31)) | ((a) << (32-((b) & 31))) ))
 

#define RORuns64 a,
     ( ((a) >> ((b) & 63)) | ((a) << (64-((b) & 63))) )
 


Typedef Documentation

typedef unsigned short uns16
 

typedef unsigned int uns32
 

A contribution to the open-source movement. Jean-Luc Cooke <jlcooke@certainkey.com> CertainKey Inc. Ottawa Ontario Canada

Created: July 20th, 2001

The following program code is released under the GPL license http://www.gnu.org/copyleft/gpl.html

typedef unsigned char uns8
 

GPL