view src/core/ngx_murmurhash.h @ 4221:3203ddb78279

Fixed another return in unix ngx_write_chain_to_file(). Previous patch missed special case for one iovec, it needs total bytes written to be returned as well.
author Maxim Dounin <mdounin@mdounin.ru>
date Fri, 21 Oct 2011 11:04:46 +0000
parents 203eb026ec07
children d620f497c50f
line wrap: on
line source


/*
 * Copyright (C) Igor Sysoev
 */


#ifndef _NGX_MURMURHASH_H_INCLUDED_
#define _NGX_MURMURHASH_H_INCLUDED_


#include <ngx_config.h>
#include <ngx_core.h>


uint32_t ngx_murmur_hash2(u_char *data, size_t len);


#endif /* _NGX_CRC_H_INCLUDED_ */