diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2011-04-11 09:15:09 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2011-04-11 09:15:09 -0400 |
commit | 8f081748f996b91cd49603f62f23d5617f2baf68 (patch) | |
tree | 3a8a2cdd3074313488f5e76be3722becd9ae678a | |
parent | 4d33e802e0eaff8a4580371b6e2d30832c3c6bbd (diff) |
Make wl_client_create() public
-rw-r--r-- | wayland/wayland-server.c | 2 | ||||
-rw-r--r-- | wayland/wayland-server.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/wayland/wayland-server.c b/wayland/wayland-server.c index 2316949..979b225 100644 --- a/wayland/wayland-server.c +++ b/wayland/wayland-server.c @@ -209,7 +209,7 @@ wl_display_post_range(struct wl_display *display, struct wl_client *client) client->id_count += 256; } -static struct wl_client * +WL_EXPORT struct wl_client * wl_client_create(struct wl_display *display, int fd) { struct wl_client *client; diff --git a/wayland/wayland-server.h b/wayland/wayland-server.h index f74cbae..23a6dff 100644 --- a/wayland/wayland-server.h +++ b/wayland/wayland-server.h @@ -87,6 +87,7 @@ typedef void (*wl_client_connect_func_t)(struct wl_client *client, struct wl_obj int wl_display_add_global(struct wl_display *display, struct wl_object *object, wl_client_connect_func_t func); +struct wl_client *wl_client_create(struct wl_display *display, int fd); void wl_client_destroy(struct wl_client *client); void wl_client_post_no_memory(struct wl_client *client); void wl_client_post_global(struct wl_client *client, struct wl_object *object); |