Deleted Added
full compact
hash.3 (206177) hash.3 (231564)
1.\" Copyright (c) 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 12 unchanged lines hidden (view full) ---

21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" @(#)hash.3 8.6 (Berkeley) 8/18/94
1.\" Copyright (c) 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 12 unchanged lines hidden (view full) ---

21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" @(#)hash.3 8.6 (Berkeley) 8/18/94
29.\" $FreeBSD: head/lib/libc/db/man/hash.3 206177 2010-04-05 10:01:53Z avg $
29.\" $FreeBSD: head/lib/libc/db/man/hash.3 231564 2012-02-12 18:29:56Z ed $
30.\"
31.Dd August 18, 1994
32.Dt HASH 3
33.Os
34.Sh NAME
35.Nm hash
36.Nd "hash database access method"
37.Sh SYNOPSIS

--- 22 unchanged lines hidden (view full) ---

60.In db.h
61include file as follows:
62.Bd -literal
63typedef struct {
64 u_int bsize;
65 u_int ffactor;
66 u_int nelem;
67 u_int cachesize;
30.\"
31.Dd August 18, 1994
32.Dt HASH 3
33.Os
34.Sh NAME
35.Nm hash
36.Nd "hash database access method"
37.Sh SYNOPSIS

--- 22 unchanged lines hidden (view full) ---

60.In db.h
61include file as follows:
62.Bd -literal
63typedef struct {
64 u_int bsize;
65 u_int ffactor;
66 u_int nelem;
67 u_int cachesize;
68 u_int32_t (*hash)(const void *, size_t);
68 uint32_t (*hash)(const void *, size_t);
69 int lorder;
70} HASHINFO;
71.Ed
72.Pp
73The elements of this structure are as follows:
74.Bl -tag -width indent
75.It Va bsize
76The

--- 120 unchanged lines hidden ---
69 int lorder;
70} HASHINFO;
71.Ed
72.Pp
73The elements of this structure are as follows:
74.Bl -tag -width indent
75.It Va bsize
76The

--- 120 unchanged lines hidden ---