summaryrefslogtreecommitdiff
path: root/docs/man/man3/irc_InAddr_HashComp.3
blob: 64b936da9ea2d5535c29c88e975d4f80da081f4c (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 "irc::InAddr_HashComp" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
irc::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 92 of file hashcomp.h.
.SH "Member Function Documentation"
.PP 
.SS "bool irc::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.