How the RIP communicates with a plugin
This page applies to Harlequin v13.1r0 and later; and to Harlequin MultiRIP but not Harlequin Core
Most communication between the RIP and a plugin occurs when the RIP calls an exported function named PLUGIN
. In most cases, when the RIP requires a task to be performed by the plugin, it calls it through this entry point with three arguments.
- The first argument is a selector. This is a unique integer value which indicates the operation the RIP requires the plugin to perform.
- The second argument is a pointer to the data structure representing the device that the plugin is implementing.
- The third argument is a pointer to any further data necessary to perform the particular operation requested (it may be unused).