VersionRequest

From TrillWiki

Jump to: navigation, search

The versionRequest variable returns the current version of Trillian that is running.

Compatibility: 2.0 and higher

Contents

Syntax

plugin_send(MYGUID, "versionRequest", NULL)

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

VersionRequest 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.


Return Value

The return value is a char* pointing to a static string representing the version. The version is in the format such as "2.0.0.0".

Remarks

Beta versions of 2.0 will have the same version as the final versions. Future betas plan on having a 'b' appended to the end of the version to show that they are beta software that may change.


Personal tools