From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: new idl helper, append to Array Date: Fri, 5 Feb 2016 10:55:31 +0100 Message-ID: <20160205095531.GA22873@aepfle.de> References: <20160204092353.GA17709@aepfle.de> <1454579894.25207.144.camel@citrix.com> <20160204100758.GA3492@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20160204100758.GA3492@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, Feb 04, Olaf Hering wrote: > On Thu, Feb 04, Ian Campbell wrote: > > > I think the append_to variant is probably least gross. > > libxl_device_vscsidev_append_to_vscsictrl() would work too. While looking at the MERGE macro in libxl.c, a _remove_from could be added as well. I have not checked if there are other users beside the the MERGE function. Olaf