From d9b89849e032c9b114136274bdcb8be698e9a71c Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 27 Jan 2003 00:22:39 +0000 Subject: Modified documentation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@155 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/annotated.html | 2 +- docs/module-doc/base_8h-source.html | 48 ++-- docs/module-doc/base_8h.html | 2 +- docs/module-doc/channels_8h-source.html | 246 ++++++++++---------- docs/module-doc/channels_8h.html | 18 +- docs/module-doc/classAdmin-members.html | 2 +- docs/module-doc/classAdmin.html | 10 +- docs/module-doc/classBanItem-members.html | 2 +- docs/module-doc/classBanItem.html | 4 +- docs/module-doc/classConfigReader-members.html | 2 +- docs/module-doc/classConfigReader.html | 12 +- docs/module-doc/classConnectClass-members.html | 5 +- docs/module-doc/classConnectClass.html | 15 +- docs/module-doc/classExemptItem-members.html | 2 +- docs/module-doc/classExemptItem.html | 4 +- docs/module-doc/classFileReader-members.html | 2 +- docs/module-doc/classFileReader.html | 14 +- docs/module-doc/classHostItem-members.html | 2 +- docs/module-doc/classHostItem.html | 18 +- docs/module-doc/classInviteItem-members.html | 2 +- docs/module-doc/classInviteItem.html | 4 +- docs/module-doc/classInvited-members.html | 5 +- docs/module-doc/classInvited.html | 11 +- docs/module-doc/classModule-members.html | 2 +- docs/module-doc/classModule.html | 4 +- docs/module-doc/classModuleFactory-members.html | 2 +- docs/module-doc/classModuleFactory.html | 12 +- docs/module-doc/classServer-members.html | 2 +- docs/module-doc/classServer.html | 4 +- docs/module-doc/classVersion-members.html | 2 +- docs/module-doc/classVersion.html | 12 +- docs/module-doc/classchanrec-members.html | 2 +- docs/module-doc/classchanrec.html | 60 ++--- docs/module-doc/classclassbase-members.html | 2 +- docs/module-doc/classclassbase.html | 30 +-- docs/module-doc/classclassbase.png | Bin 1546 -> 1753 bytes docs/module-doc/classcommand__t-members.html | 2 +- docs/module-doc/classcommand__t.html | 14 +- docs/module-doc/classconnection-members.html | 2 +- docs/module-doc/classconnection.html | 34 +-- docs/module-doc/classes.html | 2 +- docs/module-doc/classserverrec-members.html | 2 +- docs/module-doc/classserverrec.html | 142 ++++++------ docs/module-doc/classucrec-members.html | 2 +- docs/module-doc/classucrec.html | 16 +- docs/module-doc/classuserrec-members.html | 2 +- docs/module-doc/classuserrec.html | 40 ++-- docs/module-doc/connection_8h-source.html | 82 +++---- docs/module-doc/connection_8h.html | 2 +- docs/module-doc/ctables_8h-source.html | 88 ++++---- docs/module-doc/ctables_8h.html | 4 +- docs/module-doc/files.html | 2 +- docs/module-doc/functions.html | 2 +- docs/module-doc/globals.html | 2 +- docs/module-doc/hierarchy.html | 6 +- docs/module-doc/main.html | 2 +- docs/module-doc/modules_8cpp-source.html | 6 +- docs/module-doc/modules_8cpp.html | 2 +- docs/module-doc/modules_8h-source.html | 286 ++++++++++++------------ docs/module-doc/modules_8h.html | 6 +- docs/module-doc/servers_8cpp-source.html | 118 +++++----- docs/module-doc/servers_8cpp.html | 2 +- docs/module-doc/servers_8h-source.html | 100 +++++---- docs/module-doc/servers_8h.html | 10 +- docs/module-doc/tree.js | 4 +- docs/module-doc/users_8cpp-source.html | 6 +- docs/module-doc/users_8cpp.html | 2 +- docs/module-doc/users_8h-source.html | 208 ++++++++--------- docs/module-doc/users_8h.html | 18 +- 69 files changed, 916 insertions(+), 866 deletions(-) diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html index 2d8e7baf1..87e3b140d 100644 --- a/docs/module-doc/annotated.html +++ b/docs/module-doc/annotated.html @@ -28,7 +28,7 @@ userrecHolds all information about a user This class stores all information about a user connected to the irc server VersionHolds a module's Version information The four members (set by the constructor only) indicate details as to the version number of a module -
Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
diff --git a/docs/module-doc/base_8h-source.html b/docs/module-doc/base_8h-source.html index fe451b786..f8cf5a586 100644 --- a/docs/module-doc/base_8h-source.html +++ b/docs/module-doc/base_8h-source.html @@ -9,30 +9,34 @@

base.h

Go to the documentation of this file.
00001 /*
 00002 
 00003 $Log$
-00003 Revision 1.1  2003/01/26 23:52:47  brain
-00003 Modified documentation for base classes
+00003 Revision 1.2  2003/01/27 00:22:39  brain
+00003 Modified documentation
 00003 
-00004 
-00005 */
-00006 
-00007 #include "inspircd_config.h" 
-00008 #include <time.h>
-00009  
-00010 #ifndef __BASE_H__ 
-00011 #define __BASE_H__ 
-00012  
-00013 class classbase
-00014 {
-00015  public:
-00016         time_t age;
-00017 
-00018         classbase() { age = time(NULL); }
-00019         ~classbase() { }
-00020 };
+00004 Revision 1.1  2003/01/26 23:52:59  brain
+00005 Modified documentation for base classes
+00006 Added base classes
+00007 
+00008 
+00009 */
+00010 
+00011 #include "inspircd_config.h" 
+00012 #include <time.h>
+00013  
+00014 #ifndef __BASE_H__ 
+00015 #define __BASE_H__ 
+00016  
+00017 class classbase
+00018 {
+00019  public:
+00020         time_t age;
 00021 
-00022 #endif
-00023 
-

Generated on Sun Jan 26 23:45:47 2003 for InspIRCd by +00022 classbase() { age = time(NULL); } +00023 ~classbase() { } +00024 }; +00025 +00026 #endif +00027 +
Generated on Mon Jan 27 00:16:40 2003 for InspIRCd by doxygen1.3-rc2
diff --git a/docs/module-doc/base_8h.html b/docs/module-doc/base_8h.html index 0f004027d..33c8cd3ab 100644 --- a/docs/module-doc/base_8h.html +++ b/docs/module-doc/base_8h.html @@ -15,7 +15,7 @@

Compounds

class  classbase -
Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html index bb38ba5e9..2d618ec6a 100644 --- a/docs/module-doc/channels_8h-source.html +++ b/docs/module-doc/channels_8h-source.html @@ -9,137 +9,141 @@

channels.h

Go to the documentation of this file.
00001 /*
 00002 
 00003 $Log$
-00003 Revision 1.3  2003/01/26 23:52:47  brain
-00003 Modified documentation for base classes
+00003 Revision 1.4  2003/01/27 00:22:39  brain
+00003 Modified documentation
 00003 
-00004 Revision 1.1.1.1  2003/01/23 19:45:58  brain
-00005 InspIRCd second source tree
-00006 
-00007 Revision 1.7  2003/01/22 00:44:26  brain
-00008 Added documentation comments
-00009 
-00010 Revision 1.6  2003/01/21 21:11:17  brain
-00011 Added documentation
-00012 
-00013 Revision 1.5  2003/01/16 20:11:55  brain
-00014 fixed some ugly pointer bugs (thanks dblack and a|KK|y!)
-00015 
-00016 Revision 1.4  2003/01/15 22:47:44  brain
-00017 Changed user and channel structs to classes (finally)
-00018 
-00019    
-00020 */
-00021 
-00022 #include "inspircd_config.h"
-00023 #include "base.h"
-00024 #include <time.h>
-00025 #include <vector>
-00026 
-00027 #ifndef __CHANNELS_H__
-00028 #define __CHANNELS_H__
-00029 
-00033 class HostItem : public classbase
-00034 {
-00035  public:
-00036         time_t set_time;
-00037         char set_by[NICKMAX];
-00038         char data[MAXBUF];
-00039 
-00040         HostItem() { /* stub */ }
-00041         virtual ~HostItem() { /* stub */ }
-00042 };
+00004 Revision 1.2  2003/01/26 23:52:59  brain
+00005 Modified documentation for base classes
+00006 Added base classes
+00007 
+00008 Revision 1.1.1.1  2003/01/23 19:45:58  brain
+00009 InspIRCd second source tree
+00010 
+00011 Revision 1.7  2003/01/22 00:44:26  brain
+00012 Added documentation comments
+00013 
+00014 Revision 1.6  2003/01/21 21:11:17  brain
+00015 Added documentation
+00016 
+00017 Revision 1.5  2003/01/16 20:11:55  brain
+00018 fixed some ugly pointer bugs (thanks dblack and a|KK|y!)
+00019 
+00020 Revision 1.4  2003/01/15 22:47:44  brain
+00021 Changed user and channel structs to classes (finally)
+00022 
+00023    
+00024 */
+00025 
+00026 #include "inspircd_config.h"
+00027 #include "base.h"
+00028 #include <time.h>
+00029 #include <vector>
+00030 
+00031 #ifndef __CHANNELS_H__
+00032 #define __CHANNELS_H__
+00033 
+00037 class HostItem : public classbase
+00038 {
+00039  public:
+00040         time_t set_time;
+00041         char set_by[NICKMAX];
+00042         char data[MAXBUF];
 00043 
-00044 // banlist is inherited from HostList mainly for readability
-00045 // reasons only
-00046 
-00049 class BanItem : public HostItem
-00050 {
-00051 };
-00052 
-00053 // same with this...
-00054 
-00057 class ExemptItem : public HostItem
-00058 {
-00059 };
-00060 
-00061 // and this...
-00062 
-00065 class InviteItem : public HostItem
-00066 {
-00067 };
-00068 
-00069 
-00072 typedef vector<BanItem>         BanList;
+00044         HostItem() { /* stub */ }
+00045         virtual ~HostItem() { /* stub */ }
+00046 };
+00047 
+00048 // banlist is inherited from HostList mainly for readability
+00049 // reasons only
+00050 
+00053 class BanItem : public HostItem
+00054 {
+00055 };
+00056 
+00057 // same with this...
+00058 
+00061 class ExemptItem : public HostItem
+00062 {
+00063 };
+00064 
+00065 // and this...
+00066 
+00069 class InviteItem : public HostItem
+00070 {
+00071 };
+00072 
 00073 
-00076 typedef vector<ExemptItem>      ExemptList;
+00076 typedef vector<BanItem>         BanList;
 00077 
-00080 typedef vector<InviteItem>      InviteList;
+00080 typedef vector<ExemptItem>      ExemptList;
 00081 
-00086 class chanrec : public classbase
-00087 {
-00088  public:
-00091         char name[CHANMAX]; /* channel name */
-00095         char custom_modes[MAXMODES];     /* modes handled by modules */
-00099         char topic[MAXBUF];
-00102         time_t created;
-00106         time_t topicset;
-00110         char setby[NICKMAX];
-00111 
-00115         long limit;
-00116         
-00120         char key[32];
-00121         
-00124         short int topiclock;
+00084 typedef vector<InviteItem>      InviteList;
+00085 
+00090 class chanrec : public classbase
+00091 {
+00092  public:
+00095         char name[CHANMAX]; /* channel name */
+00099         char custom_modes[MAXMODES];     /* modes handled by modules */
+00103         char topic[MAXBUF];
+00106         time_t created;
+00110         time_t topicset;
+00114         char setby[NICKMAX];
+00115 
+00119         long limit;
+00120         
+00124         char key[32];
 00125         
-00128         short int noexternal;
+00128         short int topiclock;
 00129         
-00132         short int inviteonly;
+00132         short int noexternal;
 00133         
-00136         short int moderated;
+00136         short int inviteonly;
 00137         
-00141         short int secret;
-00142         
-00146         short int c_private;
-00147         
-00150         BanList bans;
-00151 
-00154         chanrec()
-00155         {
-00156                 strcpy(name,"");
-00157                 strcpy(custom_modes,"");
-00158                 strcpy(topic,"");
-00159                 strcpy(setby,"");
-00160                 strcpy(key,"");
-00161                 created = topicset = limit = 0;
-00162                 topiclock = noexternal = inviteonly = moderated = secret = c_private = false;
-00163         }
-00164 
-00165         virtual ~chanrec() { /* stub */ }
-00166 };
-00167 
-00168 /* used to hold a channel and a users modes on that channel, e.g. +v, +h, +o
-00169  * needs to come AFTER struct chanrec */
-00170 
-00171 #define UCMODE_OP      1
-00172 #define UCMODE_VOICE   2
-00173 #define UCMODE_HOP     4
-00174 #define UCMODE_PROTECT 8
-00175 #define UCMODE_FOUNDER 16
-00176  
-00182 class ucrec : public classbase
-00183 {
-00184  public:
-00188         long uc_modes;
-00189         
-00193         chanrec *channel;
-00194 
-00195         ucrec() { /* stub */ }
-00196         virtual ~ucrec() { /* stub */ }
-00197 };
+00140         short int moderated;
+00141         
+00145         short int secret;
+00146         
+00150         short int c_private;
+00151         
+00154         BanList bans;
+00155 
+00158         chanrec()
+00159         {
+00160                 strcpy(name,"");
+00161                 strcpy(custom_modes,"");
+00162                 strcpy(topic,"");
+00163                 strcpy(setby,"");
+00164                 strcpy(key,"");
+00165                 created = topicset = limit = 0;
+00166                 topiclock = noexternal = inviteonly = moderated = secret = c_private = false;
+00167         }
+00168 
+00169         virtual ~chanrec() { /* stub */ }
+00170 };
+00171 
+00172 /* used to hold a channel and a users modes on that channel, e.g. +v, +h, +o
+00173  * needs to come AFTER struct chanrec */
+00174 
+00175 #define UCMODE_OP      1
+00176 #define UCMODE_VOICE   2
+00177 #define UCMODE_HOP     4
+00178 #define UCMODE_PROTECT 8
+00179 #define UCMODE_FOUNDER 16
+00180  
+00186 class ucrec : public classbase
+00187 {
+00188  public:
+00192         long uc_modes;
+00193         
+00197         chanrec *channel;
 00198 
-00199 #endif
-00200 
-

Generated on Sun Jan 26 23:45:47 2003 for InspIRCd by +00199 ucrec() { /* stub */ } +00200 virtual ~ucrec() { /* stub */ } +00201 }; +00202 +00203 #endif +00204 +
Generated on Mon Jan 27 00:16:40 2003 for InspIRCd by doxygen1.3-rc2
diff --git a/docs/module-doc/channels_8h.html b/docs/module-doc/channels_8h.html index ef679999e..a1b09325e 100644 --- a/docs/module-doc/channels_8h.html +++ b/docs/module-doc/channels_8h.html @@ -63,7 +63,7 @@

