2003-01-23 19:45:57 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< html > < head > < meta http-equiv = "Content-Type" content = "text/html;charset=iso-8859-1" >
< title > userrec class Reference< / title >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" >
< / head > < body >
2003-03-30 12:32:32 +00:00
<!-- Generated by Doxygen 1.3 - rc3 -->
2003-01-23 19:45:57 +00:00
< center >
< a class = "qindex" href = "main.html" > Main Page< / a > < a class = "qindex" href = "hierarchy.html" > Class Hierarchy< / a > < a class = "qindex" href = "classes.html" > Alphabetical List< / a > < a class = "qindex" href = "annotated.html" > Compound List< / a > < a class = "qindex" href = "files.html" > File List< / a > < a class = "qindex" href = "functions.html" > Compound Members< / a > < a class = "qindex" href = "globals.html" > File Members< / a > < / center >
< hr > < h1 > userrec Class Reference< / h1 > Holds all information about a user This class stores all information about a user connected to the irc server.
< a href = "#_details" > More...< / a >
< p >
< code > #include < < a class = "el" href = "users_8h-source.html" > users.h< / a > > < / code >
< p >
2003-03-30 12:32:32 +00:00
Inheritance diagram for userrec:< p > < center > < img src = "classuserrec__inherit__graph.gif" border = "0" usemap = "#userrec__inherit__map" alt = "Inheritance graph" > < / center >
< map name = "userrec__inherit__map" >
< area href = "classconnection.html" shape = "rect" coords = "7,85,76,106" alt = "" >
< area href = "classclassbase.html" shape = "rect" coords = "8,16,75,37" alt = "" >
2003-01-26 23:52:48 +00:00
< / map >
2003-03-30 12:32:32 +00:00
< center > < font size = "2" > [< a target = "top" href = "graph_legend.html" > legend< / a > ]< / font > < / center > Collaboration diagram for userrec:< p > < center > < img src = "classuserrec__coll__graph.gif" border = "0" usemap = "#userrec__coll__map" alt = "Collaboration graph" > < / center >
< map name = "userrec__coll__map" >
< area href = "classconnection.html" shape = "rect" coords = "124,179,193,200" alt = "" >
< area href = "classucrec.html" shape = "rect" coords = "312,179,357,200" alt = "" >
< / map >
< center > < font size = "2" > [< a target = "top" href = "graph_legend.html" > legend< / a > ]< / font > < / center > < a href = "classuserrec-members.html" > List of all members.< / a > < table border = 0 cellpadding = 0 cellspacing = 0 >
2003-01-23 19:45:57 +00:00
< tr > < td > < / td > < / tr >
2003-03-30 12:32:32 +00:00
< tr > < td colspan = 2 > < br > < h2 > Public Member Functions< / h2 > < / td > < / tr >
2003-01-23 19:45:57 +00:00
< tr > < td nowrap align = right valign = top > < / td > < td valign = bottom > < a class = "el" href = "classuserrec.html#a0" > userrec< / a > ()< / td > < / tr >
< tr > < td nowrap align = right valign = top > virtual < / td > < td valign = bottom > < a class = "el" href = "classuserrec.html#a1" > ~userrec< / a > ()< / td > < / tr >
< tr > < td nowrap align = right valign = top > virtual char * < / td > < td valign = bottom > < a class = "el" href = "classuserrec.html#a2" > GetFullHost< / a > ()< / td > < / tr >
< tr > < td > < / td > < td > < font size = -1 > < em > Returns the full displayed host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form.< / em > < a href = "#a2" > < / a > < em > < / em > < / font > < br > < br > < / td > < / tr >
< tr > < td nowrap align = right valign = top > virtual char * < / td > < td valign = bottom > < a class = "el" href = "classuserrec.html#a3" > GetFullRealHost< / a > ()< / td > < / tr >
< tr > < td > < / td > < td > < font size = -1 > < em > Returns the full real host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form.< / em > < a href = "#a3" > < / a > < em > < / em > < / font > < br > < br > < / td > < / tr >
< tr > < td nowrap align = right valign = top > virtual bool < / td > < td valign = bottom > < a class = "el" href = "classuserrec.html#a4" > IsInvited< / a > (char *channel)< / td > < / tr >
< tr > < td > < / td > < td > < font size = -1 > < em > Returns true if a user is invited to a channel.< / em > < a href = "#a4" > < / a > < em > < / em > < / font > < br > < br > < / td > < / tr >
< tr > < td nowrap align = right valign = top > virtual void < / td > < td valign = bottom > < a class = "el" href = "classuserrec.html#a5" > InviteTo< / a > (char *channel)< / td > < / tr >
< tr > < td > < / td > < td > < font size = -1 > < em > Adds a channel to a users invite list (invites them to a channel).< / em > < a href = "#a5" > < / a > < em > < / em > < / font > < br > < br > < / td > < / tr >
< tr > < td nowrap align = right valign = top > virtual void < / td > < td valign = bottom > < a class = "el" href = "classuserrec.html#a6" > RemoveInvite< / a > (char *channel)< / td > < / tr >
< tr > < td > < / td > < td > < font size = -1 > < em > Removes a channel from a users invite list.< / em > < a href = "#a6" > < / a > < em > < / em > < / font > < br > < br > < / td > < / tr >
< tr > < td colspan = 2 > < br > < h2 > Public Attributes< / h2 > < / td > < / tr >
< tr > < td nowrap align = right valign = top > char < / td > < td valign = bottom > < a class = "el" href = "classuserrec.html#m0" > nick< / a > [NICKMAX]< / td > < / tr >
< tr > < td > < / td > < td > < font size = -1 > < em > The users nickname.< / em > < a href = "#m0" > < / a > < em > < / em > < / font > < br > < br > < / td > < / tr >
2003-01-26 23:52:48 +00:00
< tr > < td nowrap align = right valign = top > char < / td > < td valign = bottom > < a class = "el" href = "classuserrec.html#m1" > ident< / a > [64]< / td > < / tr >
< tr > < td > < / td > < td > < font size = -1 > < em > The users ident reply.< / em > < a href = "#m1" > < / a > < em > < / em > < / font > < br > < br > < / td > < / tr >
< tr > < td nowrap align = right valign = top > char < / td > < td valign = bottom > < a class = "el" href = "classuserrec.html#m2" > dhost< / a > [256]< / td > < / tr >
< tr > < td > < / td > < td > < font size = -1 > < em > The host displayed to non-opers (used for cloaking etc).< / em > < a href = "#m2" > < / a > < em > < / em > < / font > < br > < br > < / td > < / tr >
< tr > < td nowrap align = right valign = top > char < / td > < td valign = bottom > < a class = "el" href = "classuserrec.html#m3" > fullname< / a > [128]< / td > < / tr >
< tr > < td > < / td > < td > < font size = -1 > < em > The users full name.< / em > < a href = "#m3" > < / a > < em > < / em > < / font > < br > < br > < / td > < / tr >
< tr > < td nowrap align = right valign = top > char < / td > < td valign = bottom > < a class = "el" href = "classuserrec.html#m4" > modes< / a > [32]< / td > < / tr >
< tr > < td > < / td > < td > < font size = -1 > < em > The user's mode string.< / em > < a href = "#m4" > < / a > < em > < / em > < / font > < br > < br > < / td > < / tr >
< tr > < td nowrap align = right valign = top > < a class = "el" href = "classucrec.html" > ucrec< / a > < / td > < td valign = bottom > < a class = "el" href = "classuserrec.html#m5" > chans< / a > [MAXCHANS]< / td > < / tr >
< tr > < td nowrap align = right valign = top > char < / td > < td valign = bottom > < a class = "el" href = "classuserrec.html#m6" > server< / a > [256]< / td > < / tr >
< tr > < td > < / td > < td > < font size = -1 > < em > The server the user is connected to.< / em > < a href = "#m6" > < / a > < em > < / em > < / font > < br > < br > < / td > < / tr >
< tr > < td nowrap align = right valign = top > char < / td > < td valign = bottom > < a class = "el" href = "classuserrec.html#m7" > awaymsg< / a > [512]< / td > < / tr >
< tr > < td > < / td > < td > < font size = -1 > < em > The user's away message.< / em > < a href = "#m7" > < / a > < em > < / em > < / font > < br > < br > < / td > < / tr >
< tr > < td nowrap align = right valign = top > char < / td > < td valign = bottom > < a class = "el" href = "classuserrec.html#m8" > result< / a > [256]< / td > < / tr >
< tr > < td > < / td > < td > < font size = -1 > < em > Stores the result of the last GetFullHost or GetRealHost call.< / em > < a href = "#m8" > < / a > < em > < / em > < / font > < br > < br > < / td > < / tr >
2003-01-23 19:45:57 +00:00
< tr > < td colspan = 2 > < br > < h2 > Private Attributes< / h2 > < / td > < / tr >
< tr > < td nowrap align = right valign = top > < a class = "el" href = "users_8h.html#a6" > InvitedList< / a > < / td > < td valign = bottom > < a class = "el" href = "classuserrec.html#o0" > invites< / a > < / td > < / tr >
< tr > < td > < / td > < td > < font size = -1 > < em > A list of channels the user has a pending invite to.< / em > < a href = "#o0" > < / a > < em > < / em > < / font > < br > < br > < / td > < / tr >
< / table >
< hr > < a name = "_details" > < / a > < h2 > Detailed Description< / h2 >
Holds all information about a user This class stores all information about a user connected to the irc server.
< p >
Everything about a connection is stored here primarily, from the user's socket ID (file descriptor) through to the user's nickname and hostname. Use the Find method of the server class to locate a specific user by nickname.
< p >
< p >
2003-02-09 12:49:00 +00:00
Definition at line < a class = "el" href = "users_8h-source.html#l00058" > 58< / a > of file < a class = "el" href = "users_8h-source.html" > users.h< / a > .< hr > < h2 > Constructor & Destructor Documentation< / h2 >
2003-01-23 19:45:57 +00:00
< a name = "a0" doxytag = "userrec::userrec" > < / a > < p >
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > userrec::userrec < / td >
< td class = "md" valign = "top" > ( < / td >
< td class = "mdname1" valign = "top" nowrap > < / td >
< td class = "md" valign = "top" > ) < / td >
< td class = "md" nowrap > < / td >
< / tr >
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
< p >
2003-02-09 12:49:00 +00:00
Definition at line < a class = "el" href = "users_8cpp-source.html#l00011" > 11< / a > of file < a class = "el" href = "users_8cpp-source.html" > users.cpp< / a > .
2003-01-23 20:38:00 +00:00
< p >
2003-02-09 12:49:00 +00:00
References < a class = "el" href = "connection_8h-source.html#l00046" > connection::bytes_in< / a > , < a class = "el" href = "connection_8h-source.html#l00047" > connection::bytes_out< / a > , < a class = "el" href = "channels_8h-source.html#l00177" > ucrec::channel< / a > , < a class = "el" href = "users_8h-source.html#l00092" > chans< / a > , < a class = "el" href = "connection_8h-source.html#l00048" > connection::cmds_in< / a > , < a class = "el" href = "connection_8h-source.html#l00049" > connection::cmds_out< / a > , < a class = "el" href = "connection_8h-source.html#l00042" > connection::fd< / a > , < a class = "el" href = "connection_8h-source.html#l00050" > connection::haspassed< / a > , < a class = "el" href = "connection_8h-source.html#l00055" > connection::idle_lastmsg< / a > , < a class = "el" href = "users_8h-source.html#l00064" > invites< / a > , < a class = "el" href = "connection_8h-source.html#l00044" > connection::ip< / a > , < a class = "el" href = "connection_8h-source.html#l00053" > connection::lastping< / a > , < a class = "el" href = "connection_8h-source.html#l00056" > connection::nping< / a > , < a class = "el" href = "connection_8h-source.html#l00051" > connection::port< / a > , < a class = "el" href = "connection_8h-source.html#l00052" > connection::registered< / a > , and < a class = "el" href = "connection_8h-source.html#l00054" > connection::signon< / a > .
2003-01-23 20:38:00 +00:00
< p >
2003-02-09 12:49:00 +00:00
< div class = "fragment" > < pre > 00012 {
00013 < span class = "comment" > // the PROPER way to do it, AVOID bzero at *ALL* costs< / span >
00014 strcpy(nick,< span class = "stringliteral" > ""< / span > );
00015 < a class = "code" href = "classconnection.html#m3" > ip< / a > = 0;
00016 strcpy(ident,< span class = "stringliteral" > ""< / span > );
00017 strcpy(host,< span class = "stringliteral" > ""< / span > );
00018 strcpy(dhost,< span class = "stringliteral" > ""< / span > );
00019 strcpy(fullname,< span class = "stringliteral" > ""< / span > );
00020 strcpy(modes,< span class = "stringliteral" > ""< / span > );
00021 strcpy(inbuf,< span class = "stringliteral" > ""< / span > );
00022 strcpy(server,< span class = "stringliteral" > ""< / span > );
00023 strcpy(awaymsg,< span class = "stringliteral" > ""< / span > );
00024 < a class = "code" href = "classconnection.html#m1" > fd< / a > = < a class = "code" href = "classconnection.html#m12" > lastping< / a > = < a class = "code" href = "classconnection.html#m13" > signon< / a > = < a class = "code" href = "classconnection.html#m14" > idle_lastmsg< / a > = < a class = "code" href = "classconnection.html#m15" > nping< / a > = < a class = "code" href = "classconnection.html#m11" > registered< / a > = 0;
00025 < a class = "code" href = "classconnection.html#m10" > port< / a > = < a class = "code" href = "classconnection.html#m5" > bytes_in< / a > = < a class = "code" href = "classconnection.html#m6" > bytes_out< / a > = < a class = "code" href = "classconnection.html#m7" > cmds_in< / a > = < a class = "code" href = "classconnection.html#m8" > cmds_out< / a > = 0;
00026 < a class = "code" href = "classconnection.html#m9" > haspassed< / a > = < span class = "keyword" > false< / span > ;
00027 strcpy(result,< span class = "stringliteral" > ""< / span > );
00028 < span class = "keywordflow" > for< / span > (< span class = "keywordtype" > int< / span > i = 0; i < MAXCHANS; i++)
00029 {
00030 < a class = "code" href = "classuserrec.html#m5" > chans< / a > [i].< a class = "code" href = "classucrec.html#m1" > channel< / a > = NULL;
00031 }
00032 < a class = "code" href = "classuserrec.html#o0" > invites< / a > .clear();
00033 }
2003-01-23 19:45:57 +00:00
< / pre > < / div > < / td >
< / tr >
< / table >
< a name = "a1" doxytag = "userrec::~userrec" > < / a > < p >
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > virtual userrec::~userrec < / td >
< td class = "md" valign = "top" > ( < / td >
< td class = "mdname1" valign = "top" nowrap > < / td >
< td class = "md" valign = "top" > ) < / td >
< td class = "md" nowrap > < code > [inline, virtual]< / code > < / td >
< / tr >
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
< p >
2003-02-09 12:49:00 +00:00
Definition at line < a class = "el" href = "users_8h-source.html#l00110" > 110< / a > of file < a class = "el" href = "users_8h-source.html" > users.h< / a > .
2003-01-23 19:45:57 +00:00
< p >
2003-02-09 12:49:00 +00:00
< div class = "fragment" > < pre > 00110 { }
2003-01-23 19:45:57 +00:00
< / pre > < / div > < / td >
< / tr >
< / table >
< hr > < h2 > Member Function Documentation< / h2 >
< a name = "a2" doxytag = "userrec::GetFullHost" > < / a > < p >
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > char * userrec::GetFullHost < / td >
< td class = "md" valign = "top" > ( < / td >
< td class = "mdname1" valign = "top" nowrap > < / td >
< td class = "md" valign = "top" > ) < / td >
< td class = "md" nowrap > < code > [virtual]< / code > < / td >
< / tr >
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
Returns the full displayed host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form.
< p >
< p >
2003-02-09 12:49:00 +00:00
Definition at line < a class = "el" href = "users_8cpp-source.html#l00036" > 36< / a > of file < a class = "el" href = "users_8cpp-source.html" > users.cpp< / a > .
2003-01-23 19:45:57 +00:00
< p >
2003-02-09 12:49:00 +00:00
References < a class = "el" href = "users_8h-source.html#l00106" > result< / a > .
2003-01-23 19:45:57 +00:00
< p >
2003-02-09 12:49:00 +00:00
< div class = "fragment" > < pre > 00037 {
00038 sprintf(result,< span class = "stringliteral" > "%s!%s@%s"< / span > ,nick,ident,dhost);
00039 < span class = "keywordflow" > return< / span > < a class = "code" href = "classuserrec.html#m8" > result< / a > ;
00040 }
2003-01-23 19:45:57 +00:00
< / pre > < / div > < / td >
< / tr >
< / table >
< a name = "a3" doxytag = "userrec::GetFullRealHost" > < / a > < p >
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > char * userrec::GetFullRealHost < / td >
< td class = "md" valign = "top" > ( < / td >
< td class = "mdname1" valign = "top" nowrap > < / td >
< td class = "md" valign = "top" > ) < / td >
< td class = "md" nowrap > < code > [virtual]< / code > < / td >
< / tr >
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
Returns the full real host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form.
< p >
If any form of hostname cloaking is in operation, e.g. through a module, then this method will ignore it and return the true hostname.
< p >
2003-02-09 12:49:00 +00:00
Definition at line < a class = "el" href = "users_8cpp-source.html#l00043" > 43< / a > of file < a class = "el" href = "users_8cpp-source.html" > users.cpp< / a > .
2003-01-23 19:45:57 +00:00
< p >
2003-02-09 12:49:00 +00:00
References < a class = "el" href = "users_8h-source.html#l00106" > result< / a > .
2003-01-23 19:45:57 +00:00
< p >
2003-02-09 12:49:00 +00:00
< div class = "fragment" > < pre > 00044 {
00045 sprintf(result,< span class = "stringliteral" > "%s!%s@%s"< / span > ,nick,ident,host);
00046 < span class = "keywordflow" > return< / span > < a class = "code" href = "classuserrec.html#m8" > result< / a > ;
00047 }
2003-01-23 19:45:57 +00:00
< / pre > < / div > < / td >
< / tr >
< / table >
< a name = "a5" doxytag = "userrec::InviteTo" > < / a > < p >
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > void userrec::InviteTo < / td >
< td class = "md" valign = "top" > ( < / td >
< td class = "md" nowrap valign = "top" > char * < / td >
< td class = "mdname1" valign = "top" nowrap > < em > channel< / em > < / td >
< td class = "md" valign = "top" > ) < / td >
< td class = "md" nowrap > < code > [virtual]< / code > < / td >
< / tr >
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
Adds a channel to a users invite list (invites them to a channel).
< p >
< p >
2003-02-09 12:49:00 +00:00
Definition at line < a class = "el" href = "users_8cpp-source.html#l00060" > 60< / a > of file < a class = "el" href = "users_8cpp-source.html" > users.cpp< / a > .
2003-01-23 19:45:57 +00:00
< p >
2003-02-09 12:49:00 +00:00
References < a class = "el" href = "users_8h-source.html#l00028" > Invited::channel< / a > , and < a class = "el" href = "users_8h-source.html#l00064" > invites< / a > .
2003-01-23 19:45:57 +00:00
< p >
2003-02-09 12:49:00 +00:00
< div class = "fragment" > < pre > 00061 {
00062 < a class = "code" href = "classInvited.html" > Invited< / a > i;
00063 strcpy(i.< a class = "code" href = "classInvited.html#m0" > channel< / a > ,channel);
00064 < a class = "code" href = "classuserrec.html#o0" > invites< / a > .push_back(i);
00065 }
2003-01-23 19:45:57 +00:00
< / pre > < / div > < / td >
< / tr >
< / table >
< a name = "a4" doxytag = "userrec::IsInvited" > < / a > < p >
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > bool userrec::IsInvited < / td >
< td class = "md" valign = "top" > ( < / td >
< td class = "md" nowrap valign = "top" > char * < / td >
< td class = "mdname1" valign = "top" nowrap > < em > channel< / em > < / td >
< td class = "md" valign = "top" > ) < / td >
< td class = "md" nowrap > < code > [virtual]< / code > < / td >
< / tr >
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
Returns true if a user is invited to a channel.
< p >
< p >
2003-02-09 12:49:00 +00:00
Definition at line < a class = "el" href = "users_8cpp-source.html#l00049" > 49< / a > of file < a class = "el" href = "users_8cpp-source.html" > users.cpp< / a > .
2003-01-23 19:45:57 +00:00
< p >
2003-02-09 12:49:00 +00:00
References < a class = "el" href = "users_8h-source.html#l00064" > invites< / a > .
2003-01-23 19:45:57 +00:00
< p >
2003-02-09 12:49:00 +00:00
< div class = "fragment" > < pre > 00050 {
00051 < span class = "keywordflow" > for< / span > (InvitedList::iterator i = < a class = "code" href = "classuserrec.html#o0" > invites< / a > .begin(); i != < a class = "code" href = "classuserrec.html#o0" > invites< / a > .end(); i++)
00052 {
00053 < span class = "keywordflow" > if< / span > (!strcasecmp(i-> channel,channel))
00054 {
00055 < span class = "keywordflow" > return< / span > < span class = "keyword" > true< / span > ;
00056 }
00057 }
00058 }
2003-01-23 19:45:57 +00:00
< / pre > < / div > < / td >
< / tr >
< / table >
< a name = "a6" doxytag = "userrec::RemoveInvite" > < / a > < p >
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > void userrec::RemoveInvite < / td >
< td class = "md" valign = "top" > ( < / td >
< td class = "md" nowrap valign = "top" > char * < / td >
< td class = "mdname1" valign = "top" nowrap > < em > channel< / em > < / td >
< td class = "md" valign = "top" > ) < / td >
< td class = "md" nowrap > < code > [virtual]< / code > < / td >
< / tr >
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
Removes a channel from a users invite list.
< p >
This member function is called on successfully joining an invite only channel to which the user has previously been invited, to clear the invitation.
< p >
2003-02-09 12:49:00 +00:00
Definition at line < a class = "el" href = "users_8cpp-source.html#l00067" > 67< / a > of file < a class = "el" href = "users_8cpp-source.html" > users.cpp< / a > .
2003-01-23 19:45:57 +00:00
< p >
2003-02-09 12:49:00 +00:00
References < a class = "el" href = "users_8h-source.html#l00064" > invites< / a > .
2003-01-23 19:45:57 +00:00
< p >
2003-02-09 12:49:00 +00:00
< div class = "fragment" > < pre > 00068 {
00069 < span class = "keywordflow" > for< / span > (InvitedList::iterator i = < a class = "code" href = "classuserrec.html#o0" > invites< / a > .begin(); i != < a class = "code" href = "classuserrec.html#o0" > invites< / a > .end(); i++)
00070 {
00071 < span class = "keywordflow" > if< / span > (!strcasecmp(i-> channel,channel))
00072 {
00073 < a class = "code" href = "classuserrec.html#o0" > invites< / a > .erase(i);
00074 < span class = "keywordflow" > return< / span > ;
00075 }
00076 }
00077 }
2003-01-23 19:45:57 +00:00
< / pre > < / div > < / td >
< / tr >
< / table >
< hr > < h2 > Member Data Documentation< / h2 >
2003-01-26 23:52:48 +00:00
< a name = "m7" doxytag = "userrec::awaymsg" > < / a > < p >
2003-01-23 19:45:57 +00:00
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > char userrec::awaymsg[512]
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
The user's away message.
< p >
If this string is empty, the user is not marked as away.
< p >
2003-02-09 12:49:00 +00:00
Definition at line < a class = "el" href = "users_8h-source.html#l00101" > 101< / a > of file < a class = "el" href = "users_8h-source.html" > users.h< / a > . < / td >
2003-01-23 19:45:57 +00:00
< / tr >
< / table >
2003-01-26 23:52:48 +00:00
< a name = "m5" doxytag = "userrec::chans" > < / a > < p >
2003-01-23 19:45:57 +00:00
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > < a class = "el" href = "classucrec.html" > ucrec< / a > userrec::chans[MAXCHANS]
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
< p >
2003-02-09 12:49:00 +00:00
Definition at line < a class = "el" href = "users_8h-source.html#l00092" > 92< / a > of file < a class = "el" href = "users_8h-source.html" > users.h< / a > .
2003-01-23 19:45:57 +00:00
< p >
2003-02-09 12:49:00 +00:00
Referenced by < a class = "el" href = "users_8cpp-source.html#l00011" > userrec()< / a > . < / td >
2003-01-23 19:45:57 +00:00
< / tr >
< / table >
2003-01-26 23:52:48 +00:00
< a name = "m2" doxytag = "userrec::dhost" > < / a > < p >
2003-01-23 19:45:57 +00:00
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > char userrec::dhost[256]
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
The host displayed to non-opers (used for cloaking etc).
< p >
2003-02-09 12:49:00 +00:00
This usually matches the value of < a class = "el" href = "classconnection.html#m2" > userrec::host< / a > .
2003-01-23 19:45:57 +00:00
< p >
2003-02-09 12:49:00 +00:00
Definition at line < a class = "el" href = "users_8h-source.html#l00080" > 80< / a > of file < a class = "el" href = "users_8h-source.html" > users.h< / a > . < / td >
2003-01-23 19:45:57 +00:00
< / tr >
< / table >
2003-01-26 23:52:48 +00:00
< a name = "m3" doxytag = "userrec::fullname" > < / a > < p >
2003-01-23 19:45:57 +00:00
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > char userrec::fullname[128]
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
The users full name.
< p >
< p >
2003-02-09 12:49:00 +00:00
Definition at line < a class = "el" href = "users_8h-source.html#l00084" > 84< / a > of file < a class = "el" href = "users_8h-source.html" > users.h< / a > . < / td >
2003-01-23 19:45:57 +00:00
< / tr >
< / table >
2003-01-26 23:52:48 +00:00
< a name = "m1" doxytag = "userrec::ident" > < / a > < p >
2003-01-23 19:45:57 +00:00
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > char userrec::ident[64]
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
The users ident reply.
< p >
< p >
2003-02-09 12:49:00 +00:00
Definition at line < a class = "el" href = "users_8h-source.html#l00075" > 75< / a > of file < a class = "el" href = "users_8h-source.html" > users.h< / a > . < / td >
2003-01-23 19:45:57 +00:00
< / tr >
< / table >
< a name = "o0" doxytag = "userrec::invites" > < / a > < p >
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > < a class = "el" href = "users_8h.html#a6" > InvitedList< / a > userrec::invites< code > [private]< / code >
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
A list of channels the user has a pending invite to.
< p >
< p >
2003-02-09 12:49:00 +00:00
Definition at line < a class = "el" href = "users_8h-source.html#l00064" > 64< / a > of file < a class = "el" href = "users_8h-source.html" > users.h< / a > .
2003-01-23 19:45:57 +00:00
< p >
2003-02-09 12:49:00 +00:00
Referenced by < a class = "el" href = "users_8cpp-source.html#l00060" > InviteTo()< / a > , < a class = "el" href = "users_8cpp-source.html#l00049" > IsInvited()< / a > , < a class = "el" href = "users_8cpp-source.html#l00067" > RemoveInvite()< / a > , and < a class = "el" href = "users_8cpp-source.html#l00011" > userrec()< / a > . < / td >
2003-01-23 19:45:57 +00:00
< / tr >
< / table >
2003-01-26 23:52:48 +00:00
< a name = "m4" doxytag = "userrec::modes" > < / a > < p >
2003-01-23 19:45:57 +00:00
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > char userrec::modes[32]
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
The user's mode string.
< p >
This may contain any of the following RFC characters: o, w, s, i Your module may define other mode characters as it sees fit.
< p >
2003-02-09 12:49:00 +00:00
Definition at line < a class = "el" href = "users_8h-source.html#l00090" > 90< / a > of file < a class = "el" href = "users_8h-source.html" > users.h< / a > . < / td >
2003-01-23 19:45:57 +00:00
< / tr >
< / table >
< a name = "m0" doxytag = "userrec::nick" > < / a > < p >
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > char userrec::nick[NICKMAX]
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
The users nickname.
< p >
An invalid nickname indicates an unregistered connection prior to the NICK command.
< p >
2003-02-09 12:49:00 +00:00
Definition at line < a class = "el" href = "users_8h-source.html#l00071" > 71< / a > of file < a class = "el" href = "users_8h-source.html" > users.h< / a > . < / td >
2003-01-23 19:45:57 +00:00
< / tr >
< / table >
2003-01-26 23:52:48 +00:00
< a name = "m8" doxytag = "userrec::result" > < / a > < p >
2003-01-23 19:45:57 +00:00
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > char userrec::result[256]
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
Stores the result of the last GetFullHost or GetRealHost call.
< p >
You may use this to increase the speed of use of this class.
< p >
2003-02-09 12:49:00 +00:00
Definition at line < a class = "el" href = "users_8h-source.html#l00106" > 106< / a > of file < a class = "el" href = "users_8h-source.html" > users.h< / a > .
2003-01-23 19:45:57 +00:00
< p >
2003-02-09 12:49:00 +00:00
Referenced by < a class = "el" href = "users_8cpp-source.html#l00036" > GetFullHost()< / a > , and < a class = "el" href = "users_8cpp-source.html#l00043" > GetFullRealHost()< / a > . < / td >
2003-01-23 19:45:57 +00:00
< / tr >
< / table >
2003-01-26 23:52:48 +00:00
< a name = "m6" doxytag = "userrec::server" > < / a > < p >
2003-01-23 19:45:57 +00:00
< table width = "100%" cellpadding = "2" cellspacing = "0" border = "0" >
< tr >
< td class = "md" >
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > char userrec::server[256]
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
The server the user is connected to.
< p >
< p >
2003-02-09 12:49:00 +00:00
Definition at line < a class = "el" href = "users_8h-source.html#l00096" > 96< / a > of file < a class = "el" href = "users_8h-source.html" > users.h< / a > . < / td >
2003-01-23 19:45:57 +00:00
< / tr >
< / table >
< hr > The documentation for this class was generated from the following files:< ul >
< li > < a class = "el" href = "users_8h-source.html" > users.h< / a > < li > < a class = "el" href = "users_8cpp-source.html" > users.cpp< / a > < / ul >
2003-03-30 18:38:07 +00:00
< hr > < address style = "align: right;" > < small > Generated on Sun Mar 30 19:36:35 2003 for InspIRCd by
2003-01-23 19:45:57 +00:00
< a href = "http://www.doxygen.org/index.html" >
< img src = "doxygen.png" alt = "doxygen" align = "middle" border = 0
2003-03-30 12:32:32 +00:00
width=110 height=53>< / a > 1.3-rc3 < / small > < / address >
2003-01-23 19:45:57 +00:00
< / body >
< / html >