~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/algorithm/crc32.h

  • Committer: Brian Aker
  • Date: 2010-01-12 21:04:27 UTC
  • mfrom: (1259.6.3 hash_algorithm)
  • Revision ID: brian@gaz-20100112210427-ynafptc9b1jnv4d3
Merge Joe

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 * src/usr.bin/cksum/crc32.c.
32
32
 */
33
33
 
34
 
#ifndef DRIZZLED_HASH_CRC32_H
35
 
#define DRIZZLED_HASH_CRC32_H
 
34
#ifndef DRIZZLED_ALGORITHM_CRC32_H
 
35
#define DRIZZLED_ALGORITHM_CRC32_H
36
36
 
37
37
#ifdef HAVE_SYS_TYPES_H
38
38
# include <sys/types.h>
40
40
 
41
41
namespace drizzled
42
42
{
43
 
namespace hash
 
43
namespace algorithm
44
44
{
45
45
 
46
46
uint32_t crc32(const char *key, size_t key_length);
47
47
 
48
 
} /* namespace hash */
 
48
} /* namespace algorithm */
49
49
} /* namespace drizzled */
50
50
 
51
 
#endif /* DRIZZLED_HASH_CRC32_H */
 
51
#endif /* DRIZZLED_ALGORITHM_CRC32_H */