Edit aliasFree
From TrillWiki
When text is provided in edit_aliasRequest, this will be generated when the text is no longer needed, so that the plugin may remove any memory it had allocated.
Compatibility: 1.0 and higher
Contents |
Syntax
callback(int window_id, char *icontrol, char *data, void *userData);
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
Edit aliasFree utilitizes the NONE structure.
There is no structure used for this function or notification. For functions, the parameter passed to plugin_send should be a NULL. For notifications, the 'data' field may still contain a parameter, but it will not be a structure; if so, it will be detailed below.
- data
- The original string provided to edit_aliasRequest. This value may be NULL, so do a check before removing the memory.
Return Value
Must return 0.
Remarks
None.
