File: preferences_8hh-source.html

package info (click to toggle)
mailfilter 0.8.2-4
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,956 kB
  • sloc: cpp: 2,459; ansic: 1,259; sh: 1,134; lex: 566; yacc: 463; makefile: 221; perl: 72
file content (160 lines) | stat: -rw-r--r-- 25,763 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>mailfilter: preferences.hh Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<h1>preferences.hh</h1><a href="preferences_8hh.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// preferences.hh - source file for the mailfilter program</span>
<a name="l00002"></a>00002 <span class="comment">// Copyright (c) 2000 - 2009  Andreas Bauer &lt;baueran@gmail.com&gt;</span>
<a name="l00003"></a>00003 <span class="comment">//</span>
<a name="l00004"></a>00004 <span class="comment">// This program is free software; you can redistribute it and/or modify</span>
<a name="l00005"></a>00005 <span class="comment">// it under the terms of the GNU General Public License as published by</span>
<a name="l00006"></a>00006 <span class="comment">// the Free Software Foundation; either version 2 of the License, or</span>
<a name="l00007"></a>00007 <span class="comment">// (at your option) any later version.</span>
<a name="l00008"></a>00008 <span class="comment">//</span>
<a name="l00009"></a>00009 <span class="comment">// This program is distributed in the hope that it will be useful,</span>
<a name="l00010"></a>00010 <span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00011"></a>00011 <span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
<a name="l00012"></a>00012 <span class="comment">// GNU General Public License for more details.</span>
<a name="l00013"></a>00013 <span class="comment">//</span>
<a name="l00014"></a>00014 <span class="comment">// You should have received a copy of the GNU General Public License</span>
<a name="l00015"></a>00015 <span class="comment">// along with this program; if not, write to the Free Software</span>
<a name="l00016"></a>00016 <span class="comment">// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,</span>
<a name="l00017"></a>00017 <span class="comment">// USA.</span>
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="preprocessor">#ifndef PREFERENCES_HH</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define PREFERENCES_HH</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span>
<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;vector&gt;</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;fstream&gt;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include "defines.hh"</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="socket_8hh.html">socket.hh</a>"</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="filter_8hh.html">filter.hh</a>"</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include "<a class="code" href="score_8hh.html">score.hh</a>"</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include "<a class="code" href="account_8hh.html">account.hh</a>"</span>
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 <span class="keyword">using namespace </span>std;
<a name="l00032"></a>00032 
<a name="l00033"></a><a class="code" href="classPreferences.html">00033</a> <span class="keyword">class </span><a class="code" href="classPreferences.html">Preferences</a>
<a name="l00034"></a>00034 {
<a name="l00035"></a>00035 <span class="keyword">protected</span>:
<a name="l00036"></a><a class="code" href="classPreferences.html#2334e988652eedd1d15e1b03374af320">00036</a>   ifstream         <a class="code" href="classPreferences.html#2334e988652eedd1d15e1b03374af320">prefs_stream</a>;
<a name="l00037"></a><a class="code" href="classPreferences.html#e669c185b2a41f9be2fdd45e555087bb">00037</a>   vector&lt;Filter&gt;   <a class="code" href="classPreferences.html#e669c185b2a41f9be2fdd45e555087bb">allows</a>;
<a name="l00038"></a><a class="code" href="classPreferences.html#7c738e5cc26f54fc6b53914ba5c03a0f">00038</a>   vector&lt;Filter&gt;   <a class="code" href="classPreferences.html#7c738e5cc26f54fc6b53914ba5c03a0f">denies</a>;
<a name="l00039"></a><a class="code" href="classPreferences.html#bc1d6bd5f0c2f924fb988304bc95d15d">00039</a>   vector&lt;Score&gt;    <a class="code" href="classPreferences.html#bc1d6bd5f0c2f924fb988304bc95d15d">scores</a>;
<a name="l00040"></a><a class="code" href="classPreferences.html#c9e5ebc179c47dd2d5a0de327282b2b6">00040</a>   vector&lt;Account&gt;  <a class="code" href="classPreferences.html#c9e5ebc179c47dd2d5a0de327282b2b6">accnts</a>;
<a name="l00041"></a><a class="code" href="classPreferences.html#bf10c6052bd762cbd5d1fa97e6f0f3fa">00041</a>   <a class="code" href="classAccount.html">Account</a>          <a class="code" href="classPreferences.html#bf10c6052bd762cbd5d1fa97e6f0f3fa">cur_account</a>;
<a name="l00042"></a><a class="code" href="classPreferences.html#5d131246c4eed2e033e3af972532175d">00042</a>   <span class="keywordtype">string</span>           <a class="code" href="classPreferences.html#5d131246c4eed2e033e3af972532175d">prefs_file_name</a>;
<a name="l00043"></a><a class="code" href="classPreferences.html#d28daf0963038ab26104c7ff5efc1fda">00043</a>   <span class="keywordtype">string</span>           <a class="code" href="classPreferences.html#d28daf0963038ab26104c7ff5efc1fda">log_file_name</a>;
<a name="l00044"></a><a class="code" href="classPreferences.html#87d974f1c122f9d0f1c3202e31016268">00044</a>   <span class="keywordtype">string</span>           <a class="code" href="classPreferences.html#87d974f1c122f9d0f1c3202e31016268">headers_file_name</a>;
<a name="l00045"></a><a class="code" href="classPreferences.html#ee19bf8b0a59a564f29ae9ccc0f8196c">00045</a>   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#ee19bf8b0a59a564f29ae9ccc0f8196c">icase</a>;
<a name="l00046"></a><a class="code" href="classPreferences.html#d95657188d0fbb0fed7bc661c3865bbb">00046</a>   <span class="keywordtype">bool</span>             <a class="code" href="classPreferences.html#d95657188d0fbb0fed7bc661c3865bbb">norm</a>;
<a name="l00047"></a><a class="code" href="classPreferences.html#5ed08eca23db43e3e717119bfb2a277e">00047</a>   <span class="keywordtype">bool</span>             <a class="code" href="classPreferences.html#5ed08eca23db43e3e717119bfb2a277e">test</a>;
<a name="l00048"></a><a class="code" href="classPreferences.html#5260cb45cb821dd24ab12a4816f40f86">00048</a>   <span class="keywordtype">bool</span>             <a class="code" href="classPreferences.html#5260cb45cb821dd24ab12a4816f40f86">show_headers</a>;
<a name="l00049"></a><a class="code" href="classPreferences.html#135a3f6f8172d7e2ef5d4b0868ae82e4">00049</a>   <span class="keywordtype">bool</span>             <a class="code" href="classPreferences.html#135a3f6f8172d7e2ef5d4b0868ae82e4">del_duplicates</a>;
<a name="l00050"></a><a class="code" href="classPreferences.html#713d423c626220c94e95208b9d896bab">00050</a>   <span class="keywordtype">bool</span>             <a class="code" href="classPreferences.html#713d423c626220c94e95208b9d896bab">ret_status</a>;
<a name="l00051"></a><a class="code" href="classPreferences.html#3e493f7da8cfe5c3cbf7d7b636a9dad6">00051</a>   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#3e493f7da8cfe5c3cbf7d7b636a9dad6">high_score</a>;
<a name="l00052"></a><a class="code" href="classPreferences.html#f7f2776dd59475a43314fa2fb27e300b">00052</a>   <span class="keywordtype">unsigned</span>         <a class="code" href="classPreferences.html#f7f2776dd59475a43314fa2fb27e300b">time_out_val</a>;
<a name="l00053"></a><a class="code" href="classPreferences.html#20c3d6f93eeb32c69be2cb59e2ed3f14">00053</a>   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#20c3d6f93eeb32c69be2cb59e2ed3f14">max_size</a>;
<a name="l00054"></a><a class="code" href="classPreferences.html#cd0890b029c3eb860b86eb88d0e12141">00054</a>   <a class="code" href="classSize__score.html">Size_score</a>       <a class="code" href="classPreferences.html#cd0890b029c3eb860b86eb88d0e12141">size_score</a>;
<a name="l00055"></a><a class="code" href="classPreferences.html#68ae8561e444be21bac8f63ab715c9fd">00055</a>   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#68ae8561e444be21bac8f63ab715c9fd">max_size_friends</a>;
<a name="l00056"></a><a class="code" href="classPreferences.html#9abf1e54f474ab8977fd0fe7dc864ea2">00056</a>   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#9abf1e54f474ab8977fd0fe7dc864ea2">max_line_length</a>;
<a name="l00057"></a><a class="code" href="classPreferences.html#1a45e20df7963123112b6518b5f5fe2e">00057</a>   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#1a45e20df7963123112b6518b5f5fe2e">rreg_type</a>;
<a name="l00058"></a><a class="code" href="classPreferences.html#5ed276d8b447d58049db610a0defe05b">00058</a>   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#5ed276d8b447d58049db610a0defe05b">verbosity</a>;
<a name="l00059"></a><a class="code" href="classPreferences.html#fac7a9c11e4a35c95e51d29f45d052f0">00059</a>   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#fac7a9c11e4a35c95e51d29f45d052f0">conn_type</a>;
<a name="l00060"></a><a class="code" href="classPreferences.html#b5e4ea28e24a76b1a67ae79fe2f338d6">00060</a>   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#b5e4ea28e24a76b1a67ae79fe2f338d6">negative_allows</a>;
<a name="l00061"></a><a class="code" href="classPreferences.html#c22010b49e7c5386f98f35cc248103d0">00061</a>   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#c22010b49e7c5386f98f35cc248103d0">negative_denies</a>;
<a name="l00062"></a><a class="code" href="classPreferences.html#85f352eb02d6ebf2f0e6cea6578a43ae">00062</a>   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#85f352eb02d6ebf2f0e6cea6578a43ae">negative_scores</a>;
<a name="l00063"></a>00063   <span class="comment">// These flags indicate whether a value was already set, or</span>
<a name="l00064"></a>00064   <span class="comment">// whether it's still set to the default values defined by the</span>
<a name="l00065"></a>00065   <span class="comment">// constructor.</span>
<a name="l00066"></a><a class="code" href="classPreferences.html#7516e6b40a41f6d846bf4c35f6a2ad76">00066</a>   <span class="keywordtype">bool</span>             <a class="code" href="classPreferences.html#7516e6b40a41f6d846bf4c35f6a2ad76">verbosity_changed</a>;
<a name="l00067"></a><a class="code" href="classPreferences.html#55ba027c13ed59260f5b6a81534e7a9d">00067</a>   <span class="keywordtype">bool</span>             <a class="code" href="classPreferences.html#55ba027c13ed59260f5b6a81534e7a9d">test_changed</a>;
<a name="l00068"></a>00068 <span class="keyword">public</span>:
<a name="l00069"></a>00069   <a class="code" href="classPreferences.html#9ca3b7029509bc36da1a57ed296c2fa8">Preferences</a>                        ();
<a name="l00070"></a>00070   <span class="keyword">static</span> <a class="code" href="classPreferences.html">Preferences</a>&amp;
<a name="l00071"></a>00071                    <a class="code" href="classPreferences.html#e4b949f0a47518c152e92120241d64d0">Instance</a>          ();
<a name="l00072"></a>00072   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#46ecf6ca535a5aba2b68b941a66c81e3">init</a>              (<span class="keywordtype">void</span>);
<a name="l00073"></a>00073   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#70fbfe1ed1bdd745063c35b62084101d">kill</a>              (<span class="keywordtype">void</span>);
<a name="l00074"></a>00074   <span class="keywordtype">bool</span>             <a class="code" href="classPreferences.html#a7d1352a0a1152315d9e8cbb440ed603">open</a>              (<span class="keyword">const</span> <span class="keywordtype">char</span>*);
<a name="l00075"></a>00075   <span class="keywordtype">bool</span>             <a class="code" href="classPreferences.html#3d894765c4e383e24a70235ae610ad96">load</a>              (<span class="keywordtype">void</span>);
<a name="l00076"></a>00076   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#55efff112a469fd6fb81ab9c68445ae5">add_deny_rule</a>     (<span class="keyword">const</span> <span class="keywordtype">char</span>*,
<a name="l00077"></a>00077                       <span class="keyword">const</span> <span class="keywordtype">char</span>*,
<a name="l00078"></a>00078                       <span class="keyword">const</span> <span class="keywordtype">char</span>*);
<a name="l00079"></a>00079   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#5acc85aa479bd30c652488fb1bdd2b10">add_allow_rule</a>    (<span class="keyword">const</span> <span class="keywordtype">char</span>*,
<a name="l00080"></a>00080                       <span class="keyword">const</span> <span class="keywordtype">char</span>*,
<a name="l00081"></a>00081                       <span class="keyword">const</span> <span class="keywordtype">char</span>*);
<a name="l00082"></a>00082   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#93573e40851102ac3f3ea570a564816c">add_score</a>         (<span class="keyword">const</span> <span class="keywordtype">char</span>*,
<a name="l00083"></a>00083                       <span class="keywordtype">int</span>,
<a name="l00084"></a>00084                       <span class="keyword">const</span> <span class="keywordtype">char</span>*,
<a name="l00085"></a>00085                       <span class="keyword">const</span> <span class="keywordtype">char</span>*);
<a name="l00086"></a>00086   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#9d31cb5c1699a6e1aab998261c4d5f1c">neg_allows</a>        (<span class="keywordtype">void</span>);
<a name="l00087"></a>00087   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#73cf94b6597102465633b9700ef5d4c5">neg_denies</a>        (<span class="keywordtype">void</span>);
<a name="l00088"></a>00088   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#d845e83217b77cc0d4a08d7883b0a40f">set_rc_file</a>       (<span class="keyword">const</span> <span class="keywordtype">char</span>*);
<a name="l00089"></a>00089   <span class="keywordtype">string</span>           <a class="code" href="classPreferences.html#f77084e00a96be0f7f3dae21a9e46b88">rc_file</a>           (<span class="keywordtype">void</span>);
<a name="l00090"></a>00090   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#aa84f4623e247b3cb56f5ea7d0ac1579">set_log_file</a>      (<span class="keyword">const</span> <span class="keywordtype">char</span>*);
<a name="l00091"></a>00091   <span class="keywordtype">string</span>           <a class="code" href="classPreferences.html#b70147910b8a36e9e17b6301c8dc07d3">log_file</a>          (<span class="keywordtype">void</span>);
<a name="l00092"></a>00092   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#3c2a97b12ae2ff9525d6318ffe214357">set_verbose_level</a> (<span class="keywordtype">int</span>);
<a name="l00093"></a>00093   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#588ae9819d902fb8ea13f51d55775efd">verbose_level</a>     (<span class="keywordtype">void</span>);
<a name="l00094"></a>00094   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#0ca2b4346ae1eacc1ca2d0695af2029d">set_headers_file</a>  (<span class="keyword">const</span> <span class="keywordtype">char</span>*);
<a name="l00095"></a>00095   <span class="keywordtype">string</span>           <a class="code" href="classPreferences.html#12d88b8213c125d2e9261b8baf011f08">headers_file</a>      (<span class="keywordtype">void</span>);
<a name="l00096"></a>00096   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#5d05bbe427e01908135594e0ade41405">set_default_case</a>  (<span class="keyword">const</span> <span class="keywordtype">char</span>*);
<a name="l00097"></a>00097   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#52e7145907bb142641f73ac7791ce2c6">default_case</a>      (<span class="keywordtype">void</span>);
<a name="l00098"></a>00098   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#d72b32c7670ec7e04426bc05450e37e7">set_reg_type</a>      (<span class="keyword">const</span> <span class="keywordtype">char</span>*);
<a name="l00099"></a>00099   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#66395b943993458d9df28cab988abda8">reg_type</a>          (<span class="keywordtype">void</span>);
<a name="l00100"></a>00100   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#c650c18ffa32c10076c93167ca60c2d2">set_server</a>        (<span class="keyword">const</span> <span class="keywordtype">char</span>*);
<a name="l00101"></a>00101   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#7ec7478498bfbfa417ddbb2499535da3">set_usr</a>           (<span class="keyword">const</span> <span class="keywordtype">char</span>*);
<a name="l00102"></a>00102   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#3bba6dc213b23cfa8bd5dedab1d6bc2c">set_passwd</a>        (<span class="keyword">const</span> <span class="keywordtype">char</span>*);
<a name="l00103"></a>00103   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#afab91620b190a9376e0542a9f27d49c">set_protocol</a>      (<span class="keyword">const</span> <span class="keywordtype">char</span>*);
<a name="l00104"></a>00104   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#9267543cb81e484869a72634cfe2299a">set_connection</a>    (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> = POSIX_SOCKETS) 
<a name="l00105"></a>00105                                      __attribute__ ((unused));
<a name="l00106"></a>00106   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#77f7fe1f6426aea3fdf372b8270d4807">set_port</a>          (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>);
<a name="l00107"></a>00107   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>     <a class="code" href="classPreferences.html#7fe26586baf0ff47767bd1acc43d5a66">time_out</a>          (<span class="keywordtype">void</span>);
<a name="l00108"></a>00108   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#63575bad9fc1a8c432a615f11fa907e2">set_time_out</a>      (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>);
<a name="l00109"></a>00109   <span class="keywordtype">bool</span>             <a class="code" href="classPreferences.html#c91a505ec620abd1e2c84a0bce070f5b">delete_duplicates</a> (<span class="keywordtype">void</span>);
<a name="l00110"></a>00110   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#4fb6746b2fe32a0abe1f5d2314d848c7">set_del_duplicates</a>(const <span class="keywordtype">char</span>*);
<a name="l00111"></a>00111   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#139bad88a384e35ef0754f915dfed37a">max_size_allow</a>    (<span class="keywordtype">void</span>);
<a name="l00112"></a>00112   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#2753e9e3bc3bf15c5ed73a26ef2db9ef">set_max_size_allow</a>(<span class="keywordtype">int</span>);
<a name="l00113"></a>00113   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#05e741f8bb97aa0afb9639b50c55ee0c">max_size_deny</a>     (<span class="keywordtype">void</span>);
<a name="l00114"></a>00114   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#8323008e771d4a4cb577ea5a6cd5af6c">set_max_size_deny</a> (<span class="keywordtype">int</span>);
<a name="l00115"></a>00115   <a class="code" href="classSize__score.html">Size_score</a>       <a class="code" href="classPreferences.html#100e98fa9125b2eef221a61ee9d4309d">max_size_score</a>    (<span class="keywordtype">void</span>);
<a name="l00116"></a>00116   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#dc82f986dd6e1fdb2935938a3151aaf5">set_max_size_score</a>(<span class="keywordtype">int</span>, <span class="keywordtype">int</span>);
<a name="l00117"></a>00117   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#46f20146880cbb8af12e63902e1f2b33">highscore</a>         (<span class="keywordtype">void</span>);
<a name="l00118"></a>00118   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#bde69b5a180d3bbc743451efd57e1ac6">set_highscore</a>     (<span class="keywordtype">int</span>);
<a name="l00119"></a>00119   <span class="keywordtype">bool</span>             <a class="code" href="classPreferences.html#3d967d393f6dce817b3e5eb3618759f2">normal</a>            (<span class="keywordtype">void</span>);
<a name="l00120"></a>00120   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#e34eaff9c12d99475535b2d65b721aa8">set_normal</a>        (const <span class="keywordtype">char</span>*);
<a name="l00121"></a>00121   <span class="keywordtype">bool</span>             <a class="code" href="classPreferences.html#90f544f3db10bb0518dbbd32595284b1">test_mode</a>         (<span class="keywordtype">void</span>);
<a name="l00122"></a>00122   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#26ea6a356d1492eb30e9d7b9853e79ff">set_test_mode</a>     (const <span class="keywordtype">char</span>*);
<a name="l00123"></a>00123   <span class="keywordtype">int</span>              <a class="code" href="classPreferences.html#413622da211f3883410d919cf0430c9e">maxlength</a>         (<span class="keywordtype">void</span>);
<a name="l00124"></a>00124   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#91e17b5740f9151bc077171fce90bea4">set_maxlength</a>     (<span class="keywordtype">int</span>);
<a name="l00125"></a>00125   <span class="keywordtype">bool</span>             <a class="code" href="classPreferences.html#3c7ec309cb681698faa84c3aefac3f20">return_status</a>     (<span class="keywordtype">void</span>);
<a name="l00126"></a>00126   <span class="keywordtype">void</span>             <a class="code" href="classPreferences.html#2a080cea055eeee929d2845e2926d32f">set_return_status</a> (<span class="keywordtype">bool</span>);
<a name="l00127"></a>00127   vector&lt;<a class="code" href="classAccount.html">Account</a>&gt;* <a class="code" href="classPreferences.html#02ee3db34b6fd38c51480a3815a73d70">accounts</a>          (<span class="keywordtype">void</span>);
<a name="l00128"></a>00128   vector&lt;<a class="code" href="classFilter.html">Filter</a>&gt;*  <a class="code" href="classPreferences.html#0de52e37ab68a0ae81e0c5a407655133">allow_filters</a>     (<span class="keywordtype">void</span>);
<a name="l00129"></a>00129   vector&lt;<a class="code" href="classFilter.html">Filter</a>&gt;*  <a class="code" href="classPreferences.html#d0e1567bd8f31112b27d225d9c975515">deny_filters</a>      (<span class="keywordtype">void</span>);
<a name="l00130"></a>00130   vector&lt;<a class="code" href="classScore.html">Score</a>&gt;*   <a class="code" href="classPreferences.html#520ff38784f3c2deb37628ff1a9bad64">score_filters</a>     (<span class="keywordtype">void</span>);
<a name="l00131"></a>00131 };
<a name="l00132"></a>00132 
<a name="l00133"></a>00133 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Aug 15 16:13:13 2009 for mailfilter by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>