Main Page | Modules | Data Structures | File List | Data Fields | Globals

src/lookup3.h

Go to the documentation of this file.
00001 /* $Id: lookup3.h,v 1.2 2006/09/08 18:18:08 ciesnik Exp $ */
00002 
00011 #ifndef __LOOKUP3_H
00012 #define __LOOKUP3_H
00013 
00014 #ifndef HAVE_CONFIG_H
00015 # include <config.h>
00016 #endif
00017 
00018 #include <stdint.h>
00019 
00020 uint32_t hashword( const uint32_t *k, size_t length, uint32_t initval );
00021 uint32_t hashlittle( const void *key, size_t length, uint32_t initval );
00022 uint32_t hashbig( const void *key, size_t length, uint32_t initval );
00023 
00024 #if BYTEORDER == 1234 /* little endian */
00025 # define hashstr hashlittle
00026 #endif
00027 
00028 #if BYTEORDER == 4321  /* big endian */
00029 # define hashstr hashbig
00030 #endif
00031 
00032 #endif /* __LOOKUP3_H */
00033 

Generated on Fri Sep 8 20:19:21 2006 for DRMAA 1.0 library for Torque/PBS by  doxygen 1.4.4