From: Kristian Høgsberg Date: Sat, 3 Mar 2012 04:38:31 +0000 (-0500) Subject: connection: Export wl_connection_queue() so we can test it X-Git-Tag: 0.94.90~177 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac80c54f1883779762276c6161bd2a273bac6fe3;p=platform%2Fupstream%2Fwayland.git connection: Export wl_connection_queue() so we can test it --- diff --git a/src/connection.c b/src/connection.c index 6bcc91a..1ea2418 100644 --- a/src/connection.c +++ b/src/connection.c @@ -349,7 +349,7 @@ wl_connection_write(struct wl_connection *connection, return 0; } -static int +int wl_connection_queue(struct wl_connection *connection, const void *data, size_t count) { diff --git a/src/wayland-private.h b/src/wayland-private.h index bdeafd4..b843e89 100644 --- a/src/wayland-private.h +++ b/src/wayland-private.h @@ -66,6 +66,8 @@ void wl_connection_copy(struct wl_connection *connection, void *data, size_t siz void wl_connection_consume(struct wl_connection *connection, size_t size); int wl_connection_data(struct wl_connection *connection, uint32_t mask); int wl_connection_write(struct wl_connection *connection, const void *data, size_t count); +int wl_connection_queue(struct wl_connection *connection, + const void *data, size_t count); struct wl_closure * wl_connection_vmarshal(struct wl_connection *connection,