From cc61d20faae9a29422d34a367db9ac54d8de3d0e Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 23 Jan 2003 20:38:00 +0000 Subject: Updated documentation scripts git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@143 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/users_8cpp-source.html | 180 ++++++++++++++++----------------- 1 file changed, 90 insertions(+), 90 deletions(-) (limited to 'docs/module-doc/users_8cpp-source.html') diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html index 8575303e7..9557e2486 100644 --- a/docs/module-doc/users_8cpp-source.html +++ b/docs/module-doc/users_8cpp-source.html @@ -9,99 +9,99 @@

users.cpp

Go to the documentation of this file.
00001 /*
 00002 
 00003 $Log$
-00003 Revision 1.1  2003/01/23 19:45:58  brain
-00003 Initial revision
-00003 
-00003 Revision 1.6  2003/01/22 20:59:12  brain
-00003 Added FileReader class documentation
+00003 Revision 1.2  2003/01/23 20:38:00  brain
+00003 Updated documentation scripts
 00003 
-00004 Revision 1.3  2003/01/17 13:21:38  brain
-00005 Added CONNECT ALLOW and CONNECT DENY config tags
-00006 Added PASS command
-00007 
-00008 Revision 1.2  2003/01/17 10:37:55  brain
-00009 Added /INVITE command and relevent structures
+00004 Revision 1.1.1.1  2003/01/23 19:45:58  brain
+00005 InspIRCd second source tree
+00006 
+00007 Revision 1.3  2003/01/17 13:21:38  brain
+00008 Added CONNECT ALLOW and CONNECT DENY config tags
+00009 Added PASS command
 00010 
-00011 Revision 1.1  2003/01/16 01:10:04  brain
-00012 forgot to add this
+00011 Revision 1.2  2003/01/17 10:37:55  brain
+00012 Added /INVITE command and relevent structures
 00013 
-00014 
-00015 */
-00016 
-00017 #include "inspircd_config.h" 
-00018 #include "channels.h"
-00019 #include "users.h"
-00020 #include "inspircd.h"
-00021 #include <stdio.h>
-00022 
-00023 userrec::userrec()
-00024 {
-00025         // the PROPER way to do it, AVOID bzero at *ALL* costs
-00026         strcpy(nick,"");
-00027         ip = 0;
-00028         strcpy(ident,"");
-00029         strcpy(host,"");
-00030         strcpy(dhost,"");
-00031         strcpy(fullname,"");
-00032         strcpy(modes,"");
-00033         strcpy(inbuf,"");
-00034         strcpy(server,"");
-00035         strcpy(awaymsg,"");
-00036         fd = lastping = signon = idle_lastmsg = nping = registered = 0;
-00037         port = bytes_in = bytes_out = cmds_in = cmds_out = 0;
-00038         haspassed = false;
-00039         strcpy(result,"");
-00040         for (int i = 0; i < MAXCHANS; i++)
-00041         {
-00042                 chans[i].channel = NULL;
-00043         }
-00044         invites.clear();
-00045 }
-00046 
-00047  
-00048 char* userrec::GetFullHost()
-00049 {
-00050         sprintf(result,"%s!%s@%s",nick,ident,dhost);
-00051         return result;
-00052 }
-00053 
-00054 
-00055 char* userrec::GetFullRealHost()
-00056 {
-00057         sprintf(result,"%s!%s@%s",nick,ident,host);
-00058         return result;
-00059 }
-00060 
-00061 bool userrec::IsInvited(char* channel)
-00062 {
-00063         for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
-00064         {
-00065                 if (!strcasecmp(i->channel,channel))
-00066                 {
-00067                         return true;
-00068                 }
-00069         }
-00070 }
-00071 
-00072 void userrec::InviteTo(char* channel)
-00073 {
-00074         Invited i;
-00075         strcpy(i.channel,channel);
-00076         invites.push_back(i);
-00077 }
-00078 
-00079 void userrec::RemoveInvite(char* channel)
-00080 {
-00081         for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
-00082         {
-00083                 if (!strcasecmp(i->channel,channel))
-00084                 {
-00085                         invites.erase(i);
-00086                         return;
-00087                 }
-00088         }
-00089 }
-

Generated on Wed Jan 22 20:56:47 2003 for InspIRCd by +00014 Revision 1.1 2003/01/16 01:10:04 brain +00015 forgot to add this +00016 +00017 +00018 */ +00019 +00020 #include "inspircd_config.h" +00021 #include "channels.h" +00022 #include "users.h" +00023 #include "inspircd.h" +00024 #include <stdio.h> +00025 +00026 userrec::userrec() +00027 { +00028 // the PROPER way to do it, AVOID bzero at *ALL* costs +00029 strcpy(nick,""); +00030 ip = 0; +00031 strcpy(ident,""); +00032 strcpy(host,""); +00033 strcpy(dhost,""); +00034 strcpy(fullname,""); +00035 strcpy(modes,""); +00036 strcpy(inbuf,""); +00037 strcpy(server,""); +00038 strcpy(awaymsg,""); +00039 fd = lastping = signon = idle_lastmsg = nping = registered = 0; +00040 port = bytes_in = bytes_out = cmds_in = cmds_out = 0; +00041 haspassed = false; +00042 strcpy(result,""); +00043 for (int i = 0; i < MAXCHANS; i++) +00044 { +00045 chans[i].channel = NULL; +00046 } +00047 invites.clear(); +00048 } +00049 +00050 +00051 char* userrec::GetFullHost() +00052 { +00053 sprintf(result,"%s!%s@%s",nick,ident,dhost); +00054 return result; +00055 } +00056 +00057 +00058 char* userrec::GetFullRealHost() +00059 { +00060 sprintf(result,"%s!%s@%s",nick,ident,host); +00061 return result; +00062 } +00063 +00064 bool userrec::IsInvited(char* channel) +00065 { +00066 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) +00067 { +00068 if (!strcasecmp(i->channel,channel)) +00069 { +00070 return true; +00071 } +00072 } +00073 } +00074 +00075 void userrec::InviteTo(char* channel) +00076 { +00077 Invited i; +00078 strcpy(i.channel,channel); +00079 invites.push_back(i); +00080 } +00081 +00082 void userrec::RemoveInvite(char* channel) +00083 { +00084 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) +00085 { +00086 if (!strcasecmp(i->channel,channel)) +00087 { +00088 invites.erase(i); +00089 return; +00090 } +00091 } +00092 } +
Generated on Thu Jan 23 20:28:57 2003 for InspIRCd by doxygen1.3-rc2
-- cgit v1.2.3