permissions: simplify API a little
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 12 Jul 2013 14:03:07 +0000 (16:03 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 12 Jul 2013 14:17:15 +0000 (16:17 +0200)
commitfacc91a942ee216eea6c1bdbba5f2072301004ad
tree8cd13581eb1e3a8f0476dc5729c4f58bbfb63d20
parenta6a82935958447716f1ba54a9bae648353ad1269
permissions: simplify API a little

Avoid passing GstStructure in the add_role method, use varargs instead
to construct the structure behind the scenes. We can then also use the
structure name as the role and simplify some more logic.
examples/test-auth.c
examples/test-cgroups.c
gst/rtsp-server/rtsp-permissions.c
gst/rtsp-server/rtsp-permissions.h