Enum add

From TrillWiki

Jump to: navigation, search

For each entry in the enumeration, this message will be called. It can be called 0 or many times.

Compatibility: 1.0 and higher

Contents

Syntax

callback(0, NULL, "enum_add", 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

Enum add 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
This data is dependent on the type of enumeration it is. Look in the appropriate enumeration function for more information on what this struct may be


Return Value

Must return 0.

Remarks

None.


See also: enum_finish

Personal tools