AccountsRemove
From TrillWiki
The accountsRemove function removes accounts already added using accountsAdd.
Compatibility: 2.0 and higher
Contents |
Syntax
plugin_send(MYGUID, "accountsRemove", struct account_entry_t *);
Note that all Trillian functions and notifications begin with a lower-case letter, despite the Wiki requirement that all pages start with a capital letter.
Parameters
AccountsRemove utilitizes the account_entry_t structure.
struct account_entry_t
{
unsigned int struct_size;
char *account;
char *medium;
char *status;
char *section;
int connected;
long last_connected;
HICON icon;
HWND window;
/* 3.0
*/
ttkCallback callback;
void *data;
};
- account
- The account name.
- medium
- The medium for the account.
Return Value
Negative value on error, 0 on success.
Remarks
The plugin must remove the account when it is stopped.
