diff options
Diffstat (limited to 'docs/man/man3/Request.3')
-rw-r--r-- | docs/man/man3/Request.3 | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/docs/man/man3/Request.3 b/docs/man/man3/Request.3 index 2f7487d15..f836f2662 100644 --- a/docs/man/man3/Request.3 +++ b/docs/man/man3/Request.3 @@ -1,4 +1,4 @@ -.TH "Request" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "Request" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -63,65 +63,65 @@ Definition at line 154 of file modules.h. .PP .SS "Request::Request (char * anydata, \fBModule\fP * src, \fBModule\fP * dst)" .PP -Create a new Request. Definition at line 240 of file modules.cpp. +Create a new Request. Definition at line 249 of file modules.cpp. .PP .nf -240 : data(anydata), source(src), dest(dst) { }; +249 : data(anydata), source(src), dest(dst) { }; .fi .SH "Member Function Documentation" .PP .SS "char * Request::GetData ()" .PP -Fetch the Request data. Definition at line 242 of file modules.cpp. +Fetch the Request data. Definition at line 251 of file modules.cpp. .PP References data. .PP .nf -243 { -244 return this->data; -245 } +252 { +253 return this->data; +254 } .fi .SS "\fBModule\fP * Request::GetDest ()" .PP -Fetch the request destination (should be 'this' in the receiving module). Definition at line 252 of file modules.cpp. +Fetch the request destination (should be 'this' in the receiving module). Definition at line 261 of file modules.cpp. .PP References dest. .PP .nf -253 { -254 return this->dest; -255 } +262 { +263 return this->dest; +264 } .fi .SS "\fBModule\fP * Request::GetSource ()" .PP -Fetch the request source. Definition at line 247 of file modules.cpp. +Fetch the request source. Definition at line 256 of file modules.cpp. .PP References source. .PP .nf -248 { -249 return this->source; -250 } +257 { +258 return this->source; +259 } .fi .SS "char * Request::Send ()\fC [virtual]\fP" .PP Send the Request. Upon returning the result will be arbitary data returned by the module you sent the request to. It is up to your module to know what this data is and how to deal with it. Implements \fBModuleMessage\fP. .PP -Definition at line 257 of file modules.cpp. +Definition at line 266 of file modules.cpp. .PP References dest, and Module::OnRequest(). .PP .nf -258 { -259 if (this->dest) -260 { -261 return dest->OnRequest(this); -262 } -263 else -264 { -265 return NULL; -266 } -267 } +267 { +268 if (this->dest) +269 { +270 return dest->OnRequest(this); +271 } +272 else +273 { +274 return NULL; +275 } +276 } .fi .SH "Member Data Documentation" .PP |