eap::config::m_module reference again

This commit is contained in:
2016-08-06 07:01:12 +02:00
parent b0323d894a
commit 2aa4bce8cc
26 changed files with 150 additions and 150 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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