aboutsummaryrefslogtreecommitdiffstats
path: root/src/wayland-server.h
diff options
context:
space:
mode:
authorJason Ekstrand <jason@jlekstrand.net>2013-06-14 10:07:52 -0500
committerKristian Høgsberg <krh@bitplanet.net>2013-06-14 15:56:08 -0400
commit61ac9c68490b311afc4e34f0c515bef85f66a69a (patch)
treedec174898639713cc470f4f998c119fcb61d337c /src/wayland-server.h
parentprotocol: Add missing since attribute for name event on wl_seat (diff)
downloadwayland-61ac9c68490b311afc4e34f0c515bef85f66a69a.tar
wayland-61ac9c68490b311afc4e34f0c515bef85f66a69a.tar.gz
wayland-61ac9c68490b311afc4e34f0c515bef85f66a69a.tar.bz2
wayland-61ac9c68490b311afc4e34f0c515bef85f66a69a.tar.lz
wayland-61ac9c68490b311afc4e34f0c515bef85f66a69a.tar.xz
wayland-61ac9c68490b311afc4e34f0c515bef85f66a69a.tar.zst
wayland-61ac9c68490b311afc4e34f0c515bef85f66a69a.zip
server: Add aditional wl_resource accessors
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/wayland-server.h')
-rw-r--r--src/wayland-server.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wayland-server.h b/src/wayland-server.h
index 84c36cb..cffe7f6 100644
--- a/src/wayland-server.h
+++ b/src/wayland-server.h
@@ -260,8 +260,14 @@ uint32_t
wl_resource_get_id(struct wl_resource *resource);
struct wl_list *
wl_resource_get_link(struct wl_resource *resource);
+struct wl_resource *
+wl_resource_from_link(struct wl_list *resource);
+struct wl_resource *
+wl_resource_find_for_client(struct wl_list *list, struct wl_client *client);
struct wl_client *
wl_resource_get_client(struct wl_resource *resource);
+void
+wl_resource_set_user_data(struct wl_resource *resource, void *data);
void *
wl_resource_get_user_data(struct wl_resource *resource);
void