From 7455e1c881f12eaf3ec9658ac84add6b61b131a3 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 30 Mar 2003 18:38:07 +0000 Subject: Updated docs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@171 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/classModule.html | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'docs/module-doc/classModule.html') diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html index b15439b3d..7fd4956d7 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -37,9 +37,13 @@ Inheritance diagram for Module:
-
+The packet is represented as a char*, as it should be regarded as a buffer, and not a string. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called immediately after the packet is received but before any other operations with the core of the ircd.
@@ -210,7 +216,9 @@ Definition at line 37 o
-
+The packet is represented as a char*, as it should be regarded as a buffer, and not a string. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called before ANY other operations within the ircd core program.
@@ -248,7 +256,9 @@ Definition at line 37 o
-
+This method is the lowest level of handler available to a module. It will be called with raw data which is passing through a connected socket. If you wish, you may munge this data by changing the string parameter "raw". If you do this, after your function exits it will immediately be cut down to 510 characters plus a carriage return and linefeed.
@@ -276,7 +286,9 @@ Definition at line 37 o
- +Called on rehash. +
+This method is called prior to a /REHASH or when a SIGHUP is received from the operating system. You should use it to reload any files so that your module keeps in step with the rest of the application.
Definition at line 35 of file modules.cpp.
@@ -448,7 +460,7 @@ Definition at line 30 o
1.3-rc3
--
cgit v1.3.1-10-gc9f91