36
30
<a name="l00011"></a>00011 <span class="comment"> * General Public License for more details.</span>
37
31
<a name="l00012"></a>00012 <span class="comment"> *</span>
38
32
<a name="l00013"></a>00013 <span class="comment"> * You should have received a copy of the GNU General Public License</span>
39
<a name="l00014"></a>00014 <span class="comment"> * along with this program; if not, write to the Free Software</span>
40
<a name="l00015"></a>00015 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston,</span>
41
<a name="l00016"></a>00016 <span class="comment"> * MA 02111-1307 USA</span>
42
<a name="l00017"></a>00017 <span class="comment"> *</span>
43
<a name="l00018"></a>00018 <span class="comment"> *********************************************************************/</span>
44
<a name="l00019"></a>00019
45
<a name="l00020"></a>00020 <span class="preprocessor">#ifndef SBUILD_AUTH_CONV_H</span>
46
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define SBUILD_AUTH_CONV_H</span>
47
<a name="l00022"></a>00022 <span class="preprocessor"></span>
48
<a name="l00023"></a>00023 <span class="preprocessor">#include <<a class="code" href="sbuild-auth-message_8h.html">sbuild/sbuild-auth-message.h</a>></span>
49
<a name="l00024"></a>00024 <span class="preprocessor">#include <<a class="code" href="sbuild-error_8h.html">sbuild/sbuild-error.h</a>></span>
50
<a name="l00025"></a>00025
51
<a name="l00026"></a>00026 <span class="preprocessor">#include <vector></span>
52
<a name="l00027"></a>00027
53
<a name="l00028"></a>00028 <span class="preprocessor">#include <security/pam_appl.h></span>
54
<a name="l00029"></a>00029
55
<a name="l00030"></a>00030 <span class="keyword">namespace </span>sbuild
56
<a name="l00031"></a>00031 {
57
<a name="l00032"></a>00032
58
<a name="l00052"></a><a class="code" href="classsbuild_1_1auth__conv.html">00052</a> <span class="keyword">class </span><a class="code" href="classsbuild_1_1auth__conv.html" title="Authentication conversation handler interface.">auth_conv</a>
59
<a name="l00053"></a>00053 {
60
<a name="l00054"></a>00054 <span class="keyword">public</span>:
61
<a name="l00056"></a><a class="code" href="classsbuild_1_1auth__conv.html#7dd89895a7f0214f0b82e567d3d235fa">00056</a> <span class="keyword">typedef</span> std::vector<auth_message> <a class="code" href="classsbuild_1_1auth__conv.html#7dd89895a7f0214f0b82e567d3d235fa" title="A list of messages.">message_list</a>;
62
<a name="l00057"></a>00057
63
<a name="l00059"></a>00059 <a class="code" href="classsbuild_1_1auth__conv.html#6271be2f5d6ade0e0d83eb0de66ab84b" title="The constructor.">auth_conv</a> ();
64
<a name="l00061"></a>00061 <span class="keyword">virtual</span> <a class="code" href="classsbuild_1_1auth__conv.html#621dc0c57149768a2652dfc7d55a7eef" title="The destructor.">~auth_conv</a> ();
65
<a name="l00062"></a>00062
66
<a name="l00068"></a>00068 <span class="keyword">virtual</span> time_t
67
<a name="l00069"></a>00069 <a class="code" href="classsbuild_1_1auth__conv.html#3b6430fec4d0d6a07eed53267d705cdc" title="Get the time at which the user will be warned.">get_warning_timeout</a> () = 0;
68
<a name="l00070"></a>00070
69
<a name="l00076"></a>00076 <span class="keyword">virtual</span> <span class="keywordtype">void</span>
70
<a name="l00077"></a>00077 <a class="code" href="classsbuild_1_1auth__conv.html#b39cfeb91d3e68c380dfe744d320e7d0" title="Set the time at which the user will be warned.">set_warning_timeout</a> (time_t timeout) = 0;
71
<a name="l00078"></a>00078
72
<a name="l00085"></a>00085 <span class="keyword">virtual</span> time_t
73
<a name="l00086"></a>00086 <a class="code" href="classsbuild_1_1auth__conv.html#61936972df24382d2ee819f17a078ebf" title="Get the time at which the conversation will be terminated with an error.">get_fatal_timeout</a> () = 0;
74
<a name="l00087"></a>00087
75
<a name="l00094"></a>00094 <span class="keyword">virtual</span> <span class="keywordtype">void</span>
76
<a name="l00095"></a>00095 <a class="code" href="classsbuild_1_1auth__conv.html#0de7c8e9493e6b3ed55e0520171c8f1b" title="Set the time at which the conversation will be terminated with an error.">set_fatal_timeout</a> (time_t timeout) = 0;
77
<a name="l00096"></a>00096
78
<a name="l00111"></a>00111 <span class="keyword">virtual</span> <span class="keywordtype">void</span>
79
<a name="l00112"></a>00112 <a class="code" href="classsbuild_1_1auth__conv.html#3fd81782872b31ca5daad9e79e79fef6" title="Hold a conversation with the user.">conversation</a> (<a class="code" href="classsbuild_1_1auth__conv.html#7dd89895a7f0214f0b82e567d3d235fa" title="A list of messages.">message_list</a>& messages) = 0;
80
<a name="l00113"></a>00113 };
81
<a name="l00114"></a>00114
82
<a name="l00115"></a>00115 }
83
<a name="l00116"></a>00116
84
<a name="l00117"></a>00117 <span class="preprocessor">#endif </span><span class="comment">/* SBUILD_AUTH_CONV_H */</span>
85
<a name="l00118"></a>00118
86
<a name="l00119"></a>00119 <span class="comment">/*</span>
87
<a name="l00120"></a>00120 <span class="comment"> * Local Variables:</span>
88
<a name="l00121"></a>00121 <span class="comment"> * mode:C++</span>
89
<a name="l00122"></a>00122 <span class="comment"> * End:</span>
90
<a name="l00123"></a>00123 <span class="comment"> */</span>
91
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Sun Jul 8 21:23:21 2007 for sbuild by
33
<a name="l00014"></a>00014 <span class="comment"> * along with this program. If not, see</span>
34
<a name="l00015"></a>00015 <span class="comment"> * <http://www.gnu.org/licenses/>.</span>
35
<a name="l00016"></a>00016 <span class="comment"> *</span>
36
<a name="l00017"></a>00017 <span class="comment"> *********************************************************************/</span>
37
<a name="l00018"></a>00018
38
<a name="l00019"></a>00019 <span class="preprocessor">#ifndef SBUILD_AUTH_CONV_H</span>
39
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define SBUILD_AUTH_CONV_H</span>
40
<a name="l00021"></a>00021 <span class="preprocessor"></span>
41
<a name="l00022"></a>00022 <span class="preprocessor">#include <<a class="code" href="sbuild-auth-message_8h.html">sbuild/sbuild-auth-message.h</a>></span>
42
<a name="l00023"></a>00023 <span class="preprocessor">#include <<a class="code" href="sbuild-error_8h.html">sbuild/sbuild-error.h</a>></span>
43
<a name="l00024"></a>00024
44
<a name="l00025"></a>00025 <span class="preprocessor">#include <vector></span>
45
<a name="l00026"></a>00026
46
<a name="l00027"></a>00027 <span class="preprocessor">#include <security/pam_appl.h></span>
47
<a name="l00028"></a>00028
48
<a name="l00029"></a>00029 <span class="keyword">namespace </span>sbuild
49
<a name="l00030"></a>00030 {
50
<a name="l00031"></a>00031
51
<a name="l00051"></a><a class="code" href="classsbuild_1_1auth__conv.html">00051</a> <span class="keyword">class </span><a class="code" href="classsbuild_1_1auth__conv.html" title="Authentication conversation handler interface.">auth_conv</a>
52
<a name="l00052"></a>00052 {
53
<a name="l00053"></a>00053 <span class="keyword">public</span>:
54
<a name="l00055"></a><a class="code" href="classsbuild_1_1auth__conv.html#7dd89895a7f0214f0b82e567d3d235fa">00055</a> <span class="keyword">typedef</span> std::vector<auth_message> <a class="code" href="classsbuild_1_1auth__conv.html#7dd89895a7f0214f0b82e567d3d235fa" title="A list of messages.">message_list</a>;
55
<a name="l00056"></a>00056
56
<a name="l00058"></a>00058 <a class="code" href="classsbuild_1_1auth__conv.html#6271be2f5d6ade0e0d83eb0de66ab84b" title="The constructor.">auth_conv</a> ();
57
<a name="l00060"></a>00060 <span class="keyword">virtual</span> <a class="code" href="classsbuild_1_1auth__conv.html#621dc0c57149768a2652dfc7d55a7eef" title="The destructor.">~auth_conv</a> ();
58
<a name="l00061"></a>00061
59
<a name="l00067"></a>00067 <span class="keyword">virtual</span> time_t
60
<a name="l00068"></a>00068 <a class="code" href="classsbuild_1_1auth__conv.html#3b6430fec4d0d6a07eed53267d705cdc" title="Get the time at which the user will be warned.">get_warning_timeout</a> () = 0;
61
<a name="l00069"></a>00069
62
<a name="l00075"></a>00075 <span class="keyword">virtual</span> <span class="keywordtype">void</span>
63
<a name="l00076"></a>00076 <a class="code" href="classsbuild_1_1auth__conv.html#b39cfeb91d3e68c380dfe744d320e7d0" title="Set the time at which the user will be warned.">set_warning_timeout</a> (time_t timeout) = 0;
64
<a name="l00077"></a>00077
65
<a name="l00084"></a>00084 <span class="keyword">virtual</span> time_t
66
<a name="l00085"></a>00085 <a class="code" href="classsbuild_1_1auth__conv.html#61936972df24382d2ee819f17a078ebf" title="Get the time at which the conversation will be terminated with an error.">get_fatal_timeout</a> () = 0;
67
<a name="l00086"></a>00086
68
<a name="l00093"></a>00093 <span class="keyword">virtual</span> <span class="keywordtype">void</span>
69
<a name="l00094"></a>00094 <a class="code" href="classsbuild_1_1auth__conv.html#0de7c8e9493e6b3ed55e0520171c8f1b" title="Set the time at which the conversation will be terminated with an error.">set_fatal_timeout</a> (time_t timeout) = 0;
70
<a name="l00095"></a>00095
71
<a name="l00110"></a>00110 <span class="keyword">virtual</span> <span class="keywordtype">void</span>
72
<a name="l00111"></a>00111 <a class="code" href="classsbuild_1_1auth__conv.html#3fd81782872b31ca5daad9e79e79fef6" title="Hold a conversation with the user.">conversation</a> (<a class="code" href="classsbuild_1_1auth__conv.html#7dd89895a7f0214f0b82e567d3d235fa" title="A list of messages.">message_list</a>& messages) = 0;
73
<a name="l00112"></a>00112 };
74
<a name="l00113"></a>00113
75
<a name="l00114"></a>00114 }
76
<a name="l00115"></a>00115
77
<a name="l00116"></a>00116 <span class="preprocessor">#endif </span><span class="comment">/* SBUILD_AUTH_CONV_H */</span>
78
<a name="l00117"></a>00117
79
<a name="l00118"></a>00118 <span class="comment">/*</span>
80
<a name="l00119"></a>00119 <span class="comment"> * Local Variables:</span>
81
<a name="l00120"></a>00120 <span class="comment"> * mode:C++</span>
82
<a name="l00121"></a>00121 <span class="comment"> * End:</span>
83
<a name="l00122"></a>00122 <span class="comment"> */</span>
84
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 21 00:37:45 2008 for sbuild by
92
85
<a href="http://www.doxygen.org/index.html">
93
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
86
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address>