diff options
| author | Jason Ekstrand <jason@jlekstrand.net> | 2013-06-14 10:07:52 -0500 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-06-14 15:56:08 -0400 |
| commit | 61ac9c68490b311afc4e34f0c515bef85f66a69a (patch) | |
| tree | dec174898639713cc470f4f998c119fcb61d337c /src/wayland-server.h | |
| parent | protocol: Add missing since attribute for name event on wl_seat (diff) | |
| download | wayland-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.h | 6 |
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 |
