From d1f521b945ad56a7ca399204e01acea593ad18f5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 23 Mar 2018 20:41:14 +0300 Subject: account activation separated from account creation --- include/m_protocols.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/m_protocols.h b/include/m_protocols.h index e5713768e7..a7e13ffab1 100644 --- a/include/m_protocols.h +++ b/include/m_protocols.h @@ -299,6 +299,12 @@ MIR_APP_DLL(void) Proto_EnumAccounts(int *nAccs, PROTOACCOUNT ***pAccs); MIR_APP_DLL(PROTOACCOUNT*) Proto_CreateAccount(const char *pszInternal, const char *pszBaseProto, const wchar_t *ptszAccountName); +///////////////////////////////////////////////////////////////////////////////////////// +// constructs the appropriate PROTOACCOUNT::ppro member if needed +// returns true if succeeded + +MIR_APP_DLL(bool) Proto_ActivateAccount(PROTOACCOUNT *pAccount); + ///////////////////////////////////////////////////////////////////////////////////////// // retrieves an account's interface by its physical name (database module) // return value = PROTOACCOUNT* or NULL -- cgit v1.2.3