blob: 38bfe40756af50c5558b629b4a004c6a9fa6a8c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
.TH "InAddr_HashComp" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
InAddr_HashComp \- This class returns true if two in_addr structs match.
.PP
.SH SYNOPSIS
.br
.PP
\fC#include <hashcomp.h>\fP
.PP
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "bool \fBoperator()\fP (const in_addr &s1, const in_addr &s2) const"
.br
.RI "\fIThe operator () does the actual comparison in hash_map. \fP"
.in -1c
.SH "Detailed Description"
.PP
This class returns true if two in_addr structs match.
Checking is done by copying both into a size_t then doing a numeric comparison of the two.
.PP
Definition at line 71 of file hashcomp.h.
.SH "Member Function Documentation"
.PP
.SS "bool InAddr_HashComp::operator() (const in_addr & s1, const in_addr & s2) const"
.PP
The operator () does the actual comparison in hash_map.
.SH "Author"
.PP
Generated automatically by Doxygen for InspIRCd from the source code.
|