summaryrefslogtreecommitdiff
path: root/docs/man/man3/StrHashComp.3
blob: 77581534f3f5593549aadd0e016184c98822364d (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 "StrHashComp" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
StrHashComp \- 
.SH SYNOPSIS
.br
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "bool \fBoperator()\fP (const string &s1, const string &s2) const"
.br
.in -1c
.SH "Member Function Documentation"
.PP 
.SS "bool StrHashComp::operator() (const string & s1, const string & s2) const\fC [inline]\fP"
.PP
Definition at line 147 of file modules.cpp.
.PP
.nf
148         {
149                 char a[MAXBUF],b[MAXBUF];
150                 strlcpy(a,s1.c_str(),MAXBUF);
151                 strlcpy(b,s2.c_str(),MAXBUF);
152                 strlower(a);
153                 strlower(b);
154                 return (strcasecmp(a,b) == 0);
155         }
.fi


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