diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-24 02:34:33 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-24 02:34:33 +0000 |
commit | 66f0cd6469d2643858c2fcd14726d362696bd68d (patch) | |
tree | 8c3743570ae0a16431fb8f6713023c73e21f1e2f /docs/man/man3/Request.3 | |
parent | 609873a2abf96a67b29eec1b37cc81c31857376b (diff) |
New methods, new docs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1484 e03df62e-2008-0410-955e-edbf42e46eb7
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 |