diff options
Diffstat (limited to 'src/wayland-server-core.h')
-rw-r--r-- | src/wayland-server-core.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/wayland-server-core.h b/src/wayland-server-core.h index f824837..e5f4e43 100644 --- a/src/wayland-server-core.h +++ b/src/wayland-server-core.h @@ -247,6 +247,9 @@ wl_global_create(struct wl_display *display, void *data, wl_global_bind_func_t bind); void +wl_global_remove(struct wl_global *global); + +void wl_global_destroy(struct wl_global *global); /** A filter function for wl_global objects @@ -258,8 +261,8 @@ wl_global_destroy(struct wl_global *global); * A filter function enables the server to decide which globals to * advertise to each client. * - * When a wl_global filter is set, the given callback funtion will be - * called during wl_global advertisment and binding. + * When a wl_global filter is set, the given callback function will be + * called during wl_global advertisement and binding. * * This function should return true if the global object should be made * visible to the client or false otherwise. @@ -279,6 +282,9 @@ wl_global_get_interface(const struct wl_global *global); void * wl_global_get_user_data(const struct wl_global *global); +void +wl_global_set_user_data(struct wl_global *global, void *data); + struct wl_client * wl_client_create(struct wl_display *display, int fd); |