Skip to content
Commit 4bc7bd73 authored by Marius Vlad's avatar Marius Vlad Committed by Pekka Paalanen
Browse files

libweston/weston-log: Add a iterator helper for debug scope



This adds three new helpers: one to iterate over all debug scopes
created/added and other two are for simpler getters for the scope name
and the description.

Included with this change is also a simple test to retrieve them.

This is an alternative to using the debug scope list advertised when
using the weston-debug private extension. libweston users can use this
directly to know which scopes they can subscribe to, and there's no need
to have a client implementation for the weston-debug protocol.

Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
parent 4ce6b1e4
Loading
Loading
Loading
Pipeline #894407 passed with stages
in 2 minutes and 9 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment