Re: [Spice-devel] [PATCH 05/10] Replace a couple Rings with GList

2016-09-09 Thread Frediano Ziglio
> > On Thu, Sep 08, 2016 at 11:52:55AM -0500, Jonathon Jongsma wrote: > > Make RedsState::mig_target_clients into a GList to improve encapsulation > > and maintainability. Also RedsMigTargetClient::pending_links. With > > GList, a type implementation can be ignorant of whether they're > > containe

Re: [Spice-devel] [PATCH 05/10] Replace a couple Rings with GList

2016-09-09 Thread Christophe Fergeau
On Thu, Sep 08, 2016 at 11:52:55AM -0500, Jonathon Jongsma wrote: > Make RedsState::mig_target_clients into a GList to improve encapsulation > and maintainability. Also RedsMigTargetClient::pending_links. With > GList, a type implementation can be ignorant of whether they're > contained within a li

[Spice-devel] [PATCH 05/10] Replace a couple Rings with GList

2016-09-08 Thread Jonathon Jongsma
Make RedsState::mig_target_clients into a GList to improve encapsulation and maintainability. Also RedsMigTargetClient::pending_links. With GList, a type implementation can be ignorant of whether they're contained within a list or not. --- server/reds-private.h | 6 ++ server/reds.c |