From 4d6d3859d208d5576e7149de9a0a5576b7cf5153 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 12 Dec 2005 18:31:52 +0000 Subject: Added extra documentation for InspSocket (at last) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2356 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/channels_8cpp-source.html | 97 +++++++++++++++---------------- 1 file changed, 48 insertions(+), 49 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 6306fdb45..b942e6741 100644 --- a/docs/module-doc/channels_8cpp-source.html +++ b/docs/module-doc/channels_8cpp-source.html @@ -177,55 +177,54 @@ 00168 00169 bool chanrec::IsCustomModeSet(char mode) 00170 { -00171 log(DEBUG,"Checking ISCustomModeSet: %c %s",mode,this->custom_modes); -00172 return (strchr(this->custom_modes,mode) != 0); -00173 } -00174 -00175 std::string chanrec::GetModeParameter(char mode) -00176 { -00177 if (custom_mode_params.size()) -00178 { -00179 for (vector<ModeParameter>::iterator i = custom_mode_params.begin(); i < custom_mode_params.end(); i++) -00180 { -00181 if ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) -00182 { -00183 return i->parameter; -00184 } -00185 } -00186 } -00187 return ""; -00188 } -00189 -00190 long chanrec::GetUserCounter() -00191 { -00192 return (this->internal_userlist.size()); -00193 } -00194 -00195 void chanrec::AddUser(char* castuser) -00196 { -00197 internal_userlist.push_back(castuser); -00198 log(DEBUG,"Added casted user to channel's internal list"); -00199 } -00200 -00201 void chanrec::DelUser(char* castuser) -00202 { -00203 for (std::vector<char*>::iterator a = internal_userlist.begin(); a < internal_userlist.end(); a++) -00204 { -00205 if (*a == castuser) -00206 { -00207 log(DEBUG,"Removed casted user from channel's internal list"); -00208 internal_userlist.erase(a); -00209 return; -00210 } -00211 } -00212 log(DEBUG,"BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!",name); -00213 } -00214 -00215 std::vector<char*> *chanrec::GetUsers() -00216 { -00217 return &internal_userlist; -00218 } -
Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by  +00171 return (strchr(this->custom_modes,mode)); +00172 } +00173 +00174 std::string chanrec::GetModeParameter(char mode) +00175 { +00176 if (custom_mode_params.size()) +00177 { +00178 for (vector<ModeParameter>::iterator i = custom_mode_params.begin(); i < custom_mode_params.end(); i++) +00179 { +00180 if ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +00181 { +00182 return i->parameter; +00183 } +00184 } +00185 } +00186 return ""; +00187 } +00188 +00189 long chanrec::GetUserCounter() +00190 { +00191 return (this->internal_userlist.size()); +00192 } +00193 +00194 void chanrec::AddUser(char* castuser) +00195 { +00196 internal_userlist.push_back(castuser); +00197 log(DEBUG,"Added casted user to channel's internal list"); +00198 } +00199 +00200 void chanrec::DelUser(char* castuser) +00201 { +00202 for (std::vector<char*>::iterator a = internal_userlist.begin(); a < internal_userlist.end(); a++) +00203 { +00204 if (*a == castuser) +00205 { +00206 log(DEBUG,"Removed casted user from channel's internal list"); +00207 internal_userlist.erase(a); +00208 return; +00209 } +00210 } +00211 log(DEBUG,"BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!",name); +00212 } +00213 +00214 std::vector<char*> *chanrec::GetUsers() +00215 { +00216 return &internal_userlist; +00217 } +
Generated on Mon Dec 12 18:30:58 2005 for InspIRCd by  doxygen 1.4.4-20050815
-- cgit v1.3.1-10-gc9f91