Re: [libvirt] [PATCH 1/2] virstoragefile: refactor virStorageFileMatchesNNN methods

2016-07-26 Thread Martin Kletzander
On Tue, Jul 26, 2016 at 07:12:29PM +0100, Daniel P. Berrange wrote: Refactor the virStorageFileMatchesNNN methods so that they don't take a struct FileFormatInfo parameter, but instead get the actual raw dat items they needs. This will facilitate reuse in other contexts. Signed-off-by: Daniel P.

[libvirt] [PATCH 1/2] virstoragefile: refactor virStorageFileMatchesNNN methods

2016-07-26 Thread Daniel P. Berrange
Refactor the virStorageFileMatchesNNN methods so that they don't take a struct FileFormatInfo parameter, but instead get the actual raw dat items they needs. This will facilitate reuse in other contexts. Signed-off-by: Daniel P. Berrange --- src/util/virstoragefile.c | 63 +++