[libvirt] [PATCH 14/14] secret: Introduce virSecretObjList

2016-02-25 Thread John Ferlan
This patch replaces the listInsert and listUnlink with the more commonly used VIR_APPEND_ELEMENT and VIR_REMOVE_ELEMENT macros used for list mgmt. Of course that does require any code walking the ->next list to instead use the ->count for loop Signed-off-by: John Ferlan --- src/secret/secret_dr

Re: [libvirt] [PATCH 14/14] secret: Introduce virSecretObjList

2016-02-26 Thread Daniel P. Berrange
On Thu, Feb 25, 2016 at 09:03:18AM -0500, John Ferlan wrote: > This patch replaces the listInsert and listUnlink with the more commonly > used VIR_APPEND_ELEMENT and VIR_REMOVE_ELEMENT macros used for list mgmt. > > Of course that does require any code walking the ->next list to instead > use the

Re: [libvirt] [PATCH 14/14] secret: Introduce virSecretObjList

2016-02-26 Thread John Ferlan
On 02/26/2016 12:16 PM, Daniel P. Berrange wrote: > On Thu, Feb 25, 2016 at 09:03:18AM -0500, John Ferlan wrote: >> This patch replaces the listInsert and listUnlink with the more commonly >> used VIR_APPEND_ELEMENT and VIR_REMOVE_ELEMENT macros used for list mgmt. >> >> Of course that does requi