eap::config::m_module reference again
This commit is contained in:
@@ -104,7 +104,7 @@ namespace eap
|
||||
///
|
||||
/// \param[in] mod EAP module to use for global services
|
||||
///
|
||||
config(_In_ module *mod);
|
||||
config(_In_ module &mod);
|
||||
|
||||
///
|
||||
/// Copies configuration
|
||||
@@ -202,7 +202,7 @@ namespace eap
|
||||
/// @}
|
||||
|
||||
public:
|
||||
module *m_module; ///< EAP module
|
||||
module &m_module; ///< EAP module
|
||||
};
|
||||
|
||||
|
||||
@@ -214,7 +214,7 @@ namespace eap
|
||||
///
|
||||
/// \param[in] mod EAP module to use for global services
|
||||
///
|
||||
config_method(_In_ module *mod);
|
||||
config_method(_In_ module &mod);
|
||||
|
||||
///
|
||||
/// Copies configuration
|
||||
@@ -268,7 +268,7 @@ namespace eap
|
||||
///
|
||||
/// \param[in] mod EAP module to use for global services
|
||||
///
|
||||
config_method_with_cred(_In_ module *mod);
|
||||
config_method_with_cred(_In_ module &mod);
|
||||
|
||||
///
|
||||
/// Copies configuration
|
||||
@@ -373,7 +373,7 @@ namespace eap
|
||||
///
|
||||
/// \param[in] mod EAP module to use for global services
|
||||
///
|
||||
config_provider(_In_ module *mod);
|
||||
config_provider(_In_ module &mod);
|
||||
|
||||
///
|
||||
/// Copies configuration
|
||||
@@ -492,7 +492,7 @@ namespace eap
|
||||
///
|
||||
/// \param[in] mod EAP module to use for global services
|
||||
///
|
||||
config_providers(_In_ module *mod);
|
||||
config_providers(_In_ module &mod);
|
||||
|
||||
///
|
||||
/// Copies configuration
|
||||
|
@@ -60,7 +60,7 @@ namespace eap
|
||||
///
|
||||
/// \param[in] mod EAP module to use for global services
|
||||
///
|
||||
credentials(_In_ module *mod);
|
||||
credentials(_In_ module &mod);
|
||||
|
||||
///
|
||||
/// Copies credentials
|
||||
@@ -209,7 +209,7 @@ namespace eap
|
||||
///
|
||||
/// \param[in] mod EAP module to use for global services
|
||||
///
|
||||
credentials_pass(_In_ module *mod);
|
||||
credentials_pass(_In_ module &mod);
|
||||
|
||||
///
|
||||
/// Copies credentials
|
||||
|
@@ -62,7 +62,7 @@ namespace eap
|
||||
///
|
||||
/// \param[in] mod EAP module to use for global services
|
||||
///
|
||||
session(_In_ module *mod) :
|
||||
session(_In_ module &mod) :
|
||||
m_module(mod),
|
||||
m_cfg(mod),
|
||||
m_cred(mod),
|
||||
@@ -263,7 +263,7 @@ namespace eap
|
||||
_Out_ DWORD *pdwUIContextDataSize,
|
||||
_Out_ EAP_ERROR **ppEapError)
|
||||
{
|
||||
return m_module->pack(m_intreq, ppUIContextData, pdwUIContextDataSize, ppEapError);
|
||||
return m_module.pack(m_intreq, ppUIContextData, pdwUIContextDataSize, ppEapError);
|
||||
}
|
||||
|
||||
|
||||
@@ -289,7 +289,7 @@ namespace eap
|
||||
UNREFERENCED_PARAMETER(pEapOutput);
|
||||
assert(ppEapError);
|
||||
|
||||
*ppEapError = m_module->make_error(ERROR_NOT_SUPPORTED, _T(__FUNCTION__) _T(" Not supported."));
|
||||
*ppEapError = m_module.make_error(ERROR_NOT_SUPPORTED, _T(__FUNCTION__) _T(" Not supported."));
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -312,7 +312,7 @@ namespace eap
|
||||
UNREFERENCED_PARAMETER(pAttribs);
|
||||
assert(ppEapError);
|
||||
|
||||
*ppEapError = m_module->make_error(ERROR_NOT_SUPPORTED, _T(__FUNCTION__) _T(" Not supported."));
|
||||
*ppEapError = m_module.make_error(ERROR_NOT_SUPPORTED, _T(__FUNCTION__) _T(" Not supported."));
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -332,14 +332,14 @@ namespace eap
|
||||
UNREFERENCED_PARAMETER(pEapOutput);
|
||||
assert(ppEapError);
|
||||
|
||||
*ppEapError = m_module->make_error(ERROR_NOT_SUPPORTED, _T(__FUNCTION__) _T(" Not supported."));
|
||||
*ppEapError = m_module.make_error(ERROR_NOT_SUPPORTED, _T(__FUNCTION__) _T(" Not supported."));
|
||||
return false;
|
||||
}
|
||||
|
||||
/// @}
|
||||
|
||||
public:
|
||||
module *m_module; ///< EAP module
|
||||
module &m_module; ///< EAP module
|
||||
config_providers m_cfg; ///< Providers configuration
|
||||
credentials_type m_cred; ///< User credentials
|
||||
interactive_request_type m_intreq; ///< Interactive UI request data
|
||||
|
Reference in New Issue
Block a user