Add API to retrieve and iterate over the resources list of a client
authorGiulio Camuffo <giuliocamuffo@gmail.com>
Thu, 11 Aug 2016 15:23:10 +0000 (17:23 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Fri, 12 Aug 2016 08:53:16 +0000 (11:53 +0300)
commit2f617250d27ec3258071077997934c43948c384b
tree5f085f46b06b8b80f91cd672947916fba9084445
parentc55c1d787cb542de5ffee702c7ca9bcd27b56bef
Add API to retrieve and iterate over the resources list of a client

To complement on the new resource created signal, this allows to
iterate over the existing resources of a client.

Signed-off-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Reviewed-by: Jonas Ã…dahl <jadahl@gmail.com>
[Pekka: added empty lines, init ret in for_each_helper()]
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
src/wayland-private.h
src/wayland-server-core.h
src/wayland-server.c
src/wayland-util.c
src/wayland-util.h