view src/core/ngx_murmurhash.h @ 6714:c3e3de6d2672

Resolver: introduced state field in ngx_resolver_srv_name_t. It keeps the actual state value of a DNS SRV subrequest and can be used to report a more detailed log for failed SRV records.
author Dmitry Volyntsev <xeioex@nginx.com>
date Thu, 29 Sep 2016 19:40:47 +0300
parents 709d7d24239d
children
line wrap: on
line source


/*
 * Copyright (C) Igor Sysoev
 * Copyright (C) Nginx, Inc.
 */


#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_MURMURHASH_H_INCLUDED_ */