1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>chanrec class Reference</title>
4 <link href="inspircd.css" rel="stylesheet" type="text/css">
6 <!-- Generated by Doxygen 1.3-rc3 -->
8 <a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</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>
9 <hr><h1>chanrec Class Reference</h1>Holds all relevent information for a channel.
10 <a href="#_details">More...</a>
12 <code>#include <<a class="el" href="channels_8h-source.html">channels.h</a>></code>
14 Inheritance diagram for chanrec:<p><center><img src="classchanrec__inherit__graph.gif" border="0" usemap="#chanrec__inherit__map" alt="Inheritance graph"></center>
15 <map name="chanrec__inherit__map">
16 <area href="classExtensible.html" shape="rect" coords="7,85,76,106" alt="">
17 <area href="classclassbase.html" shape="rect" coords="8,16,75,37" alt="">
19 <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for chanrec:<p><center><img src="classchanrec__coll__graph.gif" border="0" usemap="#chanrec__coll__map" alt="Collaboration graph"></center>
20 <map name="chanrec__coll__map">
21 <area href="classExtensible.html" shape="rect" coords="89,214,159,235" alt="">
22 <area href="classclassbase.html" shape="rect" coords="68,107,135,128" alt="">
24 <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classchanrec-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
26 <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
27 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classchanrec.html#a0">SetCustomMode</a> (char mode, bool mode_on)</td></tr>
28 <tr><td> </td><td><font size=-1><em>Sets or unsets a custom mode in the channels info.</em> <a href="#a0"></a><em></em></font><br><br></td></tr>
29 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classchanrec.html#a1">SetCustomModeParam</a> (char mode, char *parameter, bool mode_on)</td></tr>
30 <tr><td> </td><td><font size=-1><em>Sets or unsets the parameters for a custom mode in a channels info.</em> <a href="#a1"></a><em></em></font><br><br></td></tr>
31 <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classchanrec.html#a2">IsCustomModeSet</a> (char mode)</td></tr>
32 <tr><td> </td><td><font size=-1><em>Returns true if a custom mode is set on a channel.</em> <a href="#a2"></a><em></em></font><br><br></td></tr>
33 <tr><td nowrap align=right valign=top>std::string </td><td valign=bottom><a class="el" href="classchanrec.html#a3">GetModeParameter</a> (char mode)</td></tr>
34 <tr><td> </td><td><font size=-1><em>Returns the parameter for a custom mode on a channel.</em> <a href="#a3"></a><em></em></font><br><br></td></tr>
35 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classchanrec.html#a4">chanrec</a> ()</td></tr>
36 <tr><td> </td><td><font size=-1><em>Creates a channel record and initialises it with default values.</em> <a href="#a4"></a><em></em></font><br><br></td></tr>
37 <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classchanrec.html#a5">~chanrec</a> ()</td></tr>
38 <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
39 <tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classchanrec.html#m0">name</a> [CHANMAX]</td></tr>
40 <tr><td> </td><td><font size=-1><em>The channels name.</em> <a href="#m0"></a><em></em></font><br><br></td></tr>
41 <tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classchanrec.html#m1">custom_modes</a> [MAXMODES]</td></tr>
42 <tr><td> </td><td><font size=-1><em>Custom modes for the channel.</em> <a href="#m1"></a><em></em></font><br><br></td></tr>
43 <tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classchanrec.html#m2">topic</a> [MAXBUF]</td></tr>
44 <tr><td> </td><td><font size=-1><em>Channel topic.</em> <a href="#m2"></a><em></em></font><br><br></td></tr>
45 <tr><td nowrap align=right valign=top>time_t </td><td valign=bottom><a class="el" href="classchanrec.html#m3">created</a></td></tr>
46 <tr><td> </td><td><font size=-1><em>Creation time.</em> <a href="#m3"></a><em></em></font><br><br></td></tr>
47 <tr><td nowrap align=right valign=top>time_t </td><td valign=bottom><a class="el" href="classchanrec.html#m4">topicset</a></td></tr>
48 <tr><td> </td><td><font size=-1><em>Time topic was set.</em> <a href="#m4"></a><em></em></font><br><br></td></tr>
49 <tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classchanrec.html#m5">setby</a> [NICKMAX]</td></tr>
50 <tr><td> </td><td><font size=-1><em>The last user to set the topic.</em> <a href="#m5"></a><em></em></font><br><br></td></tr>
51 <tr><td nowrap align=right valign=top>long </td><td valign=bottom><a class="el" href="classchanrec.html#m6">limit</a></td></tr>
52 <tr><td> </td><td><font size=-1><em>Contains the channel user limit.</em> <a href="#m6"></a><em></em></font><br><br></td></tr>
53 <tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classchanrec.html#m7">key</a> [32]</td></tr>
54 <tr><td> </td><td><font size=-1><em>Contains the channel key.</em> <a href="#m7"></a><em></em></font><br><br></td></tr>
55 <tr><td nowrap align=right valign=top>short int </td><td valign=bottom><a class="el" href="classchanrec.html#m8">topiclock</a></td></tr>
56 <tr><td> </td><td><font size=-1><em>Nonzero if the mode +t is set.</em> <a href="#m8"></a><em></em></font><br><br></td></tr>
57 <tr><td nowrap align=right valign=top>short int </td><td valign=bottom><a class="el" href="classchanrec.html#m9">noexternal</a></td></tr>
58 <tr><td> </td><td><font size=-1><em>Nonzero if the mode +n is set.</em> <a href="#m9"></a><em></em></font><br><br></td></tr>
59 <tr><td nowrap align=right valign=top>short int </td><td valign=bottom><a class="el" href="classchanrec.html#m10">inviteonly</a></td></tr>
60 <tr><td> </td><td><font size=-1><em>Nonzero if the mode +i is set.</em> <a href="#m10"></a><em></em></font><br><br></td></tr>
61 <tr><td nowrap align=right valign=top>short int </td><td valign=bottom><a class="el" href="classchanrec.html#m11">moderated</a></td></tr>
62 <tr><td> </td><td><font size=-1><em>Nonzero if the mode +m is set.</em> <a href="#m11"></a><em></em></font><br><br></td></tr>
63 <tr><td nowrap align=right valign=top>short int </td><td valign=bottom><a class="el" href="classchanrec.html#m12">secret</a></td></tr>
64 <tr><td> </td><td><font size=-1><em>Nonzero if the mode +s is set.</em> <a href="#m12"></a><em></em></font><br><br></td></tr>
65 <tr><td nowrap align=right valign=top>short int </td><td valign=bottom><a class="el" href="classchanrec.html#m13">c_private</a></td></tr>
66 <tr><td> </td><td><font size=-1><em>Nonzero if the mode +p is set.</em> <a href="#m13"></a><em></em></font><br><br></td></tr>
67 <tr><td nowrap align=right valign=top><a class="el" href="channels_8h.html#a5">BanList</a> </td><td valign=bottom><a class="el" href="classchanrec.html#m14">bans</a></td></tr>
68 <tr><td> </td><td><font size=-1><em>The list of all bans set on the channel.</em> <a href="#m14"></a><em></em></font><br><br></td></tr>
70 <hr><a name="_details"></a><h2>Detailed Description</h2>
71 Holds all relevent information for a channel.
73 This class represents a channel, and contains its name, modes, time created, topic, topic set time, etc, and an instance of the BanList type.
77 Definition at line <a class="el" href="channels_8h-source.html#l00083">83</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
78 <a name="a4" doxytag="chanrec::chanrec"></a><p>
79 <table width="100%" cellpadding="2" cellspacing="0" border="0">
82 <table cellpadding="0" cellspacing="0" border="0">
84 <td class="md" nowrap valign="top"> chanrec::chanrec </td>
85 <td class="md" valign="top">( </td>
86 <td class="mdname1" valign="top" nowrap> </td>
87 <td class="md" valign="top">) </td>
88 <td class="md" nowrap></td>
95 <table cellspacing=5 cellpadding=0 border=0>
103 Creates a channel record and initialises it with default values.
107 Definition at line <a class="el" href="channels_8cpp-source.html#l00012">12</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
109 References <a class="el" href="channels_8h-source.html#l00144">c_private</a>, <a class="el" href="channels_8h-source.html#l00100">created</a>, <a class="el" href="channels_8h-source.html#l00130">inviteonly</a>, <a class="el" href="channels_8h-source.html#l00113">limit</a>, <a class="el" href="channels_8h-source.html#l00134">moderated</a>, <a class="el" href="channels_8h-source.html#l00126">noexternal</a>, <a class="el" href="channels_8h-source.html#l00139">secret</a>, <a class="el" href="channels_8h-source.html#l00122">topiclock</a>, and <a class="el" href="channels_8h-source.html#l00104">topicset</a>.
111 <div class="fragment"><pre>00013 {
112 00014 strcpy(name,<span class="stringliteral">""</span>);
113 00015 strcpy(custom_modes,<span class="stringliteral">""</span>);
114 00016 strcpy(topic,<span class="stringliteral">""</span>);
115 00017 strcpy(setby,<span class="stringliteral">""</span>);
116 00018 strcpy(key,<span class="stringliteral">""</span>);
117 00019 <a class="code" href="classchanrec.html#m3">created</a> = <a class="code" href="classchanrec.html#m4">topicset</a> = <a class="code" href="classchanrec.html#m6">limit</a> = 0;
118 00020 <a class="code" href="classchanrec.html#m8">topiclock</a> = <a class="code" href="classchanrec.html#m9">noexternal</a> = <a class="code" href="classchanrec.html#m10">inviteonly</a> = <a class="code" href="classchanrec.html#m11">moderated</a> = <a class="code" href="classchanrec.html#m12">secret</a> = <a class="code" href="classchanrec.html#m13">c_private</a> = <span class="keyword">false</span>;
123 <a name="a5" doxytag="chanrec::~chanrec"></a><p>
124 <table width="100%" cellpadding="2" cellspacing="0" border="0">
127 <table cellpadding="0" cellspacing="0" border="0">
129 <td class="md" nowrap valign="top"> virtual chanrec::~chanrec </td>
130 <td class="md" valign="top">( </td>
131 <td class="mdname1" valign="top" nowrap> </td>
132 <td class="md" valign="top">) </td>
133 <td class="md" nowrap><code> [inline, virtual]</code></td>
140 <table cellspacing=5 cellpadding=0 border=0>
150 Definition at line <a class="el" href="channels_8h-source.html#l00174">174</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
152 <div class="fragment"><pre>00174 { <span class="comment">/* stub */</span> }
156 <hr><h2>Member Function Documentation</h2>
157 <a name="a3" doxytag="chanrec::GetModeParameter"></a><p>
158 <table width="100%" cellpadding="2" cellspacing="0" border="0">
161 <table cellpadding="0" cellspacing="0" border="0">
163 <td class="md" nowrap valign="top"> std::string chanrec::GetModeParameter </td>
164 <td class="md" valign="top">( </td>
165 <td class="md" nowrap valign="top">char </td>
166 <td class="mdname1" valign="top" nowrap> <em>mode</em> </td>
167 <td class="md" valign="top">) </td>
168 <td class="md" nowrap></td>
175 <table cellspacing=5 cellpadding=0 border=0>
183 Returns the parameter for a custom mode on a channel.
185 For example if "+L #foo" is set, and you pass this method 'L', it will return '#foo'. If the mode is not set on the channel, or the mode has no parameters associated with it, it will return an empty string.
187 Definition at line <a class="el" href="channels_8cpp-source.html#l00087">87</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
189 References <a class="el" href="channels_8cpp-source.html#l00010">custom_mode_params</a>.
191 <div class="fragment"><pre>00088 {
192 00089 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a0">custom_mode_params</a>.size())
194 00091 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a0">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a0">custom_mode_params</a>.end(); i++)
196 00093 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel)))
198 00095 <span class="keywordflow">return</span> std::string(i->parameter);
202 00099 <span class="keywordflow">return</span> std::string(<span class="stringliteral">""</span>);
207 <a name="a2" doxytag="chanrec::IsCustomModeSet"></a><p>
208 <table width="100%" cellpadding="2" cellspacing="0" border="0">
211 <table cellpadding="0" cellspacing="0" border="0">
213 <td class="md" nowrap valign="top"> bool chanrec::IsCustomModeSet </td>
214 <td class="md" valign="top">( </td>
215 <td class="md" nowrap valign="top">char </td>
216 <td class="mdname1" valign="top" nowrap> <em>mode</em> </td>
217 <td class="md" valign="top">) </td>
218 <td class="md" nowrap></td>
225 <table cellspacing=5 cellpadding=0 border=0>
233 Returns true if a custom mode is set on a channel.
237 Definition at line <a class="el" href="channels_8cpp-source.html#l00081">81</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
239 <div class="fragment"><pre>00082 {
240 00083 log(DEBUG,<span class="stringliteral">"Checking ISCustomModeSet: %c %s"</span>,mode,this->custom_modes);
241 00084 <span class="keywordflow">return</span> (strchr(this->custom_modes,mode) != 0);
246 <a name="a0" doxytag="chanrec::SetCustomMode"></a><p>
247 <table width="100%" cellpadding="2" cellspacing="0" border="0">
250 <table cellpadding="0" cellspacing="0" border="0">
252 <td class="md" nowrap valign="top"> void chanrec::SetCustomMode </td>
253 <td class="md" valign="top">( </td>
254 <td class="md" nowrap valign="top">char </td>
255 <td class="mdname" nowrap> <em>mode</em>, </td>
260 <td class="md" nowrap>bool </td>
261 <td class="mdname" nowrap> <em>mode_on</em></td>
265 <td class="md">) </td>
266 <td class="md" colspan="2"></td>
273 <table cellspacing=5 cellpadding=0 border=0>
281 Sets or unsets a custom mode in the channels info.
285 Definition at line <a class="el" href="channels_8cpp-source.html#l00023">23</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
287 References <a class="el" href="channels_8h-source.html#l00092">custom_modes</a>, and <a class="el" href="channels_8cpp-source.html#l00050">SetCustomModeParam()</a>.
289 <div class="fragment"><pre>00024 {
290 00025 <span class="keywordflow">if</span> (mode_on) {
291 00026 <span class="keywordtype">char</span> m[3];
293 00028 m[1] = <span class="charliteral">'\0'</span>;
294 00029 <span class="keywordflow">if</span> (!strchr(this->custom_modes,mode))
296 00031 strncat(custom_modes,m,MAXMODES);
298 00033 log(DEBUG,<span class="stringliteral">"Custom mode %c set"</span>,mode);
300 00035 <span class="keywordflow">else</span> {
301 00036 <span class="keywordtype">char</span> temp[MAXBUF];
302 00037 <span class="keywordtype">int</span> count = 0;
303 00038 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> q = 0; q < strlen(custom_modes); q++) {
304 00039 <span class="keywordflow">if</span> (<a class="code" href="classchanrec.html#m1">custom_modes</a>[q] != mode) {
305 00040 temp[count++] = mode;
308 00043 temp[count] = <span class="charliteral">'\0'</span>;
309 00044 strncpy(custom_modes,temp,MAXMODES);
310 00045 log(DEBUG,<span class="stringliteral">"Custom mode %c removed"</span>,mode);
311 00046 this-><a class="code" href="classchanrec.html#a1">SetCustomModeParam</a>(mode,<span class="stringliteral">""</span>,<span class="keyword">false</span>);
317 <a name="a1" doxytag="chanrec::SetCustomModeParam"></a><p>
318 <table width="100%" cellpadding="2" cellspacing="0" border="0">
321 <table cellpadding="0" cellspacing="0" border="0">
323 <td class="md" nowrap valign="top"> void chanrec::SetCustomModeParam </td>
324 <td class="md" valign="top">( </td>
325 <td class="md" nowrap valign="top">char </td>
326 <td class="mdname" nowrap> <em>mode</em>, </td>
331 <td class="md" nowrap>char * </td>
332 <td class="mdname" nowrap> <em>parameter</em>, </td>
337 <td class="md" nowrap>bool </td>
338 <td class="mdname" nowrap> <em>mode_on</em></td>
342 <td class="md">) </td>
343 <td class="md" colspan="2"></td>
350 <table cellspacing=5 cellpadding=0 border=0>
358 Sets or unsets the parameters for a custom mode in a channels info.
362 Definition at line <a class="el" href="channels_8cpp-source.html#l00050">50</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
364 References <a class="el" href="channels_8h-source.html#l00064">ModeParameter::channel</a>, <a class="el" href="channels_8cpp-source.html#l00010">custom_mode_params</a>, <a class="el" href="channels_8h-source.html#l00062">ModeParameter::mode</a>, and <a class="el" href="channels_8h-source.html#l00063">ModeParameter::parameter</a>.
366 Referenced by <a class="el" href="channels_8cpp-source.html#l00023">SetCustomMode()</a>.
368 <div class="fragment"><pre>00051 {
370 00053 log(DEBUG,<span class="stringliteral">"SetCustomModeParam called"</span>);
371 00054 <a class="code" href="classModeParameter.html">ModeParameter</a> M;
372 00055 M.<a class="code" href="classModeParameter.html#m0">mode</a> = mode;
373 00056 strcpy(M.<a class="code" href="classModeParameter.html#m2">channel</a>,this->name);
374 00057 strcpy(M.<a class="code" href="classModeParameter.html#m1">parameter</a>,parameter);
375 00058 <span class="keywordflow">if</span> (mode_on)
377 00060 log(DEBUG,<span class="stringliteral">"Custom mode parameter %c %s added"</span>,mode,parameter);
378 00061 <a class="code" href="channels_8cpp.html#a0">custom_mode_params</a>.push_back(M);
380 00063 <span class="keywordflow">else</span>
382 00065 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a0">custom_mode_params</a>.size())
384 00067 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a0">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a0">custom_mode_params</a>.end(); i++)
386 00069 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel)))
388 00071 log(DEBUG,<span class="stringliteral">"Custom mode parameter %c %s removed"</span>,mode,parameter);
389 00072 <a class="code" href="channels_8cpp.html#a0">custom_mode_params</a>.erase(i);
390 00073 <span class="keywordflow">return</span>;
394 00077 log(DEBUG,<span class="stringliteral">"*** BUG *** Attempt to remove non-existent mode parameter!"</span>);
400 <hr><h2>Member Data Documentation</h2>
401 <a name="m14" doxytag="chanrec::bans"></a><p>
402 <table width="100%" cellpadding="2" cellspacing="0" border="0">
405 <table cellpadding="0" cellspacing="0" border="0">
407 <td class="md" nowrap valign="top"> <a class="el" href="channels_8h.html#a5">BanList</a> chanrec::bans
412 <table cellspacing=5 cellpadding=0 border=0>
420 The list of all bans set on the channel.
424 Definition at line <a class="el" href="channels_8h-source.html#l00148">148</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
427 <a name="m13" doxytag="chanrec::c_private"></a><p>
428 <table width="100%" cellpadding="2" cellspacing="0" border="0">
431 <table cellpadding="0" cellspacing="0" border="0">
433 <td class="md" nowrap valign="top"> short int chanrec::c_private
438 <table cellspacing=5 cellpadding=0 border=0>
446 Nonzero if the mode +p is set.
448 This value cannot be set at the same time as <a class="el" href="classchanrec.html#m12">chanrec::secret</a>
450 Definition at line <a class="el" href="channels_8h-source.html#l00144">144</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
452 Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a>. </td>
455 <a name="m3" doxytag="chanrec::created"></a><p>
456 <table width="100%" cellpadding="2" cellspacing="0" border="0">
459 <table cellpadding="0" cellspacing="0" border="0">
461 <td class="md" nowrap valign="top"> time_t chanrec::created
466 <table cellspacing=5 cellpadding=0 border=0>
478 Definition at line <a class="el" href="channels_8h-source.html#l00100">100</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
480 Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a>. </td>
483 <a name="m1" doxytag="chanrec::custom_modes"></a><p>
484 <table width="100%" cellpadding="2" cellspacing="0" border="0">
487 <table cellpadding="0" cellspacing="0" border="0">
489 <td class="md" nowrap valign="top"> char chanrec::custom_modes[MAXMODES]
494 <table cellspacing=5 cellpadding=0 border=0>
502 Custom modes for the channel.
504 Plugins may use this field in any way they see fit.
506 Definition at line <a class="el" href="channels_8h-source.html#l00092">92</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
508 Referenced by <a class="el" href="channels_8cpp-source.html#l00023">SetCustomMode()</a>. </td>
511 <a name="m10" doxytag="chanrec::inviteonly"></a><p>
512 <table width="100%" cellpadding="2" cellspacing="0" border="0">
515 <table cellpadding="0" cellspacing="0" border="0">
517 <td class="md" nowrap valign="top"> short int chanrec::inviteonly
522 <table cellspacing=5 cellpadding=0 border=0>
530 Nonzero if the mode +i is set.
534 Definition at line <a class="el" href="channels_8h-source.html#l00130">130</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
536 Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a>. </td>
539 <a name="m7" doxytag="chanrec::key"></a><p>
540 <table width="100%" cellpadding="2" cellspacing="0" border="0">
543 <table cellpadding="0" cellspacing="0" border="0">
545 <td class="md" nowrap valign="top"> char chanrec::key[32]
550 <table cellspacing=5 cellpadding=0 border=0>
558 Contains the channel key.
560 If this value is an empty string, there is no channel key in place.
562 Definition at line <a class="el" href="channels_8h-source.html#l00118">118</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
565 <a name="m6" doxytag="chanrec::limit"></a><p>
566 <table width="100%" cellpadding="2" cellspacing="0" border="0">
569 <table cellpadding="0" cellspacing="0" border="0">
571 <td class="md" nowrap valign="top"> long chanrec::limit
576 <table cellspacing=5 cellpadding=0 border=0>
584 Contains the channel user limit.
586 If this value is zero, there is no limit in place.
588 Definition at line <a class="el" href="channels_8h-source.html#l00113">113</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
590 Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a>. </td>
593 <a name="m11" doxytag="chanrec::moderated"></a><p>
594 <table width="100%" cellpadding="2" cellspacing="0" border="0">
597 <table cellpadding="0" cellspacing="0" border="0">
599 <td class="md" nowrap valign="top"> short int chanrec::moderated
604 <table cellspacing=5 cellpadding=0 border=0>
612 Nonzero if the mode +m is set.
616 Definition at line <a class="el" href="channels_8h-source.html#l00134">134</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
618 Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a>. </td>
621 <a name="m0" doxytag="chanrec::name"></a><p>
622 <table width="100%" cellpadding="2" cellspacing="0" border="0">
625 <table cellpadding="0" cellspacing="0" border="0">
627 <td class="md" nowrap valign="top"> char chanrec::name[CHANMAX]
632 <table cellspacing=5 cellpadding=0 border=0>
644 Definition at line <a class="el" href="channels_8h-source.html#l00088">88</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
647 <a name="m9" doxytag="chanrec::noexternal"></a><p>
648 <table width="100%" cellpadding="2" cellspacing="0" border="0">
651 <table cellpadding="0" cellspacing="0" border="0">
653 <td class="md" nowrap valign="top"> short int chanrec::noexternal
658 <table cellspacing=5 cellpadding=0 border=0>
666 Nonzero if the mode +n is set.
670 Definition at line <a class="el" href="channels_8h-source.html#l00126">126</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
672 Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a>. </td>
675 <a name="m12" doxytag="chanrec::secret"></a><p>
676 <table width="100%" cellpadding="2" cellspacing="0" border="0">
679 <table cellpadding="0" cellspacing="0" border="0">
681 <td class="md" nowrap valign="top"> short int chanrec::secret
686 <table cellspacing=5 cellpadding=0 border=0>
694 Nonzero if the mode +s is set.
696 This value cannot be set at the same time as <a class="el" href="classchanrec.html#m13">chanrec::c_private</a>
698 Definition at line <a class="el" href="channels_8h-source.html#l00139">139</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
700 Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a>. </td>
703 <a name="m5" doxytag="chanrec::setby"></a><p>
704 <table width="100%" cellpadding="2" cellspacing="0" border="0">
707 <table cellpadding="0" cellspacing="0" border="0">
709 <td class="md" nowrap valign="top"> char chanrec::setby[NICKMAX]
714 <table cellspacing=5 cellpadding=0 border=0>
722 The last user to set the topic.
724 If this member is an empty string, no topic was ever set.
726 Definition at line <a class="el" href="channels_8h-source.html#l00108">108</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
729 <a name="m2" doxytag="chanrec::topic"></a><p>
730 <table width="100%" cellpadding="2" cellspacing="0" border="0">
733 <table cellpadding="0" cellspacing="0" border="0">
735 <td class="md" nowrap valign="top"> char chanrec::topic[MAXBUF]
740 <table cellspacing=5 cellpadding=0 border=0>
750 If this is an empty string, no channel topic is set.
752 Definition at line <a class="el" href="channels_8h-source.html#l00097">97</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
755 <a name="m8" doxytag="chanrec::topiclock"></a><p>
756 <table width="100%" cellpadding="2" cellspacing="0" border="0">
759 <table cellpadding="0" cellspacing="0" border="0">
761 <td class="md" nowrap valign="top"> short int chanrec::topiclock
766 <table cellspacing=5 cellpadding=0 border=0>
774 Nonzero if the mode +t is set.
778 Definition at line <a class="el" href="channels_8h-source.html#l00122">122</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
780 Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a>. </td>
783 <a name="m4" doxytag="chanrec::topicset"></a><p>
784 <table width="100%" cellpadding="2" cellspacing="0" border="0">
787 <table cellpadding="0" cellspacing="0" border="0">
789 <td class="md" nowrap valign="top"> time_t chanrec::topicset
794 <table cellspacing=5 cellpadding=0 border=0>
804 If no topic was ever set, this will be equal to <a class="el" href="classchanrec.html#m3">chanrec::created</a>
806 Definition at line <a class="el" href="channels_8h-source.html#l00104">104</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
808 Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a>. </td>
811 <hr>The documentation for this class was generated from the following files:<ul>
812 <li><a class="el" href="channels_8h-source.html">channels.h</a><li><a class="el" href="channels_8cpp-source.html">channels.cpp</a></ul>
813 <hr><address style="align: right;"><small>Generated on Thu Apr 29 16:21:58 2004 for InspIRCd by
814 <a href="http://www.doxygen.org/index.html">
815 <img src="doxygen.png" alt="doxygen" align="middle" border=0
816 width=110 height=53></a>1.3-rc3 </small></address>