aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/interface.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-19 15:46:28 -0400
committerDrew DeVault <sir@cmpwn.com>2018-03-19 15:46:28 -0400
commit8d490fdb34ad4374b3ab144f1b46296eb81ad316 (patch)
treeb6c2b2be7bbb871a20c99a8b8b33b2f082666e00 /include/wlr/backend/interface.h
parentbfc9b13dcd19d89c619281b4a7ad66c08116062c (diff)
Write some more docs
Diffstat (limited to 'include/wlr/backend/interface.h')
-rw-r--r--include/wlr/backend/interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/backend/interface.h b/include/wlr/backend/interface.h
index d9212795..f03e95d9 100644
--- a/include/wlr/backend/interface.h
+++ b/include/wlr/backend/interface.h
@@ -12,6 +12,10 @@ struct wlr_backend_impl {
struct wlr_renderer *(*get_renderer)(struct wlr_backend *backend);
};
+/**
+ * Initializes common state on a wlr_backend and sets the implementation to the
+ * provided wlr_backend_impl reference.
+ */
void wlr_backend_init(struct wlr_backend *backend,
const struct wlr_backend_impl *impl);