Program Listing for File hash.h

Return to documentation for file (rcsw/utils/hash.h)

#pragma once

/*******************************************************************************
 * Includes
 ******************************************************************************/
#include "rcsw/rcsw.h"

/*******************************************************************************
 * API Functions
 ******************************************************************************/
BEGIN_C_DECLS

RCSW_API uint32_t hash_default(const void * data, size_t len) RCSW_PURE;

RCSW_API uint32_t hash_fnv1a(const void * data, size_t len) RCSW_PURE;

RCSW_API uint32_t hash_djb(const void * data, size_t len) RCSW_PURE;

END_C_DECLS