Re: [Spice-devel] [PATCH spice-streaming-agent v2 2/2] explicit instead of static registration for built-in plugins

2018-02-19 Thread Frediano Ziglio
> > On Fri, 2018-02-16 at 07:23 -0500, Frediano Ziglio wrote: > > > > > > > On 6 Feb 2018, at 10:51, Frediano Ziglio wrote: > > > > > > > > > > > > > > > > On 5 Feb 2018, at 15:29, Lukáš Hrázký wrote: > > > > > > > > > > > > The static registration

Re: [Spice-devel] [PATCH spice-streaming-agent v2 2/2] explicit instead of static registration for built-in plugins

2018-02-19 Thread Lukáš Hrázký
On Fri, 2018-02-16 at 07:23 -0500, Frediano Ziglio wrote: > > > > > On 6 Feb 2018, at 10:51, Frediano Ziglio wrote: > > > > > > > > > > > > > On 5 Feb 2018, at 15:29, Lukáš Hrázký wrote: > > > > > > > > > > The static registration (that is, having a

Re: [Spice-devel] [PATCH spice-streaming-agent v2 2/2] explicit instead of static registration for built-in plugins

2018-02-16 Thread Frediano Ziglio
> > > On 6 Feb 2018, at 10:51, Frediano Ziglio wrote: > > > >>> > >>> On 5 Feb 2018, at 15:29, Lukáš Hrázký wrote: > >>> > >>> The static registration (that is, having a static list of pointers to > >>> static plugin variables and calling a generic

Re: [Spice-devel] [PATCH spice-streaming-agent v2 2/2] explicit instead of static registration for built-in plugins

2018-02-06 Thread Christophe de Dinechin
> On 6 Feb 2018, at 10:51, Frediano Ziglio wrote: > >>> >>> On 5 Feb 2018, at 15:29, Lukáš Hrázký wrote: >>> >>> The static registration (that is, having a static list of pointers to >>> static plugin variables and calling a generic function in the

Re: [Spice-devel] [PATCH spice-streaming-agent v2 2/2] explicit instead of static registration for built-in plugins

2018-02-06 Thread Frediano Ziglio
> > > On 5 Feb 2018, at 15:29, Lukáš Hrázký wrote: > > > > The static registration (that is, having a static list of pointers to > > static plugin variables and calling a generic function in the main > > initialization code path to register them) allows to add plugins without

[Spice-devel] [PATCH spice-streaming-agent v2 2/2] explicit instead of static registration for built-in plugins

2018-02-05 Thread Lukáš Hrázký
The static registration (that is, having a static list of pointers to static plugin variables and calling a generic function in the main initialization code path to register them) allows to add plugins without registering each of them explicitly. However, in a single codebase, and having very few