EventsEventUnregister

From TrillWiki

Jump to: navigation, search

The eventsEventUnregister function will unregister a previously registered event.

Compatibility: 2.0 and higher

Contents

Syntax

plugin_send(MYGUID, "eventsEventUnregister", struct event_event_register_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

EventsEventUnregister utilitizes the event_event_register_t structure.

struct event_event_register_t {  
 	unsigned int			struct_size; 
 
 	char				*type; 
 	char				*description; 
 };


type
The event type. This will be consistent no matter which language is used.


Return Value

Negative value on error, 0 on success.

Remarks

None.