cradiussecret_8h-source.html

来自「采用 ACE 开发的 radius 应用」· HTML 代码 · 共 52 行

HTML
52
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>ace-radius: RADIUS/CRadiusSecret.h Source File</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.7-20040704 --><div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a></div><h1>RADIUS/CRadiusSecret.h</h1><pre class="fragment"><div>00001 <span class="comment">/*</span>00002 <span class="comment"> * This source file is part of the ace-radius library.  This code was</span>00003 <span class="comment"> * written by Alex Agranov in 2004, and is covered by the BSD open source</span>00004 <span class="comment"> * license. Refer to the accompanying documentation for details on usage and</span>00005 <span class="comment"> * license.</span>00006 <span class="comment"> */</span>00007 00008 <span class="preprocessor">#ifndef _CRADIUSSECRET_H__</span>00009 <span class="preprocessor"></span><span class="preprocessor">#define _CRADIUSSECRET_H__</span>00010 <span class="preprocessor"></span>00011 00012 <span class="preprocessor">#include "CRadius.h"</span>00013 00014 <span class="preprocessor">#define D_SECRET_MAX_LENGTH           256</span>00015 <span class="preprocessor"></span>00016 <a name="l00023"></a><a class="code" href="classCRadiusSecret.html">00023</a> <span class="keyword">class </span><a class="code" href="classCRadiusSecret.html">CRadiusSecret</a>00024 {00025 <span class="keyword">public</span>:00027     <a class="code" href="classCRadiusSecret.html#a0">CRadiusSecret</a>();00028 00029     00031 00040     <span class="keywordtype">int</span> <a class="code" href="classCRadiusSecret.html#a1">getSecret</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> * &amp; p_data, ACE_UINT16 &amp; p_length);00041     00043 00051     <span class="keywordtype">int</span> <a class="code" href="classCRadiusSecret.html#a2">setSecret</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> * p_data, ACE_UINT16 p_length);00052 00053 00054 <span class="keyword">private</span>:<a name="l00056"></a><a class="code" href="classCRadiusSecret.html#r0">00056</a>     <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="classCRadiusSecret.html#r0">m_secret</a>[D_SECRET_MAX_LENGTH];00057 <a name="l00059"></a><a class="code" href="classCRadiusSecret.html#r1">00059</a>     ACE_UINT16 <a class="code" href="classCRadiusSecret.html#r1">m_secretLength</a>;00060 00061 };00062 00063 00064 <span class="preprocessor">#endif // _CRADIUSSECRET_H__</span>00065 <span class="preprocessor"></span></div></pre><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 30 11:00:57 2005 for ace-radius by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7-20040704 </small></address></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?