On Thu, 2013-07-25 at 10:11 +0800, yvxiang wrote:> Hi,
> I''m a new comer here. When I read the xen-4.3 source code, I
find
> a macro which name is ''LIBXL_LIST_ENTRY'' in the file
> tools/libxl/libxl_internal.h . But I can''t find where is the
> definition of this macro . Can u tell me some information about it ?
These macros are imported from the BSD sys/queues.h header. They are
used in a few different places where the Linux GPL list.h not
appropriate for licensing reasons. There''s a pristine copy in
tools/include/xen-external/bsd-sys-queue.h which is namespaced (i.e.
LIBXL_ prefix added) by
tools/include/xen-external/bsd-sys-queue-h-seddery. There''s also a
manpage and a README in there.
Ian.