[vdr] Feature request: suggestion for cPlugin

Udo Richter udo_richter at gmx.de
Sun Aug 21 15:46:38 CEST 2005


Klaus Schmidinger wrote:
>> from every thread, or just from the main thread. Plugins can implement a
>> 'service supported' check by returning <tt>true</tt> without performing
>> any actions when called with <tt>Data=NULL</tt>.
>> ----8<----
> 
> Since the Data parameter in the function calls has NULL as default,
> a plugin implementing Service() _must_ be prepared to handle this
> case. 

----8<----
Plugins should expect to be called with <tt>Data=NULL</tt> and may use
this as a 'service supported' check without performing any actions.
----8<----

Cheers,

Udo



More information about the vdr mailing list