-Definition at line 175 of file channels.h. +Definition at line 179 of file channels.h.

@@ -87,7 +87,7 @@ Definition at line 175 o

-Definition at line 173 of file channels.h. +Definition at line 177 of file channels.h.

@@ -111,7 +111,7 @@ Definition at line 173 o

-Definition at line 171 of file channels.h. +Definition at line 175 of file channels.h.

@@ -135,7 +135,7 @@ Definition at line 171 o

-Definition at line 174 of file channels.h. +Definition at line 178 of file channels.h.

@@ -159,7 +159,7 @@ Definition at line 174 o

-Definition at line 172 of file channels.h. +Definition at line 176 of file channels.h.


Typedef Documentation

@@ -186,7 +186,7 @@ Holds a complete ban list.

-Definition at line 72 of file channels.h. +Definition at line 76 of file channels.h.

@@ -212,7 +212,7 @@ Holds a complete exempt list.

-Definition at line 76 of file channels.h. +Definition at line 80 of file channels.h.

@@ -238,10 +238,10 @@ Holds a complete invite list.

-Definition at line 80 of file channels.h. +Definition at line 84 of file channels.h. -


Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
diff --git a/docs/module-doc/classAdmin-members.html b/docs/module-doc/classAdmin-members.html index 1daa1b5b0..5557ecfcf 100644 --- a/docs/module-doc/classAdmin-members.html +++ b/docs/module-doc/classAdmin-members.html @@ -14,7 +14,7 @@ NameAdmin NickAdmin ~classbase()classbase [inline] -
Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
diff --git a/docs/module-doc/classAdmin.html b/docs/module-doc/classAdmin.html index 85dab0f85..04978e1bd 100644 --- a/docs/module-doc/classAdmin.html +++ b/docs/module-doc/classAdmin.html @@ -32,7 +32,7 @@ It is constructed by class Server, and

-Definition at line 74 of file modules.h.


Constructor & Destructor Documentation

+Definition at line 78 of file modules.h.

Constructor & Destructor Documentation

@@ -104,7 +104,7 @@ Definition at line 36 o

-Definition at line 77 of file modules.h. +Definition at line 81 of file modules.h.

@@ -128,7 +128,7 @@ Definition at line 77 of

-Definition at line 77 of file modules.h. +Definition at line 81 of file modules.h.

@@ -152,12 +152,12 @@ Definition at line 77 of

-Definition at line 77 of file modules.h. +Definition at line 81 of file modules.h.


The documentation for this class was generated from the following files: -
Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
diff --git a/docs/module-doc/classBanItem-members.html b/docs/module-doc/classBanItem-members.html index 5954da3ac..e3f6c9a7d 100644 --- a/docs/module-doc/classBanItem-members.html +++ b/docs/module-doc/classBanItem-members.html @@ -15,7 +15,7 @@ set_timeHostItem ~classbase()classbase [inline] ~HostItem()HostItem [inline, virtual] -
Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
diff --git a/docs/module-doc/classBanItem.html b/docs/module-doc/classBanItem.html index f0cabdbd2..c692b94fa 100644 --- a/docs/module-doc/classBanItem.html +++ b/docs/module-doc/classBanItem.html @@ -25,9 +25,9 @@ A subclass of HostItem designed to h

-Definition at line 49 of file channels.h.


