]> git.proxmox.com Git - qemu.git/commit
Introduce QList
authorLuiz Capitulino <lcapitulino@redhat.com>
Wed, 7 Oct 2009 16:41:48 +0000 (13:41 -0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 9 Oct 2009 02:17:18 +0000 (21:17 -0500)
commita6fd08eb625ae3c6a878f527270a9d384d1b04d2
treea303e22cb3a27f584637acb7e7f33ddf66f7ac30
parentd559ba1af286bba5974ca3ee7eb27f942ca55f52
Introduce QList

QList is a high-level data type that can be used to store QObjects
in a singly-linked list.

The following functions are available:

- qlist_new()    Create a new QList
- qlist_append() Append a QObject to the list
- qlist_iter()   Iterate over stored QObjects

Patchworks-ID: 35334
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Makefile
qlist.c [new file with mode: 0644]
qlist.h [new file with mode: 0644]
qobject.h