diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-23 20:41:14 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-23 20:41:14 +0300 |
commit | d1f521b945ad56a7ca399204e01acea593ad18f5 (patch) | |
tree | fa1ae8c796d36a93df952125bd50fe6978c9a977 /include | |
parent | bb5dfcb3c97622419bfd3bb4e3161489e361132e (diff) |
account activation separated from account creation
Diffstat (limited to 'include')
-rw-r--r-- | include/m_protocols.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -300,6 +300,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
|