|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [PATCH, v2]: change libxl IDL to export a saner interfac
On Thu, 2010-09-09 at 17:27 +0100, Gianni Tedesco wrote:
> + /*
> + * Path is always set if the file reference is valid. However if
> + * mapped is true then the actual file may already be unlinked.
> + */
> + char * path;
> + int mapped;
> + void * data;
> + size_t size;
> +} libxl_file_reference;
> +void libxl_file_reference_destroy(libxl_file_reference *p);
I only just noticed this but there is already a prototype for this
further down libxl.h (Under "* destructors for builtin data types */")
Arguably all the builtin destroy functions should be moved up next to
the types like you have it here.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|