The documentation for this class was generated from the following file:
    +Definition at line 53 of file channels.h.
    The documentation for this class was generated from the following file: -
    Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
    Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html index b3f6ced5e..39e195248 100644 --- a/docs/module-doc/classConfigReader-members.html +++ b/docs/module-doc/classConfigReader-members.html @@ -17,7 +17,7 @@ Verify()ConfigReader ~classbase()classbase [inline] ~ConfigReader()ConfigReader -
    Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
    Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html index 5e10ed3b5..62e98083d 100644 --- a/docs/module-doc/classConfigReader.html +++ b/docs/module-doc/classConfigReader.html @@ -42,7 +42,7 @@ It may either be instantiated with one parameter or none. Constructing the class

    -Definition at line 233 of file modules.h.


    Constructor & Destructor Documentation

    +Definition at line 237 of file modules.h.

    Constructor & Destructor Documentation

    @@ -74,7 +74,7 @@ This constructor initialises the ConfigReader class to read the inspircd.conf fi

    Definition at line 164 of file modules.cpp.

    -References fname. +References fname.

    00165 {
     00166         fname = CONFIG_FILE;
    @@ -187,7 +187,7 @@ This method counts the number of times a tag appears in a config file, for use w
     

    Definition at line 186 of file modules.cpp.

    -References fname. +References fname.

    00187 {
     00188         return EnumConf(fname.c_str(),tag.c_str());
    @@ -242,7 +242,7 @@ This method retrieves a value from the config file. Where multiple copies of the
     

    Definition at line 177 of file modules.cpp.

    -References fname. +References fname.

    00178 {
     00179         char val[MAXBUF];
    @@ -314,14 +314,14 @@ The filename of the configuration file, as set by the constructor.
     

    -Definition at line 238 of file modules.h. +Definition at line 242 of file modules.h.

    Referenced by ConfigReader(), Enumerate(), and ReadValue().


    The documentation for this class was generated from the following files: -
    Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
    Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html index 4528e3094..b16f2235a 100644 --- a/docs/module-doc/classConnectClass-members.html +++ b/docs/module-doc/classConnectClass-members.html @@ -7,10 +7,13 @@
    Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

    ConnectClass Member List

    This is the complete list of members for ConnectClass, including all inherited members. + + -
    ageclassbase
    classbase()classbase [inline]
    hostConnectClass
    passConnectClass
    typeConnectClass

    Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by + ~classbase()classbase [inline] +
    Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/classConnectClass.html b/docs/module-doc/classConnectClass.html index 0b37bf760..043b8ed6e 100644 --- a/docs/module-doc/classConnectClass.html +++ b/docs/module-doc/classConnectClass.html @@ -11,6 +11,11 @@

    #include <users.h>

    +

    Inheritance diagram for ConnectClass: +

    + +classbase + List of all members. @@ -23,7 +28,7 @@ Holds information relevent to <connect allow> and <connect deny> tag

    -Definition at line 60 of file users.h.


    Member Data Documentation

    +Definition at line 64 of file users.h.

    Member Data Documentation


    Public Attributes

    @@ -45,7 +50,7 @@ Definition at line 60 of fi

    -Definition at line 64 of file users.h. +Definition at line 68 of file users.h.

    @@ -69,7 +74,7 @@ Definition at line 64 of fi

    -Definition at line 65 of file users.h. +Definition at line 69 of file users.h.

    @@ -93,12 +98,12 @@ Definition at line 65 of fi

    -Definition at line 63 of file users.h. +Definition at line 67 of file users.h.


    The documentation for this class was generated from the following file: -
    Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
    Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html index e299a5639..c26bec630 100644 --- a/docs/module-doc/classExemptItem-members.html +++ b/docs/module-doc/classExemptItem-members.html @@ -15,7 +15,7 @@ set_timeHostItem ~classbase()classbase [inline] ~HostItem()HostItem [inline, virtual] -
    Generated on Sun Jan 26 23:45:49 2003 for InspIRCd by +
    Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/classExemptItem.html b/docs/module-doc/classExemptItem.html index 6e2185565..ed87ae131 100644 --- a/docs/module-doc/classExemptItem.html +++ b/docs/module-doc/classExemptItem.html @@ -25,9 +25,9 @@ A subclass of HostItem designed to h

    -Definition at line 57 of file channels.h.


    The documentation for this class was generated from the following file:
      +Definition at line 61 of file channels.h.
      The documentation for this class was generated from the following file: -
      Generated on Sun Jan 26 23:45:49 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classFileReader-members.html b/docs/module-doc/classFileReader-members.html index 29ab2db82..0ace5be80 100644 --- a/docs/module-doc/classFileReader-members.html +++ b/docs/module-doc/classFileReader-members.html @@ -17,7 +17,7 @@ LoadFile(string filename)FileReader ~classbase()classbase [inline] ~FileReader()FileReader -
      Generated on Sun Jan 26 23:45:49 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html index b947824a3..55df51280 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -41,7 +41,7 @@ This class contains methods for read-only manipulation of a text file in memory.

      -Definition at line 278 of file modules.h.


      Constructor & Destructor Documentation

      +Definition at line 282 of file modules.h.

      Constructor & Destructor Documentation

      @@ -110,7 +110,7 @@ This method initialises the class with a file loaded into it ready for GetLine a

      Definition at line 198 of file modules.cpp.

      -References fc, and file_cache. +References fc, and file_cache.

      00199 {
       00200         file_cache c;
      @@ -188,7 +188,7 @@ This method returns the number of lines in the read file. If it is 0, no lines h
       

      Definition at line 227 of file modules.cpp.

      -References fc. +References fc.

      00228 {
       00229         return fc.size();
      @@ -228,7 +228,7 @@ This method retrieves one line from the text file. If an empty non-NULL string i
       

      Definition at line 220 of file modules.cpp.

      -References fc. +References fc.

      00221 {
       00222         if ((x<0) || (x>fc.size()))
      @@ -270,7 +270,7 @@ This method loads a file into the class ready for GetLine and and other methods
       

      Definition at line 209 of file modules.cpp.

      -References fc, and file_cache. +References fc, and file_cache.

      00210 {
       00211         file_cache c;
      @@ -302,14 +302,14 @@ References fc, and 
       
       

      -Definition at line 280 of file modules.h. +Definition at line 284 of file modules.h.

      Referenced by FileReader(), FileSize(), GetLine(), and LoadFile().


      The documentation for this class was generated from the following files: -
      Generated on Sun Jan 26 23:45:49 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classHostItem-members.html b/docs/module-doc/classHostItem-members.html index 765558192..ae5009a63 100644 --- a/docs/module-doc/classHostItem-members.html +++ b/docs/module-doc/classHostItem-members.html @@ -15,7 +15,7 @@ set_timeHostItem ~classbase()classbase [inline] ~HostItem()HostItem [inline, virtual] -
      Generated on Sun Jan 26 23:45:49 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classHostItem.html b/docs/module-doc/classHostItem.html index 192877d28..596e8ec62 100644 --- a/docs/module-doc/classHostItem.html +++ b/docs/module-doc/classHostItem.html @@ -36,7 +36,7 @@ This class contains a single element in a channel list, such as a banlist.

      -Definition at line 33 of file channels.h.


      Constructor & Destructor Documentation

      +Definition at line 37 of file channels.h.

      Constructor & Destructor Documentation

      @@ -64,9 +64,9 @@ Definition at line 33 of

      -Definition at line 40 of file channels.h. +Definition at line 44 of file channels.h.

      -

      00040 { /* stub */ }
      +
      00044 { /* stub */ }
       
      @@ -97,9 +97,9 @@ Definition at line 40 of

      -Definition at line 41 of file channels.h. +Definition at line 45 of file channels.h.

      -

      00041 { /* stub */ }
      +
      00045 { /* stub */ }
       
      @@ -125,7 +125,7 @@ Definition at line 41 of

      -Definition at line 38 of file channels.h. +Definition at line 42 of file channels.h.

      @@ -149,7 +149,7 @@ Definition at line 38 of

      -Definition at line 37 of file channels.h. +Definition at line 41 of file channels.h.

      @@ -173,12 +173,12 @@ Definition at line 37 of

      -Definition at line 36 of file channels.h. +Definition at line 40 of file channels.h.


      The documentation for this class was generated from the following file: -
      Generated on Sun Jan 26 23:45:49 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html index 726c4dba5..ff5cb69c1 100644 --- a/docs/module-doc/classInviteItem-members.html +++ b/docs/module-doc/classInviteItem-members.html @@ -15,7 +15,7 @@ set_timeHostItem ~classbase()classbase [inline] ~HostItem()HostItem [inline, virtual] -
      Generated on Sun Jan 26 23:45:49 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classInviteItem.html b/docs/module-doc/classInviteItem.html index b2e4cba2a..842d0b345 100644 --- a/docs/module-doc/classInviteItem.html +++ b/docs/module-doc/classInviteItem.html @@ -25,9 +25,9 @@ A subclass of HostItem designed to h

      -Definition at line 65 of file channels.h.


      The documentation for this class was generated from the following file:
        +Definition at line 69 of file channels.h.
        The documentation for this class was generated from the following file: -
        Generated on Sun Jan 26 23:45:49 2003 for InspIRCd by +
        Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
        diff --git a/docs/module-doc/classInvited-members.html b/docs/module-doc/classInvited-members.html index d32697f37..4be848b76 100644 --- a/docs/module-doc/classInvited-members.html +++ b/docs/module-doc/classInvited-members.html @@ -7,8 +7,11 @@
        Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

        Invited Member List

        This is the complete list of members for Invited, including all inherited members. + -
        ageclassbase
        channelInvited

        Generated on Sun Jan 26 23:45:49 2003 for InspIRCd by + classbase()classbase [inline] + ~classbase()classbase [inline] +
        Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
        diff --git a/docs/module-doc/classInvited.html b/docs/module-doc/classInvited.html index 3021a0ec0..333639822 100644 --- a/docs/module-doc/classInvited.html +++ b/docs/module-doc/classInvited.html @@ -11,6 +11,11 @@

        #include <users.h>

        +

        Inheritance diagram for Invited: +

        + +classbase + List of all members. @@ -21,7 +26,7 @@ Holds a channel name to which a user has been invited.

        -Definition at line 51 of file users.h.


        Member Data Documentation

        +Definition at line 55 of file users.h.

        Member Data Documentation


        Public Attributes

        @@ -43,14 +48,14 @@ Definition at line 51 of fi

        -Definition at line 54 of file users.h. +Definition at line 58 of file users.h.

        Referenced by userrec::InviteTo().


        The documentation for this class was generated from the following file: -
        Generated on Sun Jan 26 23:45:49 2003 for InspIRCd by +
        Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
        diff --git a/docs/module-doc/classModule-members.html b/docs/module-doc/classModule-members.html index cdca891f2..57686ed7f 100644 --- a/docs/module-doc/classModule-members.html +++ b/docs/module-doc/classModule-members.html @@ -17,7 +17,7 @@ OnUserQuit(userrec *user)Module [virtual] ~classbase()classbase [inline] ~Module()Module [virtual] -
        Generated on Sun Jan 26 23:45:49 2003 for InspIRCd by +
        Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
        diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html index 64d44b3dd..598b3a800 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -41,7 +41,7 @@ All modules must inherit from this class, its methods will be called when irc se

        -Definition at line 86 of file modules.h.


        Constructor & Destructor Documentation

        +Definition at line 90 of file modules.h.

        Constructor & Destructor Documentation

        @@ -312,7 +312,7 @@ Definition at line 46 o


        The documentation for this class was generated from the following files: -
        Generated on Sun Jan 26 23:45:49 2003 for InspIRCd by +
        Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
        diff --git a/docs/module-doc/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html index 6ed9f0344..90eaff5e3 100644 --- a/docs/module-doc/classModuleFactory-members.html +++ b/docs/module-doc/classModuleFactory-members.html @@ -13,7 +13,7 @@ ModuleFactory()ModuleFactory [inline] ~classbase()classbase [inline] ~ModuleFactory()ModuleFactory [inline, virtual] -
        Generated on Sun Jan 26 23:45:49 2003 for InspIRCd by +
        Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
        diff --git a/docs/module-doc/classModuleFactory.html b/docs/module-doc/classModuleFactory.html index 03381353b..e641c934e 100644 --- a/docs/module-doc/classModuleFactory.html +++ b/docs/module-doc/classModuleFactory.html @@ -31,7 +31,7 @@ This is to allow for modules to create many different variants of

        -Definition at line 323 of file modules.h.


        Constructor & Destructor Documentation

        +Definition at line 327 of file modules.h.

        Constructor & Destructor Documentation

        @@ -59,9 +59,9 @@ Definition at line 323 of

        -Definition at line 326 of file modules.h. +Definition at line 330 of file modules.h.

        -

        00326 { }
        +
        00330 { }
         
        @@ -92,9 +92,9 @@ Definition at line 326 of

        -Definition at line 327 of file modules.h. +Definition at line 331 of file modules.h.

        -

        00327 { }
        +
        00331 { }
         
        @@ -131,7 +131,7 @@ Your inherited class of ModuleFactory must return a pointer to your modules.h
      -
      Generated on Sun Jan 26 23:45:49 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classServer-members.html b/docs/module-doc/classServer-members.html index 7a8d5ce75..0d25963c4 100644 --- a/docs/module-doc/classServer-members.html +++ b/docs/module-doc/classServer-members.html @@ -29,7 +29,7 @@ Server()Server ~classbase()classbase [inline] ~Server()Server [virtual] -
      Generated on Sun Jan 26 23:45:50 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:43 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html index 2666302d8..ada074789 100644 --- a/docs/module-doc/classServer.html +++ b/docs/module-doc/classServer.html @@ -65,7 +65,7 @@ All modules should instantiate at least one copy of this class, and use its memb

      -Definition at line 128 of file modules.h.


      Constructor & Destructor Documentation

      +Definition at line 132 of file modules.h.

      Constructor & Destructor Documentation

      @@ -910,7 +910,7 @@ Definition at line 122


      The documentation for this class was generated from the following files: -
      Generated on Sun Jan 26 23:45:49 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:43 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classVersion-members.html b/docs/module-doc/classVersion-members.html index e4a6f3c8e..472c1f989 100644 --- a/docs/module-doc/classVersion-members.html +++ b/docs/module-doc/classVersion-members.html @@ -15,7 +15,7 @@ RevisionVersion Version(int major, int minor, int revision, int build)Version ~classbase()classbase [inline] -
      Generated on Sun Jan 26 23:45:50 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:43 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html index d708524b5..eeb889739 100644 --- a/docs/module-doc/classVersion.html +++ b/docs/module-doc/classVersion.html @@ -33,7 +33,7 @@ A class of type Version is returned by the GetVersion method of the 61 of file modules.h.

      Constructor & Destructor Documentation

      +Definition at line 65 of file modules.h.

      Constructor & Destructor Documentation

      @@ -111,7 +111,7 @@ Definition at line 32 o

      -Definition at line 64 of file modules.h. +Definition at line 68 of file modules.h.

      @@ -135,7 +135,7 @@ Definition at line 64 of

      -Definition at line 64 of file modules.h. +Definition at line 68 of file modules.h.

      @@ -159,7 +159,7 @@ Definition at line 64 of

      -Definition at line 64 of file modules.h. +Definition at line 68 of file modules.h.

      @@ -183,12 +183,12 @@ Definition at line 64 of

      -Definition at line 64 of file modules.h. +Definition at line 68 of file modules.h.


      The documentation for this class was generated from the following files: -
      Generated on Sun Jan 26 23:45:50 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:43 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html index d4f51cf10..4401023ea 100644 --- a/docs/module-doc/classchanrec-members.html +++ b/docs/module-doc/classchanrec-members.html @@ -27,7 +27,7 @@ topicsetchanrec ~chanrec()chanrec [inline, virtual] ~classbase()classbase [inline] -
      Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classchanrec.html b/docs/module-doc/classchanrec.html index 0fe1d45bc..c3ce4bd0b 100644 --- a/docs/module-doc/classchanrec.html +++ b/docs/module-doc/classchanrec.html @@ -61,7 +61,7 @@ This class represents a channel, and contains its name, modes, time created, top

      -Definition at line 86 of file channels.h.


      Constructor & Destructor Documentation

      +Definition at line 90 of file channels.h.

      Constructor & Destructor Documentation

      @@ -91,17 +91,17 @@ Creates a channel record and initialises it with default values.

      -Definition at line 154 of file channels.h. -

      -

      00155         {
      -00156                 strcpy(name,"");
      -00157                 strcpy(custom_modes,"");
      -00158                 strcpy(topic,"");
      -00159                 strcpy(setby,"");
      -00160                 strcpy(key,"");
      -00161                 created = topicset = limit = 0;
      -00162                 topiclock = noexternal = inviteonly = moderated = secret = c_private = false;
      -00163         }
      +Definition at line 158 of file channels.h.
      +

      +

      00159         {
      +00160                 strcpy(name,"");
      +00161                 strcpy(custom_modes,"");
      +00162                 strcpy(topic,"");
      +00163                 strcpy(setby,"");
      +00164                 strcpy(key,"");
      +00165                 created = topicset = limit = 0;
      +00166                 topiclock = noexternal = inviteonly = moderated = secret = c_private = false;
      +00167         }
       
      @@ -132,9 +132,9 @@ Definition at line 154 o

      -Definition at line 165 of file channels.h. +Definition at line 169 of file channels.h.

      -

      00165 { /* stub */ }
      +
      00169 { /* stub */ }
       
      @@ -162,7 +162,7 @@ The list of all bans set on the channel.

      -Definition at line 150 of file channels.h. +Definition at line 154 of file channels.h.

      @@ -188,7 +188,7 @@ Nonzero if the mode +p is set.

      This value cannot be set at the same time as chanrec::secret

      -Definition at line 146 of file channels.h. +Definition at line 150 of file channels.h.

      @@ -214,7 +214,7 @@ Creation time.

      -Definition at line 102 of file channels.h. +Definition at line 106 of file channels.h.

      @@ -240,7 +240,7 @@ Custom modes for the channel.

      Plugins may use this field in any way they see fit.

      -Definition at line 95 of file channels.h. +Definition at line 99 of file channels.h.

      @@ -266,7 +266,7 @@ Nonzero if the mode +i is set.

      -Definition at line 132 of file channels.h. +Definition at line 136 of file channels.h.

      @@ -292,7 +292,7 @@ Contains the channel key.

      If this value is an empty string, there is no channel key in place.

      -Definition at line 120 of file channels.h. +Definition at line 124 of file channels.h.

      @@ -318,7 +318,7 @@ Contains the channel user limit.

      If this value is zero, there is no limit in place.

      -Definition at line 115 of file channels.h. +Definition at line 119 of file channels.h.

      @@ -344,7 +344,7 @@ Nonzero if the mode +m is set.

      -Definition at line 136 of file channels.h. +Definition at line 140 of file channels.h.

      @@ -370,7 +370,7 @@ The channels name.

      -Definition at line 91 of file channels.h. +Definition at line 95 of file channels.h.

      @@ -396,7 +396,7 @@ Nonzero if the mode +n is set.

      -Definition at line 128 of file channels.h. +Definition at line 132 of file channels.h.

      @@ -422,7 +422,7 @@ Nonzero if the mode +s is set.

      This value cannot be set at the same time as chanrec::c_private

      -Definition at line 141 of file channels.h. +Definition at line 145 of file channels.h.

      @@ -448,7 +448,7 @@ The last user to set the topic.

      If this member is an empty string, no topic was ever set.

      -Definition at line 110 of file channels.h. +Definition at line 114 of file channels.h.

      @@ -474,7 +474,7 @@ Channel topic.

      If this is an empty string, no channel topic is set.

      -Definition at line 99 of file channels.h. +Definition at line 103 of file channels.h.

      @@ -500,7 +500,7 @@ Nonzero if the mode +t is set.

      -Definition at line 124 of file channels.h. +Definition at line 128 of file channels.h.

      @@ -526,12 +526,12 @@ Time topic was set.

      If no topic was ever set, this will be equal to chanrec::created

      -Definition at line 106 of file channels.h. +Definition at line 110 of file channels.h.


      The documentation for this class was generated from the following file: -
      Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classclassbase-members.html b/docs/module-doc/classclassbase-members.html index 504ba556c..43238e493 100644 --- a/docs/module-doc/classclassbase-members.html +++ b/docs/module-doc/classclassbase-members.html @@ -10,7 +10,7 @@ ageclassbase classbase()classbase [inline] ~classbase()classbase [inline] -
      Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classclassbase.html b/docs/module-doc/classclassbase.html index 9aa669de8..803393228 100644 --- a/docs/module-doc/classclassbase.html +++ b/docs/module-doc/classclassbase.html @@ -15,14 +15,16 @@ chanrec command_t ConfigReader -connection -FileReader -HostItem -Module -ModuleFactory -Server -ucrec -Version +ConnectClass +connection +FileReader +HostItem +Invited +Module +ModuleFactory +Server +ucrec +Version List of all members. @@ -60,9 +62,9 @@

      -Definition at line 18 of file base.h. +Definition at line 22 of file base.h.

      -

      00018 { age = time(NULL); }
      +
      00022 { age = time(NULL); }
       
      @@ -93,9 +95,9 @@ Definition at line 18 of fil

      -Definition at line 19 of file base.h. +Definition at line 23 of file base.h.

      -

      00019 { }
      +
      00023 { }
       
      @@ -121,12 +123,12 @@ Definition at line 19 of fil

      -Definition at line 16 of file base.h. +Definition at line 20 of file base.h.


      The documentation for this class was generated from the following file: -
      Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classclassbase.png b/docs/module-doc/classclassbase.png index 34864a6e2..797d18431 100644 Binary files a/docs/module-doc/classclassbase.png and b/docs/module-doc/classclassbase.png differ diff --git a/docs/module-doc/classcommand__t-members.html b/docs/module-doc/classcommand__t-members.html index 49d874f21..bcc5a9844 100644 --- a/docs/module-doc/classcommand__t-members.html +++ b/docs/module-doc/classcommand__t-members.html @@ -16,7 +16,7 @@ total_bytescommand_t use_countcommand_t ~classbase()classbase [inline] -
      Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classcommand__t.html b/docs/module-doc/classcommand__t.html index 92801fbef..5b936e062 100644 --- a/docs/module-doc/classcommand__t.html +++ b/docs/module-doc/classcommand__t.html @@ -45,7 +45,7 @@

      -Definition at line 47 of file ctables.h. +Definition at line 51 of file ctables.h.

      @@ -69,7 +69,7 @@ Definition at line 47 of

      -Definition at line 49 of file ctables.h. +Definition at line 53 of file ctables.h.

      @@ -93,7 +93,7 @@ Definition at line 49 of

      -Definition at line 48 of file ctables.h. +Definition at line 52 of file ctables.h.

      @@ -117,7 +117,7 @@ Definition at line 48 of

      -Definition at line 50 of file ctables.h. +Definition at line 54 of file ctables.h.

      @@ -141,7 +141,7 @@ Definition at line 50 of

      -Definition at line 52 of file ctables.h. +Definition at line 56 of file ctables.h.

      @@ -165,12 +165,12 @@ Definition at line 52 of

      -Definition at line 51 of file ctables.h. +Definition at line 55 of file ctables.h.


      The documentation for this class was generated from the following file: -
      Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classconnection-members.html b/docs/module-doc/classconnection-members.html index 8f7d453b5..912ebea49 100644 --- a/docs/module-doc/classconnection-members.html +++ b/docs/module-doc/classconnection-members.html @@ -25,7 +25,7 @@ registeredconnection signonconnection ~classbase()classbase [inline] -
      Generated on Sun Jan 26 23:45:49 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classconnection.html b/docs/module-doc/classconnection.html index 6c9a06e2d..b035bca9c 100644 --- a/docs/module-doc/classconnection.html +++ b/docs/module-doc/classconnection.html @@ -56,7 +56,7 @@

      -Definition at line 25 of file connection.h. +Definition at line 29 of file connection.h.

      Referenced by userrec::userrec(). @@ -82,7 +82,7 @@ Referenced by userrec::userre

      -Definition at line 26 of file connection.h. +Definition at line 30 of file connection.h.

      Referenced by userrec::userrec(). @@ -108,7 +108,7 @@ Referenced by userrec::userre

      -Definition at line 27 of file connection.h. +Definition at line 31 of file connection.h.

      Referenced by userrec::userrec(). @@ -134,7 +134,7 @@ Referenced by userrec::userre

      -Definition at line 28 of file connection.h. +Definition at line 32 of file connection.h.

      Referenced by userrec::userrec(). @@ -160,9 +160,9 @@ Referenced by userrec::userre

      -Definition at line 21 of file connection.h. +Definition at line 25 of file connection.h.

      -Referenced by serverrec::serverrec(), and userrec::userrec(). +Referenced by serverrec::serverrec(), and userrec::userrec().

      @@ -186,7 +186,7 @@ Referenced by serverrec::se

      -Definition at line 29 of file connection.h. +Definition at line 33 of file connection.h.

      Referenced by userrec::userrec(). @@ -212,7 +212,7 @@ Referenced by userrec::userre

      -Definition at line 22 of file connection.h. +Definition at line 26 of file connection.h.

      @@ -236,7 +236,7 @@ Definition at line 22

      -Definition at line 34 of file connection.h. +Definition at line 38 of file connection.h.

      Referenced by userrec::userrec(). @@ -262,7 +262,7 @@ Referenced by userrec::userre

      -Definition at line 24 of file connection.h. +Definition at line 28 of file connection.h.

      @@ -286,7 +286,7 @@ Definition at line 24

      -Definition at line 23 of file connection.h. +Definition at line 27 of file connection.h.

      Referenced by userrec::userrec(). @@ -314,7 +314,7 @@ Referenced by userrec::userre

      Reimplemented in serverrec.

      -Definition at line 32 of file connection.h. +Definition at line 36 of file connection.h.

      Referenced by userrec::userrec(). @@ -340,7 +340,7 @@ Referenced by userrec::userre

      -Definition at line 35 of file connection.h. +Definition at line 39 of file connection.h.

      Referenced by userrec::userrec(). @@ -366,7 +366,7 @@ Referenced by userrec::userre

      -Definition at line 30 of file connection.h. +Definition at line 34 of file connection.h.

      Referenced by userrec::userrec(). @@ -392,7 +392,7 @@ Referenced by userrec::userre

      -Definition at line 31 of file connection.h. +Definition at line 35 of file connection.h.

      Referenced by userrec::userrec(). @@ -418,14 +418,14 @@ Referenced by userrec::userre

      -Definition at line 33 of file connection.h. +Definition at line 37 of file connection.h.

      Referenced by userrec::userrec().


      The documentation for this class was generated from the following file: -
      Generated on Sun Jan 26 23:45:49 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:42 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classes.html b/docs/module-doc/classes.html index 57d4f5c29..5676eb4f4 100644 --- a/docs/module-doc/classes.html +++ b/docs/module-doc/classes.html @@ -18,7 +18,7 @@
        I  
        S  
        V  
      -chanrec   ExemptItem   Invited   Server   Version   classbase   
      Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +chanrec   ExemptItem   Invited   Server   Version   classbase   
      Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classserverrec-members.html b/docs/module-doc/classserverrec-members.html index 28738c867..482ea993b 100644 --- a/docs/module-doc/classserverrec-members.html +++ b/docs/module-doc/classserverrec-members.html @@ -41,7 +41,7 @@ versionserverrec ~classbase()classbase [inline] ~serverrec()serverrec -
      Generated on Sun Jan 26 23:45:50 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:43 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classserverrec.html b/docs/module-doc/classserverrec.html index ca596f9eb..cc82ee3f2 100644 --- a/docs/module-doc/classserverrec.html +++ b/docs/module-doc/classserverrec.html @@ -65,22 +65,22 @@

      -Definition at line 16 of file servers.cpp. -

      -References connected_at, connection::fd, hops_away, jupiter, lastping, leaf, LINK_ACTIVE, linktype, opercount, pingtime, usercount, usercount_i, and version. -

      -

      00017 {
      -00018         leaf.clear();
      -00019         strcpy(name,"");
      -00020         pingtime = 0;
      -00021         linktype = LINK_ACTIVE;
      -00022         lastping = time(NULL);
      -00023         usercount_i = usercount = opercount = version = 0;
      -00024         hops_away = 1;
      -00025         connected_at = time(NULL);
      -00026         jupiter = false;
      -00027         fd = 0;
      -00028 }
      +Definition at line 20 of file servers.cpp.
      +

      +References connected_at, connection::fd, hops_away, jupiter, lastping, leaf, LINK_ACTIVE, linktype, opercount, pingtime, usercount, usercount_i, and version. +

      +

      00021 {
      +00022         leaf.clear();
      +00023         strcpy(name,"");
      +00024         pingtime = 0;
      +00025         linktype = LINK_ACTIVE;
      +00026         lastping = time(NULL);
      +00027         usercount_i = usercount = opercount = version = 0;
      +00028         hops_away = 1;
      +00029         connected_at = time(NULL);
      +00030         jupiter = false;
      +00031         fd = 0;
      +00032 }
       
      @@ -133,22 +133,22 @@ References connected_at,

      -Definition at line 35 of file servers.cpp. +Definition at line 39 of file servers.cpp.

      -References connected_at, connection::fd, hops_away, jupiter, lastping, leaf, linktype, opercount, usercount, usercount_i, and version. +References connected_at, connection::fd, hops_away, jupiter, lastping, leaf, linktype, opercount, usercount, usercount_i, and version.

      -

      00036 {
      -00037         leaf.clear();
      -00038         strcpy(name,n);
      -00039         linktype = link_t;
      -00040         lastping = time(NULL);
      -00041         usercount_i = usercount = opercount = 0;
      -00042         version = ver;
      -00043         hops_away = 1;
      -00044         connected_at = time(NULL);
      -00045         jupiter = jupe;
      -00046         fd = 0;
      -00047 }
      +
      00040 {
      +00041         leaf.clear();
      +00042         strcpy(name,n);
      +00043         linktype = link_t;
      +00044         lastping = time(NULL);
      +00045         usercount_i = usercount = opercount = 0;
      +00046         version = ver;
      +00047         hops_away = 1;
      +00048         connected_at = time(NULL);
      +00049         jupiter = jupe;
      +00050         fd = 0;
      +00051 }
       
      @@ -179,10 +179,10 @@ References connected_at,

      -Definition at line 31 of file servers.cpp. +Definition at line 35 of file servers.cpp.

      -

      00032 {
      -00033 }
      +
      00036 {
      +00037 }
       
      @@ -215,13 +215,13 @@ Definition at line 31 o

      -Definition at line 49 of file servers.cpp. +Definition at line 53 of file servers.cpp.

      -References leaf, and name. +References leaf, and name.

      -

      00050 {
      -00051         leaf[child->name] = child;
      -00052 }
      +
      00054 {
      +00055         leaf[child->name] = child;
      +00056 }
       
      @@ -253,16 +253,16 @@ References leaf, and

      -Definition at line 54 of file servers.cpp. +Definition at line 58 of file servers.cpp.

      -References leaf. +References leaf.

      -

      00055 {
      -00056         server_list::iterator i = leaf.find(n);
      -00057 
      -00058         if (i != leaf.end())
      -00059                 leaf.erase(i);
      -00060 }
      +
      00059 {
      +00060         server_list::iterator i = leaf.find(n);
      +00061 
      +00062         if (i != leaf.end())
      +00063                 leaf.erase(i);
      +00064 }
       
      @@ -288,9 +288,9 @@ References leaf.

      -Definition at line 33 of file servers.h. +Definition at line 37 of file servers.h.

      -Referenced by serverrec(). +Referenced by serverrec().

      @@ -314,9 +314,9 @@ Referenced by serverrec()

      -Definition at line 34 of file servers.h. +Definition at line 38 of file servers.h.

      -Referenced by serverrec(). +Referenced by serverrec().

      @@ -340,9 +340,9 @@ Referenced by serverrec()

      -Definition at line 36 of file servers.h. +Definition at line 40 of file servers.h.

      -Referenced by serverrec(). +Referenced by serverrec().

      @@ -368,9 +368,9 @@ Referenced by serverrec() Reimplemented from connection.

      -Definition at line 29 of file servers.h. +Definition at line 33 of file servers.h.

      -Referenced by serverrec(). +Referenced by serverrec().

      @@ -394,9 +394,9 @@ Referenced by serverrec()

      -Definition at line 24 of file servers.h. +Definition at line 28 of file servers.h.

      -Referenced by AddLeaf(), DelLeaf(), and serverrec(). +Referenced by AddLeaf(), DelLeaf(), and serverrec().

      @@ -420,9 +420,9 @@ Referenced by AddLeaf()

      -Definition at line 28 of file servers.h. +Definition at line 32 of file servers.h.

      -Referenced by serverrec(). +Referenced by serverrec().

      @@ -446,9 +446,9 @@ Referenced by serverrec()

      -Definition at line 26 of file servers.h. +Definition at line 30 of file servers.h.

      -Referenced by AddLeaf(). +Referenced by AddLeaf().

      @@ -472,9 +472,9 @@ Referenced by AddLeaf()

      -Definition at line 32 of file servers.h. +Definition at line 36 of file servers.h.

      -Referenced by serverrec(). +Referenced by serverrec().

      @@ -498,9 +498,9 @@ Referenced by serverrec()

      -Definition at line 27 of file servers.h. +Definition at line 31 of file servers.h.

      -Referenced by serverrec(). +Referenced by serverrec().

      @@ -524,9 +524,9 @@ Referenced by serverrec()

      -Definition at line 31 of file servers.h. +Definition at line 35 of file servers.h.

      -Referenced by serverrec(). +Referenced by serverrec().

      @@ -550,9 +550,9 @@ Referenced by serverrec()

      -Definition at line 30 of file servers.h. +Definition at line 34 of file servers.h.

      -Referenced by serverrec(). +Referenced by serverrec().

      @@ -576,14 +576,14 @@ Referenced by serverrec()

      -Definition at line 35 of file servers.h. +Definition at line 39 of file servers.h.

      -Referenced by serverrec(). +Referenced by serverrec().


      The documentation for this class was generated from the following files: -
      Generated on Sun Jan 26 23:45:50 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:43 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classucrec-members.html b/docs/module-doc/classucrec-members.html index 504d50f4e..efec6b523 100644 --- a/docs/module-doc/classucrec-members.html +++ b/docs/module-doc/classucrec-members.html @@ -14,7 +14,7 @@ ucrec()ucrec [inline] ~classbase()classbase [inline] ~ucrec()ucrec [inline, virtual] -
      Generated on Sun Jan 26 23:45:50 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:43 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classucrec.html b/docs/module-doc/classucrec.html index c601649fa..a4f34003c 100644 --- a/docs/module-doc/classucrec.html +++ b/docs/module-doc/classucrec.html @@ -34,7 +34,7 @@ The uc_modes member holds a bitmask of which privilages the user has on the chan

      -Definition at line 182 of file channels.h.


      Constructor & Destructor Documentation

      +Definition at line 186 of file channels.h.

      Constructor & Destructor Documentation

      @@ -62,9 +62,9 @@ Definition at line 182 o

      -Definition at line 195 of file channels.h. +Definition at line 199 of file channels.h.

      -

      00195 { /* stub */ }
      +
      00199 { /* stub */ }
       
      @@ -95,9 +95,9 @@ Definition at line 195 o

      -Definition at line 196 of file channels.h. +Definition at line 200 of file channels.h.

      -

      00196 { /* stub */ }
      +
      00200 { /* stub */ }
       
      @@ -125,7 +125,7 @@ Points to the channel record where the given modes apply.

      If the record is not in use, this value will be NULL.

      -Definition at line 193 of file channels.h. +Definition at line 197 of file channels.h.

      Referenced by userrec::userrec(). @@ -153,12 +153,12 @@ Contains a bitmask of the UCMODE_OP ...

      UCMODE_FOUNDER values. If this value is zero, the user has no privilages upon the channel.

      -Definition at line 188 of file channels.h. +Definition at line 192 of file channels.h.


      The documentation for this class was generated from the following file: -
      Generated on Sun Jan 26 23:45:50 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:43 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classuserrec-members.html b/docs/module-doc/classuserrec-members.html index 779e069c4..553bf364c 100644 --- a/docs/module-doc/classuserrec-members.html +++ b/docs/module-doc/classuserrec-members.html @@ -42,7 +42,7 @@ userrec()userrec ~classbase()classbase [inline] ~userrec()userrec [inline, virtual] -
      Generated on Sun Jan 26 23:45:50 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:43 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html index 07d5cf5ed..3ca14b4af 100644 --- a/docs/module-doc/classuserrec.html +++ b/docs/module-doc/classuserrec.html @@ -61,7 +61,7 @@ Everything about a connection is stored here primarily, from the user's socket I

      -Definition at line 84 of file users.h.


      Constructor & Destructor Documentation

      +Definition at line 88 of file users.h.

      Constructor & Destructor Documentation

      @@ -91,7 +91,7 @@ Definition at line 84 of fi

      Definition at line 26 of file users.cpp.

      -References connection::bytes_in, connection::bytes_out, ucrec::channel, chans, connection::cmds_in, connection::cmds_out, connection::fd, connection::haspassed, connection::idle_lastmsg, invites, connection::ip, connection::lastping, connection::nping, connection::port, connection::registered, and connection::signon. +References connection::bytes_in, connection::bytes_out, ucrec::channel, chans, connection::cmds_in, connection::cmds_out, connection::fd, connection::haspassed, connection::idle_lastmsg, invites, connection::ip, connection::lastping, connection::nping, connection::port, connection::registered, and connection::signon.

      00027 {
       00028         // the PROPER way to do it, AVOID bzero at *ALL* costs
      @@ -145,9 +145,9 @@ References connection::byt
       

      -Definition at line 136 of file users.h. +Definition at line 140 of file users.h.

      -

      00136 {  }
      +
      00140 {  }
       
      @@ -183,7 +183,7 @@ Returns the full displayed host of the user This member function returns the hos

      Definition at line 51 of file users.cpp.

      -References result. +References result.

      00052 {
       00053         sprintf(result,"%s!%s@%s",nick,ident,dhost);
      @@ -223,7 +223,7 @@ If any form of hostname cloaking is in operation, e.g. through a module, then th
       

      Definition at line 58 of file users.cpp.

      -References result. +References result.

      00059 {
       00060         sprintf(result,"%s!%s@%s",nick,ident,host);
      @@ -264,7 +264,7 @@ Adds a channel to a users invite list (invites them to a channel).
       

      Definition at line 75 of file users.cpp.

      -References Invited::channel, and invites. +References Invited::channel, and invites.

      00076 {
       00077         Invited i;
      @@ -306,7 +306,7 @@ Returns true if a user is invited to a channel.
       

      Definition at line 64 of file users.cpp.

      -References invites. +References invites.

      00065 {
       00066         for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
      @@ -352,7 +352,7 @@ This member function is called on successfully joining an invite only channel to
       

      Definition at line 82 of file users.cpp.

      -References invites. +References invites.

      00083 {
       00084         for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
      @@ -391,7 +391,7 @@ The user's away message.
       

      If this string is empty, the user is not marked as away.

      -Definition at line 127 of file users.h. +Definition at line 131 of file users.h.

      @@ -415,7 +415,7 @@ Definition at line 127 of f

      -Definition at line 118 of file users.h. +Definition at line 122 of file users.h.

      Referenced by userrec(). @@ -443,7 +443,7 @@ The host displayed to non-opers (used for cloaking etc).

      This usually matches the value of userrec::host.

      -Definition at line 106 of file users.h. +Definition at line 110 of file users.h.

      @@ -469,7 +469,7 @@ The users full name.

      -Definition at line 110 of file users.h. +Definition at line 114 of file users.h.

      @@ -495,7 +495,7 @@ The users ident reply.

      -Definition at line 101 of file users.h. +Definition at line 105 of file users.h.

      @@ -521,7 +521,7 @@ A list of channels the user has a pending invite to.

      -Definition at line 90 of file users.h. +Definition at line 94 of file users.h.

      Referenced by InviteTo(), IsInvited(), RemoveInvite(), and userrec(). @@ -549,7 +549,7 @@ The user's mode string.

      This may contain any of the following RFC characters: o, w, s, i Your module may define other mode characters as it sees fit.

      -Definition at line 116 of file users.h. +Definition at line 120 of file users.h.

      @@ -575,7 +575,7 @@ The users nickname.

      An invalid nickname indicates an unregistered connection prior to the NICK command.

      -Definition at line 97 of file users.h. +Definition at line 101 of file users.h.

      @@ -601,7 +601,7 @@ Stores the result of the last GetFullHost or GetRealHost call.

      You may use this to increase the speed of use of this class.

      -Definition at line 132 of file users.h. +Definition at line 136 of file users.h.

      Referenced by GetFullHost(), and GetFullRealHost(). @@ -629,12 +629,12 @@ The server the user is connected to.

      -Definition at line 122 of file users.h. +Definition at line 126 of file users.h.


      The documentation for this class was generated from the following files: -
      Generated on Sun Jan 26 23:45:50 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:43 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/connection_8h-source.html b/docs/module-doc/connection_8h-source.html index 9eb394055..a71a50196 100644 --- a/docs/module-doc/connection_8h-source.html +++ b/docs/module-doc/connection_8h-source.html @@ -9,47 +9,51 @@

      connection.h

      Go to the documentation of this file.
      00001 /*
       00002 
       00003 $Log$
      -00003 Revision 1.1  2003/01/26 23:52:48  brain
      -00003 Modified documentation for base classes
      +00003 Revision 1.2  2003/01/27 00:22:39  brain
      +00003 Modified documentation
       00003 
      -00004 Revision 1.1  2003/01/26 20:15:00  brain
      -00005 Added server classes for linking
      -00006 
      +00004 Revision 1.1  2003/01/26 23:52:59  brain
      +00005 Modified documentation for base classes
      +00006 Added base classes
       00007 
      -00008 */
      -00009 
      -00010 #include "inspircd_config.h" 
      -00011 #include "base.h"
      -00012 #include <string>
      -00013 #include <map.h>
      -00014  
      -00015 #ifndef __CONNECTION_H__ 
      -00016 #define __CONNECTION_H__ 
      -00017  
      -00018 class connection : public classbase
      -00019 {
      -00020  public:
      -00021         int fd;                 // file descriptor
      -00022         char host[256];         // hostname
      -00023         long ip;                // ipv4 address
      -00024         char inbuf[MAXBUF];     // recvQ
      -00025         long bytes_in;
      -00026         long bytes_out;
      -00027         long cmds_in;
      -00028         long cmds_out;
      -00029         bool haspassed;
      -00030         int port;
      -00031         int registered;
      -00032         time_t lastping;
      -00033         time_t signon;
      -00034         time_t idle_lastmsg;
      -00035         time_t nping;
      -00036 };
      -00037 
      -00038 
      -00039 #endif
      -00040 
      -

      Generated on Sun Jan 26 23:45:47 2003 for InspIRCd by +00008 Revision 1.1 2003/01/26 20:15:00 brain +00009 Added server classes for linking +00010 +00011 +00012 */ +00013 +00014 #include "inspircd_config.h" +00015 #include "base.h" +00016 #include <string> +00017 #include <map.h> +00018 +00019 #ifndef __CONNECTION_H__ +00020 #define __CONNECTION_H__ +00021 +00022 class connection : public classbase +00023 { +00024 public: +00025 int fd; // file descriptor +00026 char host[256]; // hostname +00027 long ip; // ipv4 address +00028 char inbuf[MAXBUF]; // recvQ +00029 long bytes_in; +00030 long bytes_out; +00031 long cmds_in; +00032 long cmds_out; +00033 bool haspassed; +00034 int port; +00035 int registered; +00036 time_t lastping; +00037 time_t signon; +00038 time_t idle_lastmsg; +00039 time_t nping; +00040 }; +00041 +00042 +00043 #endif +00044 +

      Generated on Mon Jan 27 00:16:40 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/connection_8h.html b/docs/module-doc/connection_8h.html index a8037c127..6656da147 100644 --- a/docs/module-doc/connection_8h.html +++ b/docs/module-doc/connection_8h.html @@ -17,7 +17,7 @@

      Compounds

      class  connection -
      Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html index 78126d420..9dcd266ed 100644 --- a/docs/module-doc/ctables_8h-source.html +++ b/docs/module-doc/ctables_8h-source.html @@ -22,50 +22,54 @@ 00014 * --------------------------------------------------- 00015 00016 $Log$ -00016 Revision 1.1 2003/01/26 23:52:48 brain -00016 Modified documentation for base classes +00016 Revision 1.2 2003/01/27 00:22:39 brain +00016 Modified documentation 00016 -00017 Revision 1.1.1.1 2003/01/23 19:45:58 brain -00018 InspIRCd second source tree -00019 -00020 Revision 1.3 2003/01/15 22:47:44 brain -00021 Changed user and channel structs to classes (finally) -00022 -00023 Revision 1.2 2003/01/09 21:09:50 brain -00024 added '/stats M' command -00025 -00026 Revision 1.1 2003/01/07 01:02:14 brain -00027 -00028 definitions for command table types +00017 Revision 1.2 2003/01/26 23:52:59 brain +00018 Modified documentation for base classes +00019 Added base classes +00020 +00021 Revision 1.1.1.1 2003/01/23 19:45:58 brain +00022 InspIRCd second source tree +00023 +00024 Revision 1.3 2003/01/15 22:47:44 brain +00025 Changed user and channel structs to classes (finally) +00026 +00027 Revision 1.2 2003/01/09 21:09:50 brain +00028 added '/stats M' command 00029 -00030 -00031 * --------------------------------------------------- -00032 */ -00033 #include "inspircd_config.h" -00034 #include "inspircd.h" -00035 #include "base.h" -00036 -00037 #ifndef __CTABLES_H__ -00038 #define __CTABLES_H__ -00039 -00040 typedef void (handlerfunc) (char**, int, userrec*); -00041 -00042 /* a structure that defines a command */ -00043 -00044 class command_t : public classbase -00045 { -00046 public: -00047 char command[MAXBUF]; /* command name */ -00048 handlerfunc *handler_function; /* handler function as in typedef */ -00049 char flags_needed; /* user flags needed to execute the command or 0 */ -00050 int min_params; /* minimum number of parameters command takes */ -00051 long use_count; /* used by /stats m */ -00052 long total_bytes; /* used by /stats m */ -00053 }; -00054 -00055 #endif -00056 -

      Generated on Sun Jan 26 23:45:47 2003 for InspIRCd by +00030 Revision 1.1 2003/01/07 01:02:14 brain +00031 +00032 definitions for command table types +00033 +00034 +00035 * --------------------------------------------------- +00036 */ +00037 #include "inspircd_config.h" +00038 #include "inspircd.h" +00039 #include "base.h" +00040 +00041 #ifndef __CTABLES_H__ +00042 #define __CTABLES_H__ +00043 +00044 typedef void (handlerfunc) (char**, int, userrec*); +00045 +00046 /* a structure that defines a command */ +00047 +00048 class command_t : public classbase +00049 { +00050 public: +00051 char command[MAXBUF]; /* command name */ +00052 handlerfunc *handler_function; /* handler function as in typedef */ +00053 char flags_needed; /* user flags needed to execute the command or 0 */ +00054 int min_params; /* minimum number of parameters command takes */ +00055 long use_count; /* used by /stats m */ +00056 long total_bytes; /* used by /stats m */ +00057 }; +00058 +00059 #endif +00060 +

      Generated on Mon Jan 27 00:16:40 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/ctables_8h.html b/docs/module-doc/ctables_8h.html index de3b54e0f..bac5af9ed 100644 --- a/docs/module-doc/ctables_8h.html +++ b/docs/module-doc/ctables_8h.html @@ -40,10 +40,10 @@

      -Definition at line 40 of file ctables.h. +Definition at line 44 of file ctables.h. -


      Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/files.html b/docs/module-doc/files.html index a790486b3..e8d2b5291 100644 --- a/docs/module-doc/files.html +++ b/docs/module-doc/files.html @@ -18,7 +18,7 @@ users.cpp [code] users.h [code] -
      Generated on Sun Jan 26 23:45:47 2003 for InspIRCd by +
      Generated on Mon Jan 27 00:16:40 2003 for InspIRCd by doxygen1.3-rc2
      diff --git a/docs/module-doc/functions.html b/docs/module-doc/functions.html index c49e8dda7..359eba9ba 100644 --- a/docs/module-doc/functions.html +++ b/docs/module-doc/functions.html @@ -209,7 +209,7 @@ Here is a list of all class members with links to the classes they belong to:

      serverrec
    • ~ucrec() : ucrec
    • ~userrec() : userrec
    -
    Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
    Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/globals.html b/docs/module-doc/globals.html index b317ae1ad..d715f39d6 100644 --- a/docs/module-doc/globals.html +++ b/docs/module-doc/globals.html @@ -59,7 +59,7 @@ Here is a list of all file members with links to the files they belong to:

    channels.h
  • UCMODE_PROTECT : channels.h
  • UCMODE_VOICE : channels.h
-
Generated on Sun Jan 26 23:45:50 2003 for InspIRCd by +
Generated on Mon Jan 27 00:16:43 2003 for InspIRCd by doxygen1.3-rc2
diff --git a/docs/module-doc/hierarchy.html b/docs/module-doc/hierarchy.html index 8330bcb63..fb4fd75e2 100644 --- a/docs/module-doc/hierarchy.html +++ b/docs/module-doc/hierarchy.html @@ -13,6 +13,7 @@
  • chanrec
  • command_t
  • ConfigReader +
  • ConnectClass
  • connection +
  • Invited
  • Module
  • ModuleFactory
  • Server
  • ucrec
  • Version -
  • ConnectClass -
  • Invited -
    Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
    Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/main.html b/docs/module-doc/main.html index 419f75be6..cb5c1ba5d 100644 --- a/docs/module-doc/main.html +++ b/docs/module-doc/main.html @@ -8,7 +8,7 @@ Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

    InspIRCd Documentation

    -


    Generated on Sun Jan 26 23:45:47 2003 for InspIRCd by +
    Generated on Mon Jan 27 00:16:40 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html index 5db4fdd10..18595ac15 100644 --- a/docs/module-doc/modules_8cpp-source.html +++ b/docs/module-doc/modules_8cpp-source.html @@ -9,8 +9,8 @@

    modules.cpp

    Go to the documentation of this file.
    00001 /*
     00002 
     00003 $Log$
    -00003 Revision 1.3  2003/01/26 23:52:48  brain
    -00003 Modified documentation for base classes
    +00003 Revision 1.4  2003/01/27 00:22:39  brain
    +00003 Modified documentation
     00003 
     00004 Revision 1.1.1.1  2003/01/23 19:45:58  brain
     00005 InspIRCd second source tree
    @@ -241,7 +241,7 @@
     00230 }
     00231 
     00232 
    -

    Generated on Sun Jan 26 23:45:47 2003 for InspIRCd by +
    Generated on Mon Jan 27 00:16:40 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/modules_8cpp.html b/docs/module-doc/modules_8cpp.html index 12899e13c..be0d14922 100644 --- a/docs/module-doc/modules_8cpp.html +++ b/docs/module-doc/modules_8cpp.html @@ -16,7 +16,7 @@ Go to the source code of this file.
    -
    Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
    Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html index 6d1bafadd..f0063bf09 100644 --- a/docs/module-doc/modules_8h-source.html +++ b/docs/module-doc/modules_8h-source.html @@ -9,153 +9,157 @@

    modules.h

    Go to the documentation of this file.
    00001 /*
     00002 
     00003 $Log$
    -00003 Revision 1.3  2003/01/26 23:52:48  brain
    -00003 Modified documentation for base classes
    +00003 Revision 1.4  2003/01/27 00:22:39  brain
    +00003 Modified documentation
     00003 
    -00004 Revision 1.1.1.1  2003/01/23 19:45:58  brain
    -00005 InspIRCd second source tree
    -00006 
    -00007 Revision 1.12  2003/01/22 20:59:10  brain
    -00008 Added FileReader class documentation
    -00009 
    -00010 Revision 1.11  2003/01/22 20:49:16  brain
    -00011 Added FileReader file-caching class
    -00012 Changed m_randquote to use FileReader class
    +00004 Revision 1.2  2003/01/26 23:52:59  brain
    +00005 Modified documentation for base classes
    +00006 Added base classes
    +00007 
    +00008 Revision 1.1.1.1  2003/01/23 19:45:58  brain
    +00009 InspIRCd second source tree
    +00010 
    +00011 Revision 1.12  2003/01/22 20:59:10  brain
    +00012 Added FileReader class documentation
     00013 
    -00014 Revision 1.10  2003/01/22 00:57:27  brain
    -00015 Changes to documentation
    -00016 
    -00017 Revision 1.9  2003/01/22 00:44:26  brain
    -00018 Added documentation comments
    -00019 
    -00020 Revision 1.8  2003/01/21 20:31:24  brain
    -00021 Modified to add documentation
    -00022 Added ConfigReader class for modules
    +00014 Revision 1.11  2003/01/22 20:49:16  brain
    +00015 Added FileReader file-caching class
    +00016 Changed m_randquote to use FileReader class
    +00017 
    +00018 Revision 1.10  2003/01/22 00:57:27  brain
    +00019 Changes to documentation
    +00020 
    +00021 Revision 1.9  2003/01/22 00:44:26  brain
    +00022 Added documentation comments
     00023 
    -00024 Revision 1.7  2003/01/15 22:47:44  brain
    -00025 Changed user and channel structs to classes (finally)
    -00026 
    -00027 Revision 1.6  2003/01/13 22:30:50  brain
    -00028 Added Admin class (holds /admin info for modules)
    -00029 Added methods to Server class
    +00024 Revision 1.8  2003/01/21 20:31:24  brain
    +00025 Modified to add documentation
    +00026 Added ConfigReader class for modules
    +00027 
    +00028 Revision 1.7  2003/01/15 22:47:44  brain
    +00029 Changed user and channel structs to classes (finally)
     00030 
    -00031 
    -00032 */
    -00033 
    -00034 
    -00035 #ifndef __PLUGIN_H
    -00036 #define __PLUGIN_H
    -00037 
    -00038 #include "dynamic.h"
    -00039 #include "base.h"
    -00040 #include <string>
    -00041 #include <deque>
    -00042 
    -00045 typedef deque<string> file_cache;
    +00031 Revision 1.6  2003/01/13 22:30:50  brain
    +00032 Added Admin class (holds /admin info for modules)
    +00033 Added methods to Server class
    +00034 
    +00035 
    +00036 */
    +00037 
    +00038 
    +00039 #ifndef __PLUGIN_H
    +00040 #define __PLUGIN_H
    +00041 
    +00042 #include "dynamic.h"
    +00043 #include "base.h"
    +00044 #include <string>
    +00045 #include <deque>
     00046 
    -00047 
    -00048 // This #define allows us to call a method in all
    -00049 // loaded modules in a readable simple way, e.g.:
    -00050 // 'FOREACH_MOD OnConnect(user);'
    +00049 typedef deque<string> file_cache;
    +00050 
     00051 
    -00052 #define FOREACH_MOD for (int i = 0; i <= MODCOUNT; i++) modules[i]->
    -00053 
    -00054 // class Version holds the version information of a Module, returned
    -00055 // by Module::GetVersion (thanks RD)
    -00056 
    -00061 class Version : public classbase
    -00062 {
    -00063  public:
    -00064          const int Major, Minor, Revision, Build;
    -00065          Version(int major, int minor, int revision, int build);
    -00066 };
    -00067 
    -00068 
    -00074 class Admin : public classbase
    -00075 {
    -00076  public:
    -00077          const string Name, Email, Nick;
    -00078          Admin(string name,string email,string nick);
    -00079 };
    -00080 
    -00086 class Module : public classbase
    -00087 {
    -00088  public:
    -00092         Module();
    -00096         virtual ~Module();
    -00101         virtual Version GetVersion();
    -00105         virtual void OnUserConnect(userrec* user);
    -00109         virtual void OnUserQuit(userrec* user);
    -00114         virtual void OnUserJoin(userrec* user, chanrec* channel);
    -00119         virtual void OnUserPart(userrec* user, chanrec* channel);
    -00120 };
    -00121 
    -00122 
    -00128 class Server : public classbase
    -00129 {
    -00130  public:
    -00134         Server();
    -00138         virtual ~Server();
    -00139 
    -00143         virtual void SendOpers(string s);
    -00148         virtual void Debug(string s);
    -00153         virtual void Send(int Socket, string s);
    -00158         virtual void SendServ(int Socket, string s);
    -00163         virtual void SendFrom(int Socket, userrec* User, string s);
    -00168         virtual void SendTo(userrec* Source, userrec* Dest, string s);
    -00175         virtual void SendChannel(userrec* User, chanrec* Channel, string s,bool IncludeSender);
    -00180         virtual bool CommonChannels(userrec* u1, userrec* u2);
    -00188         virtual void SendCommon(userrec* User, string text,bool IncludeSender);
    -00193         virtual void SendWallops(userrec* User, string text);
    -00194 
    -00198         virtual bool IsNick(string nick);
    -00202         virtual userrec* FindNick(string nick);
    -00206         virtual chanrec* FindChannel(string channel);
    -00211         virtual string ChanMode(userrec* User, chanrec* Chan);
    -00214         virtual string GetServerName();
    -00217         virtual string GetNetworkName();
    -00223         virtual Admin GetAdmin();
    -00224          
    -00225 };
    -00226 
    -00233 class ConfigReader : public classbase
    -00234 {
    -00235   protected:
    -00238         string fname;
    -00239   public:
    -00244         ConfigReader();                 // default constructor reads ircd.conf
    -00248         ConfigReader(string filename);  // read a module-specific config
    -00252         ~ConfigReader();
    -00257         string ReadValue(string tag, string name, int index);
    -00264         int Enumerate(string tag);
    -00268         bool Verify();
    -00269 };
    -00270 
    -00271 
    -00272 
    -00278 class FileReader : public classbase
    -00279 {
    -00280  file_cache fc;
    -00281  public:
    -00286          FileReader();
    -00292          FileReader(string filename);
    -00296          ~FileReader();
    -00302          void LoadFile(string filename);
    -00307          string GetLine(int x);
    -00313          int FileSize();
    -00314 };
    -00315 
    -00316 
    -00323 class ModuleFactory : public classbase
    -00324 {
    -00325  public:
    -00326         ModuleFactory() { }
    -00327         virtual ~ModuleFactory() { }
    -00332         virtual Module * CreateModule() = 0;
    -00333 };
    -00334 
    -00335 #endif
    -

    Generated on Sun Jan 26 23:45:47 2003 for InspIRCd by +00052 // This #define allows us to call a method in all +00053 // loaded modules in a readable simple way, e.g.: +00054 // 'FOREACH_MOD OnConnect(user);' +00055 +00056 #define FOREACH_MOD for (int i = 0; i <= MODCOUNT; i++) modules[i]-> +00057 +00058 // class Version holds the version information of a Module, returned +00059 // by Module::GetVersion (thanks RD) +00060 +00065 class Version : public classbase +00066 { +00067 public: +00068 const int Major, Minor, Revision, Build; +00069 Version(int major, int minor, int revision, int build); +00070 }; +00071 +00072 +00078 class Admin : public classbase +00079 { +00080 public: +00081 const string Name, Email, Nick; +00082 Admin(string name,string email,string nick); +00083 }; +00084 +00090 class Module : public classbase +00091 { +00092 public: +00096 Module(); +00100 virtual ~Module(); +00105 virtual Version GetVersion(); +00109 virtual void OnUserConnect(userrec* user); +00113 virtual void OnUserQuit(userrec* user); +00118 virtual void OnUserJoin(userrec* user, chanrec* channel); +00123 virtual void OnUserPart(userrec* user, chanrec* channel); +00124 }; +00125 +00126 +00132 class Server : public classbase +00133 { +00134 public: +00138 Server(); +00142 virtual ~Server(); +00143 +00147 virtual void SendOpers(string s); +00152 virtual void Debug(string s); +00157 virtual void Send(int Socket, string s); +00162 virtual void SendServ(int Socket, string s); +00167 virtual void SendFrom(int Socket, userrec* User, string s); +00172 virtual void SendTo(userrec* Source, userrec* Dest, string s); +00179 virtual void SendChannel(userrec* User, chanrec* Channel, string s,bool IncludeSender); +00184 virtual bool CommonChannels(userrec* u1, userrec* u2); +00192 virtual void SendCommon(userrec* User, string text,bool IncludeSender); +00197 virtual void SendWallops(userrec* User, string text); +00198 +00202 virtual bool IsNick(string nick); +00206 virtual userrec* FindNick(string nick); +00210 virtual chanrec* FindChannel(string channel); +00215 virtual string ChanMode(userrec* User, chanrec* Chan); +00218 virtual string GetServerName(); +00221 virtual string GetNetworkName(); +00227 virtual Admin GetAdmin(); +00228 +00229 }; +00230 +00237 class ConfigReader : public classbase +00238 { +00239 protected: +00242 string fname; +00243 public: +00248 ConfigReader(); // default constructor reads ircd.conf +00252 ConfigReader(string filename); // read a module-specific config +00256 ~ConfigReader(); +00261 string ReadValue(string tag, string name, int index); +00268 int Enumerate(string tag); +00272 bool Verify(); +00273 }; +00274 +00275 +00276 +00282 class FileReader : public classbase +00283 { +00284 file_cache fc; +00285 public: +00290 FileReader(); +00296 FileReader(string filename); +00300 ~FileReader(); +00306 void LoadFile(string filename); +00311 string GetLine(int x); +00317 int FileSize(); +00318 }; +00319 +00320 +00327 class ModuleFactory : public classbase +00328 { +00329 public: +00330 ModuleFactory() { } +00331 virtual ~ModuleFactory() { } +00336 virtual Module * CreateModule() = 0; +00337 }; +00338 +00339 #endif +
    Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/modules_8h.html b/docs/module-doc/modules_8h.html index 0ff7716b3..362d85d6d 100644 --- a/docs/module-doc/modules_8h.html +++ b/docs/module-doc/modules_8h.html @@ -57,7 +57,7 @@

    -Definition at line 52 of file modules.h. +Definition at line 56 of file modules.h.


    Typedef Documentation

    @@ -84,12 +84,12 @@ Low level definition of a FileReader

    -Definition at line 45 of file modules.h. +Definition at line 49 of file modules.h.

    Referenced by FileReader::FileReader(), and FileReader::LoadFile(). -


    Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
    Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/servers_8cpp-source.html b/docs/module-doc/servers_8cpp-source.html index 8200748b3..9439d9aca 100644 --- a/docs/module-doc/servers_8cpp-source.html +++ b/docs/module-doc/servers_8cpp-source.html @@ -9,68 +9,72 @@

    servers.cpp

    Go to the documentation of this file.
    00001 /*
     00002 
     00003 $Log$
    -00003 Revision 1.1  2003/01/26 23:52:48  brain
    -00003 Modified documentation for base classes
    +00003 Revision 1.2  2003/01/27 00:22:39  brain
    +00003 Modified documentation
     00003 
    -00004 Revision 1.1  2003/01/26 20:15:03  brain
    -00005 Added server classes for linking
    -00006 
    +00004 Revision 1.2  2003/01/26 23:53:03  brain
    +00005 Modified documentation for base classes
    +00006 Added base classes
     00007 
    -00008 */
    -00009 
    -00010 #include "inspircd_config.h" 
    -00011 #include "servers.h"
    -00012 #include "inspircd.h"
    -00013 #include <stdio.h>
    -00014 #include <map.h>
    -00015 
    -00016 serverrec::serverrec()
    -00017 {
    -00018         leaf.clear();
    -00019         strcpy(name,"");
    -00020         pingtime = 0;
    -00021         linktype = LINK_ACTIVE;
    -00022         lastping = time(NULL);
    -00023         usercount_i = usercount = opercount = version = 0;
    -00024         hops_away = 1;
    -00025         connected_at = time(NULL);
    -00026         jupiter = false;
    -00027         fd = 0;
    -00028 }
    -00029 
    -00030  
    -00031 serverrec::~serverrec()
    -00032 {
    -00033 }
    -00034 
    -00035 serverrec::serverrec(char* n, int link_t,  long ver, bool jupe)
    +00008 Revision 1.1  2003/01/26 20:15:03  brain
    +00009 Added server classes for linking
    +00010 
    +00011 
    +00012 */
    +00013 
    +00014 #include "inspircd_config.h" 
    +00015 #include "servers.h"
    +00016 #include "inspircd.h"
    +00017 #include <stdio.h>
    +00018 #include <map.h>
    +00019 
    +00020 serverrec::serverrec()
    +00021 {
    +00022         leaf.clear();
    +00023         strcpy(name,"");
    +00024         pingtime = 0;
    +00025         linktype = LINK_ACTIVE;
    +00026         lastping = time(NULL);
    +00027         usercount_i = usercount = opercount = version = 0;
    +00028         hops_away = 1;
    +00029         connected_at = time(NULL);
    +00030         jupiter = false;
    +00031         fd = 0;
    +00032 }
    +00033 
    +00034  
    +00035 serverrec::~serverrec()
     00036 {
    -00037         leaf.clear();
    -00038         strcpy(name,n);
    -00039         linktype = link_t;
    -00040         lastping = time(NULL);
    -00041         usercount_i = usercount = opercount = 0;
    -00042         version = ver;
    -00043         hops_away = 1;
    -00044         connected_at = time(NULL);
    -00045         jupiter = jupe;
    -00046         fd = 0;
    -00047 }
    -00048 
    -00049 void serverrec::AddLeaf(serverrec *child)
    -00050 {
    -00051         leaf[child->name] = child;
    -00052 }
    -00053 
    -00054 void serverrec::DelLeaf(string n)
    -00055 {
    -00056         server_list::iterator i = leaf.find(n);
    +00037 }
    +00038 
    +00039 serverrec::serverrec(char* n, int link_t,  long ver, bool jupe)
    +00040 {
    +00041         leaf.clear();
    +00042         strcpy(name,n);
    +00043         linktype = link_t;
    +00044         lastping = time(NULL);
    +00045         usercount_i = usercount = opercount = 0;
    +00046         version = ver;
    +00047         hops_away = 1;
    +00048         connected_at = time(NULL);
    +00049         jupiter = jupe;
    +00050         fd = 0;
    +00051 }
    +00052 
    +00053 void serverrec::AddLeaf(serverrec *child)
    +00054 {
    +00055         leaf[child->name] = child;
    +00056 }
     00057 
    -00058         if (i != leaf.end())
    -00059                 leaf.erase(i);
    -00060 }
    +00058 void serverrec::DelLeaf(string n)
    +00059 {
    +00060         server_list::iterator i = leaf.find(n);
     00061 
    -

    Generated on Sun Jan 26 23:45:47 2003 for InspIRCd by +00062 if (i != leaf.end()) +00063 leaf.erase(i); +00064 } +00065 +
    Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/servers_8cpp.html b/docs/module-doc/servers_8cpp.html index 2d38d5a96..7e15f8abf 100644 --- a/docs/module-doc/servers_8cpp.html +++ b/docs/module-doc/servers_8cpp.html @@ -16,7 +16,7 @@ Go to the source code of this file.
    -
    Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
    Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/servers_8h-source.html b/docs/module-doc/servers_8h-source.html index b73e6a898..e1f40b0ef 100644 --- a/docs/module-doc/servers_8h-source.html +++ b/docs/module-doc/servers_8h-source.html @@ -9,57 +9,61 @@

    servers.h

    Go to the documentation of this file.
    00001 /*
     00002 
     00003 $Log$
    -00003 Revision 1.1  2003/01/26 23:52:48  brain
    -00003 Modified documentation for base classes
    +00003 Revision 1.2  2003/01/27 00:22:39  brain
    +00003 Modified documentation
     00003 
    -00004 Revision 1.1  2003/01/26 20:15:00  brain
    -00005 Added server classes for linking
    -00006 
    +00004 Revision 1.2  2003/01/26 23:52:59  brain
    +00005 Modified documentation for base classes
    +00006 Added base classes
     00007 
    -00008 */
    -00009 
    -00010 #include "inspircd_config.h" 
    -00011 #include "connection.h"
    -00012 #include <string>
    -00013 #include <map.h>
    -00014  
    -00015 #ifndef __SERVERS_H__ 
    -00016 #define __SERVERS_H__ 
    -00017  
    -00018 #define LINK_ACTIVE     1
    -00019 #define LINK_INACTIVE   0
    -00020 
    -00021 class serverrec : public connection
    -00022 {
    -00023  private:
    -00024         map<string, serverrec*> leaf; // list of child servers (leaves)
    -00025  public:
    -00026         char name[MAXBUF];      // server name
    -00027         int pingtime;           // last ping response (ms)
    -00028         int linktype;           // link type, LINK_ACTIVE or LINK_INACTIVE
    -00029         time_t lastping;        // time the link was last pinged
    -00030         long usercount_i;       // invisible users on server
    -00031         long usercount;         // non-invisible users on server
    -00032         long opercount;         // opers on server
    -00033         time_t connected_at;    // time server was connected into the network
    -00034         time_t hops_away;       // number of hops away (for quick access)
    -00035         long version;           // ircd version
    -00036         bool jupiter;           // is a JUPE server (faked to enforce a server ban)
    -00037 
    -00038         serverrec();
    -00039         serverrec(char* n, int link_t,  long ver, bool jupe);
    -00040         ~serverrec();
    -00041         void AddLeaf(serverrec *child);
    -00042         void DelLeaf(string n);
    -00043 };
    -00044 
    -00045 
    -00046 
    -00047 typedef map<string, serverrec*> server_list;
    +00008 Revision 1.1  2003/01/26 20:15:00  brain
    +00009 Added server classes for linking
    +00010 
    +00011 
    +00012 */
    +00013 
    +00014 #include "inspircd_config.h" 
    +00015 #include "connection.h"
    +00016 #include <string>
    +00017 #include <map.h>
    +00018  
    +00019 #ifndef __SERVERS_H__ 
    +00020 #define __SERVERS_H__ 
    +00021  
    +00022 #define LINK_ACTIVE     1
    +00023 #define LINK_INACTIVE   0
    +00024 
    +00025 class serverrec : public connection
    +00026 {
    +00027  private:
    +00028         map<string, serverrec*> leaf; // list of child servers (leaves)
    +00029  public:
    +00030         char name[MAXBUF];      // server name
    +00031         int pingtime;           // last ping response (ms)
    +00032         int linktype;           // link type, LINK_ACTIVE or LINK_INACTIVE
    +00033         time_t lastping;        // time the link was last pinged
    +00034         long usercount_i;       // invisible users on server
    +00035         long usercount;         // non-invisible users on server
    +00036         long opercount;         // opers on server
    +00037         time_t connected_at;    // time server was connected into the network
    +00038         time_t hops_away;       // number of hops away (for quick access)
    +00039         long version;           // ircd version
    +00040         bool jupiter;           // is a JUPE server (faked to enforce a server ban)
    +00041 
    +00042         serverrec();
    +00043         serverrec(char* n, int link_t,  long ver, bool jupe);
    +00044         ~serverrec();
    +00045         void AddLeaf(serverrec *child);
    +00046         void DelLeaf(string n);
    +00047 };
     00048 
    -00049 #endif
    -00050 
    -

    Generated on Sun Jan 26 23:45:47 2003 for InspIRCd by +00049 +00050 +00051 typedef map<string, serverrec*> server_list; +00052 +00053 #endif +00054 +
    Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/servers_8h.html b/docs/module-doc/servers_8h.html index 0e695d7fe..47856b247 100644 --- a/docs/module-doc/servers_8h.html +++ b/docs/module-doc/servers_8h.html @@ -44,9 +44,9 @@

    -Definition at line 18 of file servers.h. +Definition at line 22 of file servers.h.

    -Referenced by serverrec::serverrec(). +Referenced by serverrec::serverrec().

    @@ -70,7 +70,7 @@ Referenced by serverrec::se

    -Definition at line 19 of file servers.h. +Definition at line 23 of file servers.h.


    Typedef Documentation

    @@ -95,10 +95,10 @@ Definition at line 19 of

    -Definition at line 47 of file servers.h. +Definition at line 51 of file servers.h. -


    Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
    Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/tree.js b/docs/module-doc/tree.js index 75de2211a..c2aab4b80 100644 --- a/docs/module-doc/tree.js +++ b/docs/module-doc/tree.js @@ -38,6 +38,7 @@ aux1 = insFld(foldersTree, gFld("Class Hierarchy", "", "hierarchy.html")) insDoc(aux2, gLnk("chanrec", "", "classchanrec.html")) insDoc(aux2, gLnk("command_t", "", "classcommand__t.html")) insDoc(aux2, gLnk("ConfigReader", "", "classConfigReader.html")) + insDoc(aux2, gLnk("ConnectClass", "", "classConnectClass.html")) aux3 = insFld(aux2, gFld("connection", "", "classconnection.html")) insDoc(aux3, gLnk("serverrec", "", "classserverrec.html")) insDoc(aux3, gLnk("userrec", "", "classuserrec.html")) @@ -46,12 +47,11 @@ aux1 = insFld(foldersTree, gFld("Class Hierarchy", "", "hierarchy.html")) insDoc(aux3, gLnk("BanItem", "", "classBanItem.html")) insDoc(aux3, gLnk("ExemptItem", "", "classExemptItem.html")) insDoc(aux3, gLnk("InviteItem", "", "classInviteItem.html")) + insDoc(aux2, gLnk("Invited", "", "classInvited.html")) insDoc(aux2, gLnk("Module", "", "classModule.html")) insDoc(aux2, gLnk("ModuleFactory", "", "classModuleFactory.html")) insDoc(aux2, gLnk("Server", "", "classServer.html")) insDoc(aux2, gLnk("ucrec", "", "classucrec.html")) insDoc(aux2, gLnk("Version", "", "classVersion.html")) - insDoc(aux1, gLnk("ConnectClass", "", "classConnectClass.html")) - insDoc(aux1, gLnk("Invited", "", "classInvited.html")) insDoc(foldersTree, gLnk("Compound Members", "", "functions.html")) insDoc(foldersTree, gLnk("File Members", "", "globals.html")) diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html index cca0d47c0..7ec14f505 100644 --- a/docs/module-doc/users_8cpp-source.html +++ b/docs/module-doc/users_8cpp-source.html @@ -9,8 +9,8 @@

    users.cpp

    Go to the documentation of this file.
    00001 /*
     00002 
     00003 $Log$
    -00003 Revision 1.3  2003/01/26 23:52:48  brain
    -00003 Modified documentation for base classes
    +00003 Revision 1.4  2003/01/27 00:22:39  brain
    +00003 Modified documentation
     00003 
     00004 Revision 1.1.1.1  2003/01/23 19:45:58  brain
     00005 InspIRCd second source tree
    @@ -101,7 +101,7 @@
     00090                 }
     00091         }
     00092 }
    -

    Generated on Sun Jan 26 23:45:47 2003 for InspIRCd by +
    Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/users_8cpp.html b/docs/module-doc/users_8cpp.html index ece5198db..4d1faa1ec 100644 --- a/docs/module-doc/users_8cpp.html +++ b/docs/module-doc/users_8cpp.html @@ -16,7 +16,7 @@ Go to the source code of this file.
    -
    Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
    Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/users_8h-source.html b/docs/module-doc/users_8h-source.html index 9557b4d0a..f70afd2b1 100644 --- a/docs/module-doc/users_8h-source.html +++ b/docs/module-doc/users_8h-source.html @@ -9,119 +9,123 @@

    users.h

    Go to the documentation of this file.
    00001 /*
     00002 
     00003 $Log$
    -00003 Revision 1.3  2003/01/26 23:52:48  brain
    -00003 Modified documentation for base classes
    +00003 Revision 1.4  2003/01/27 00:22:39  brain
    +00003 Modified documentation
     00003 
    -00004 Revision 1.1.1.1  2003/01/23 19:45:58  brain
    -00005 InspIRCd second source tree
    -00006 
    -00007 Revision 1.9  2003/01/22 00:44:26  brain
    -00008 Added documentation comments
    -00009 
    -00010 Revision 1.8  2003/01/21 21:11:17  brain
    -00011 Added documentation
    -00012 
    -00013 Revision 1.7  2003/01/17 13:21:38  brain
    -00014 Added CONNECT ALLOW and CONNECT DENY config tags
    -00015 Added PASS command
    +00004 Revision 1.2  2003/01/26 23:52:59  brain
    +00005 Modified documentation for base classes
    +00006 Added base classes
    +00007 
    +00008 Revision 1.1.1.1  2003/01/23 19:45:58  brain
    +00009 InspIRCd second source tree
    +00010 
    +00011 Revision 1.9  2003/01/22 00:44:26  brain
    +00012 Added documentation comments
    +00013 
    +00014 Revision 1.8  2003/01/21 21:11:17  brain
    +00015 Added documentation
     00016 
    -00017 Revision 1.6  2003/01/17 10:37:55  brain
    -00018 Added /INVITE command and relevent structures
    -00019 
    -00020 Revision 1.5  2003/01/16 20:11:56  brain
    -00021 fixed some ugly pointer bugs (thanks dblack and a|KK|y!)
    -00022 
    -00023 Revision 1.4  2003/01/15 22:47:44  brain
    -00024 Changed user and channel structs to classes (finally)
    -00025 
    -00026 Revision 1.3  2003/01/14 21:14:30  brain
    -00027 added /ISON command (for mIRC etc basic notify)
    -00028 
    +00017 Revision 1.7  2003/01/17 13:21:38  brain
    +00018 Added CONNECT ALLOW and CONNECT DENY config tags
    +00019 Added PASS command
    +00020 
    +00021 Revision 1.6  2003/01/17 10:37:55  brain
    +00022 Added /INVITE command and relevent structures
    +00023 
    +00024 Revision 1.5  2003/01/16 20:11:56  brain
    +00025 fixed some ugly pointer bugs (thanks dblack and a|KK|y!)
    +00026 
    +00027 Revision 1.4  2003/01/15 22:47:44  brain
    +00028 Changed user and channel structs to classes (finally)
     00029 
    -00030 */
    -00031 
    -00032 #include "inspircd_config.h" 
    -00033 #include "channels.h"
    -00034 #include "connection.h"
    +00030 Revision 1.3  2003/01/14 21:14:30  brain
    +00031 added /ISON command (for mIRC etc basic notify)
    +00032 
    +00033 
    +00034 */
     00035 
    -00036 #include <string>
    -00037  
    -00038 #ifndef __USERS_H__ 
    -00039 #define __USERS_H__ 
    -00040  
    -00041 #define STATUS_OP       4
    -00042 #define STATUS_HOP      2
    -00043 #define STATUS_VOICE    1
    -00044 #define STATUS_NORMAL   0
    -00045 
    -00046 #define CC_ALLOW        0
    -00047 #define CC_DENY         1
    -00048 
    -00051 class Invited
    -00052 {
    -00053  public:
    -00054         char channel[CHANMAX];
    -00055 };
    -00056 
    -00057 
    -00060 class ConnectClass
    -00061 {
    -00062  public:
    -00063         int type;
    -00064         char host[MAXBUF];
    -00065         char pass[MAXBUF];
    -00066 };
    -00067 
    -00070 typedef vector<Invited> InvitedList;
    +00036 #include "inspircd_config.h" 
    +00037 #include "channels.h"
    +00038 #include "connection.h"
    +00039 
    +00040 #include <string>
    +00041  
    +00042 #ifndef __USERS_H__ 
    +00043 #define __USERS_H__ 
    +00044  
    +00045 #define STATUS_OP       4
    +00046 #define STATUS_HOP      2
    +00047 #define STATUS_VOICE    1
    +00048 #define STATUS_NORMAL   0
    +00049 
    +00050 #define CC_ALLOW        0
    +00051 #define CC_DENY         1
    +00052 
    +00055 class Invited : public classbase
    +00056 {
    +00057  public:
    +00058         char channel[CHANMAX];
    +00059 };
    +00060 
    +00061 
    +00064 class ConnectClass : public classbase
    +00065 {
    +00066  public:
    +00067         int type;
    +00068         char host[MAXBUF];
    +00069         char pass[MAXBUF];
    +00070 };
     00071 
    -00072 
    -00073 
    -00076 typedef vector<ConnectClass> ClassVector;
    +00074 typedef vector<Invited> InvitedList;
    +00075 
    +00076 
     00077 
    -00084 class userrec : public connection
    -00085 {
    -00086  private:
    -00087 
    -00090         InvitedList invites;
    -00091  public:
    -00092         
    -00097         char nick[NICKMAX];
    -00098         
    -00101         char ident[64];
    -00102 
    -00106         char dhost[256];
    -00107         
    -00110         char fullname[128];
    +00080 typedef vector<ConnectClass> ClassVector;
    +00081 
    +00088 class userrec : public connection
    +00089 {
    +00090  private:
    +00091 
    +00094         InvitedList invites;
    +00095  public:
    +00096         
    +00101         char nick[NICKMAX];
    +00102         
    +00105         char ident[64];
    +00106 
    +00110         char dhost[256];
     00111         
    -00116         char modes[32];
    -00117         
    -00118         ucrec chans[MAXCHANS];
    -00119         
    -00122         char server[256];
    +00114         char fullname[128];
    +00115         
    +00120         char modes[32];
    +00121         
    +00122         ucrec chans[MAXCHANS];
     00123         
    -00127         char awaymsg[512];
    -00128         
    -00132         char result[256];
    -00133         
    -00134         userrec();
    -00135         
    -00136         virtual ~userrec() {  }
    +00126         char server[256];
    +00127         
    +00131         char awaymsg[512];
    +00132         
    +00136         char result[256];
     00137         
    -00142         virtual char* GetFullHost();
    -00143         
    -00149         virtual char* GetFullRealHost();
    -00150         
    -00153         virtual bool IsInvited(char* channel);
    +00138         userrec();
    +00139         
    +00140         virtual ~userrec() {  }
    +00141         
    +00146         virtual char* GetFullHost();
    +00147         
    +00153         virtual char* GetFullRealHost();
     00154         
    -00157         virtual void InviteTo(char* channel);
    +00157         virtual bool IsInvited(char* channel);
     00158         
    -00163         virtual void RemoveInvite(char* channel);
    -00164         
    -00165 };
    -00166 
    -00167 
    -00168 #endif
    -

    Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +00161 virtual void InviteTo(char* channel); +00162 +00167 virtual void RemoveInvite(char* channel); +00168 +00169 }; +00170 +00171 +00172 #endif +
    Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
    diff --git a/docs/module-doc/users_8h.html b/docs/module-doc/users_8h.html index df1234c10..ed62a018f 100644 --- a/docs/module-doc/users_8h.html +++ b/docs/module-doc/users_8h.html @@ -56,7 +56,7 @@

    -Definition at line 46 of file users.h. +Definition at line 50 of file users.h.

    @@ -80,7 +80,7 @@ Definition at line 46 of fi

    -Definition at line 47 of file users.h. +Definition at line 51 of file users.h.

    @@ -104,7 +104,7 @@ Definition at line 47 of fi

    -Definition at line 42 of file users.h. +Definition at line 46 of file users.h.

    @@ -128,7 +128,7 @@ Definition at line 42 of fi

    -Definition at line 44 of file users.h. +Definition at line 48 of file users.h.

    @@ -152,7 +152,7 @@ Definition at line 44 of fi

    -Definition at line 41 of file users.h. +Definition at line 45 of file users.h.

    @@ -176,7 +176,7 @@ Definition at line 41 of fi

    -Definition at line 43 of file users.h. +Definition at line 47 of file users.h.


    Typedef Documentation

    @@ -203,7 +203,7 @@ Holds a complete list of all allow and deny tags from the configuration file (co

    -Definition at line 76 of file users.h. +Definition at line 80 of file users.h.

    @@ -229,10 +229,10 @@ Holds a complete list of all channels to which a user has been invited and has n

    -Definition at line 70 of file users.h. +Definition at line 74 of file users.h. -


    Generated on Sun Jan 26 23:45:48 2003 for InspIRCd by +
    Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
    -- cgit v1.2.3