File: cdb_hash.pod

package info (click to toggle)
freecdb 0.61
  • links: PTS
  • area: main
  • in suites: potato
  • size: 116 kB
  • ctags: 90
  • sloc: ansic: 614; makefile: 91; sh: 12
file content (21 lines) | stat: -rw-r--r-- 320 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
=head1 NAME

cdb_hash -- the hash function used by cdb

=head1 SYNOPSIS

B<#include E<lt>freecdb.hE<gt>>

uint32 B<cdb_hash>(unsigned char *I<buf>, unsigned int I<len>);

=head1 DESCRIPTION

Return a hash for the first I<len> bytes of I<buf>.

=head1 RETURN VALUE

The hash.

=head1 SEE ALSO

L<cdb_seek(3)|cdb_seek(3)>