aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-09-19 21:53:51 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-09-19 21:53:51 +1000
commit691a63d66bdf45bc30e427b59958e7e12440e53e (patch)
tree426844dd138cf430a1af62b4d8a4d6a1d6faff16 /include/wlr/backend
parent3693fae0c44d83cab2c701bd44b80d8f6242781e (diff)
Introduce wlr_multi_for_each_backend
Diffstat (limited to 'include/wlr/backend')
-rw-r--r--include/wlr/backend/multi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/backend/multi.h b/include/wlr/backend/multi.h
index 7137b075..ef908d26 100644
--- a/include/wlr/backend/multi.h
+++ b/include/wlr/backend/multi.h
@@ -31,4 +31,7 @@ bool wlr_backend_is_multi(struct wlr_backend *backend);
struct wlr_session *wlr_multi_get_session(struct wlr_backend *base);
bool wlr_multi_is_empty(struct wlr_backend *backend);
+void wlr_multi_for_each_backend(struct wlr_backend *backend,
+ void (*callback)(struct wlr_backend *backend, void *data), void *data);
+
#endif