Feature request: suggestion for cPlugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux