summaryrefslogtreecommitdiff
path: root/docs/man/man3/InAddr_HashComp.3
blob: e6f60886bb3ebf0011f1176c13b296495ec32521 (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
37
.TH "InAddr_HashComp" 3 "2 Apr 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
InAddr_HashComp \- 
.SH SYNOPSIS
.br
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "bool \fBoperator()\fP (const in_addr &s1, const in_addr &s2) const"
.br
.in -1c
.SH "Member Function Documentation"
.PP 
.SS "bool InAddr_HashComp::operator() (const in_addr & s1, const in_addr & s2) const\fC [inline]\fP"
.PP
Definition at line 157 of file modules.cpp.
.PP
.nf
158         {
159                 size_t q;
160                 size_t p;
161                 
162                 memcpy(&q,&s1,sizeof(size_t));
163                 memcpy(&p,&s2,sizeof(size_t));
164                 
165                 return (q == p);
166         }
.fi


.SH "Author"
.PP 
Generated automatically by Doxygen for InspIRCd from the source code.