From 88dd74fc84b574f17673338c6d42123570f464da Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 12 May 2005 23:06:51 +0000 Subject: Added docs for new smaller memory footprint classes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1371 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/channels_8cpp-source.html | 80 ++++++++++++++----------------- 1 file changed, 36 insertions(+), 44 deletions(-) (limited to 'docs/module-doc/channels_8cpp-source.html') diff --git a/docs/module-doc/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html index f91ebef7e..fb91a28fe 100644 --- a/docs/module-doc/channels_8cpp-source.html +++ b/docs/module-doc/channels_8cpp-source.html @@ -117,16 +117,16 @@ 00110 00111 std::vector<ModeParameter> custom_mode_params; 00112 -00113 chanrec::chanrec() +00113 chanrec::chanrec() 00114 { 00115 strcpy(name,""); 00116 strcpy(custom_modes,""); -00117 strcpy(topic,""); -00118 strcpy(setby,""); -00119 strcpy(key,""); -00120 created = topicset = limit = users = 0; -00121 topiclock = noexternal = inviteonly = moderated = secret = c_private = false; -00122 internal_userlist.clear(); +00117 strcpy(topic,""); +00118 strcpy(setby,""); +00119 strcpy(key,""); +00120 created = topicset = limit = 0; +00121 binarymodes = 0; +00122 internal_userlist.clear(); 00123 } 00124 00125 void chanrec::SetCustomMode(char mode,bool mode_on) @@ -206,44 +206,36 @@ 00199 return ""; 00200 } 00201 -00202 void chanrec::IncUserCounter() +00202 long chanrec::GetUserCounter() 00203 { -00204 } -00205 -00206 void chanrec::DecUserCounter() -00207 { -00208 } -00209 -00210 long chanrec::GetUserCounter() -00211 { -00212 return (this->internal_userlist.size()); -00213 } -00214 -00215 void chanrec::AddUser(char* castuser) -00216 { -00217 internal_userlist.push_back(castuser); -00218 log(DEBUG,"Added casted user to channel's internal list"); -00219 } -00220 -00221 void chanrec::DelUser(char* castuser) -00222 { -00223 for (std::vector<char*>::iterator a = internal_userlist.begin(); a < internal_userlist.end(); a++) -00224 { -00225 if (*a == castuser) -00226 { -00227 log(DEBUG,"Removed casted user from channel's internal list"); -00228 internal_userlist.erase(a); -00229 return; -00230 } -00231 } -00232 log(DEBUG,"BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!",name); -00233 } -00234 -00235 std::vector<char*> *chanrec::GetUsers() -00236 { -00237 return &internal_userlist; -00238 } -
Generated on Thu May 12 02:25:11 2005 for InspIRCd by +00204 return (this->internal_userlist.size()); +00205 } +00206 +00207 void chanrec::AddUser(char* castuser) +00208 { +00209 internal_userlist.push_back(castuser); +00210 log(DEBUG,"Added casted user to channel's internal list"); +00211 } +00212 +00213 void chanrec::DelUser(char* castuser) +00214 { +00215 for (std::vector<char*>::iterator a = internal_userlist.begin(); a < internal_userlist.end(); a++) +00216 { +00217 if (*a == castuser) +00218 { +00219 log(DEBUG,"Removed casted user from channel's internal list"); +00220 internal_userlist.erase(a); +00221 return; +00222 } +00223 } +00224 log(DEBUG,"BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!",name); +00225 } +00226 +00227 std::vector<char*> *chanrec::GetUsers() +00228 { +00229 return &internal_userlist; +00230 } +
Generated on Thu May 12 22:58:57 2005 for InspIRCd by doxygen 1.3.3
-- cgit v1.2.3