Make wl_client_create() public
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 11 Apr 2011 13:15:09 +0000 (09:15 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 11 Apr 2011 13:15:09 +0000 (09:15 -0400)
wayland/wayland-server.c
wayland/wayland-server.h

index 2316949..979b225 100644 (file)
@@ -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;
index f74cbae..23a6dff 100644 (file)
@@ -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);