blob: ae62bcaccd1dc04d18df2b878794c91da0932b5b [file] [log] [blame]
Kristian Høgsberga67a71a2008-10-07 10:10:36 -04001#ifndef _WAYLAND_CLIENT_H
2#define _WAYLAND_CLIENT_H
3
4struct wl_connection;
5struct wl_display;
6struct wl_surface;
7
8struct wl_connection *
9wl_connection_create(const char *address);
10void
11wl_connection_destroy(struct wl_connection *connection);
12int
13wl_connection_get_fd(struct wl_connection *connection);
14void
15wl_connection_iterate(struct wl_connection *connection);
16int
17wl_connection_flush(struct wl_connection *connection);
18
19struct wl_display *
20wl_connection_get_display(struct wl_connection *connection);
21struct wl_surface *
22wl_display_create_surface(struct wl_display *display);
23
24void
25wl_surface_attach(struct wl_surface *surface,
26 uint32_t name, int width, int height, int stride);
27
28#endif