SDL  2.0
wayland-protocol.c File Reference
#include <stdlib.h>
#include <stdint.h>
#include "wayland-util.h"
+ Include dependency graph for wayland-protocol.c:

Go to the source code of this file.

Variables

const struct wl_interface wl_buffer_interface
 
const struct wl_interface wl_callback_interface
 
const struct wl_interface wl_data_device_interface
 
const struct wl_interface wl_data_offer_interface
 
const struct wl_interface wl_data_source_interface
 
const struct wl_interface wl_keyboard_interface
 
const struct wl_interface wl_output_interface
 
const struct wl_interface wl_pointer_interface
 
const struct wl_interface wl_region_interface
 
const struct wl_interface wl_registry_interface
 
const struct wl_interface wl_seat_interface
 
const struct wl_interface wl_shell_surface_interface
 
const struct wl_interface wl_shm_pool_interface
 
const struct wl_interface wl_subsurface_interface
 
const struct wl_interface wl_surface_interface
 
const struct wl_interface wl_touch_interface
 
static const struct wl_interface * types []
 
static const struct wl_message wl_display_requests []
 
static const struct wl_message wl_display_events []
 
WL_EXPORT const struct wl_interface wl_display_interface
 
static const struct wl_message wl_registry_requests []
 
static const struct wl_message wl_registry_events []
 
static const struct wl_message wl_callback_events []
 
static const struct wl_message wl_compositor_requests []
 
WL_EXPORT const struct wl_interface wl_compositor_interface
 
static const struct wl_message wl_shm_pool_requests []
 
static const struct wl_message wl_shm_requests []
 
static const struct wl_message wl_shm_events []
 
WL_EXPORT const struct wl_interface wl_shm_interface
 
static const struct wl_message wl_buffer_requests []
 
static const struct wl_message wl_buffer_events []
 
static const struct wl_message wl_data_offer_requests []
 
static const struct wl_message wl_data_offer_events []
 
static const struct wl_message wl_data_source_requests []
 
static const struct wl_message wl_data_source_events []
 
static const struct wl_message wl_data_device_requests []
 
static const struct wl_message wl_data_device_events []
 
static const struct wl_message wl_data_device_manager_requests []
 
WL_EXPORT const struct wl_interface wl_data_device_manager_interface
 
static const struct wl_message wl_shell_requests []
 
WL_EXPORT const struct wl_interface wl_shell_interface
 
static const struct wl_message wl_shell_surface_requests []
 
static const struct wl_message wl_shell_surface_events []
 
static const struct wl_message wl_surface_requests []
 
static const struct wl_message wl_surface_events []
 
static const struct wl_message wl_seat_requests []
 
static const struct wl_message wl_seat_events []
 
static const struct wl_message wl_pointer_requests []
 
static const struct wl_message wl_pointer_events []
 
static const struct wl_message wl_keyboard_requests []
 
static const struct wl_message wl_keyboard_events []
 
static const struct wl_message wl_touch_requests []
 
static const struct wl_message wl_touch_events []
 
static const struct wl_message wl_output_requests []
 
static const struct wl_message wl_output_events []
 
static const struct wl_message wl_region_requests []
 
static const struct wl_message wl_subcompositor_requests []
 
WL_EXPORT const struct wl_interface wl_subcompositor_interface
 
static const struct wl_message wl_subsurface_requests []
 

Variable Documentation

◆ types

const struct wl_interface* types[]
static

Definition at line 51 of file wayland-protocol.c.

◆ wl_buffer_events

const struct wl_message wl_buffer_events[]
static
Initial value:
= {
{ "release", "", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 231 of file wayland-protocol.c.

◆ wl_buffer_interface

WL_EXPORT const struct wl_interface wl_buffer_interface
Initial value:
= {
"wl_buffer", 1,
}
static const struct wl_message wl_buffer_requests[]
static const struct wl_message wl_buffer_events[]

Definition at line 235 of file wayland-protocol.c.

◆ wl_buffer_requests

const struct wl_message wl_buffer_requests[]
static
Initial value:
= {
{ "destroy", "", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 227 of file wayland-protocol.c.

◆ wl_callback_events

const struct wl_message wl_callback_events[]
static
Initial value:
= {
{ "done", "u", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 180 of file wayland-protocol.c.

◆ wl_callback_interface

WL_EXPORT const struct wl_interface wl_callback_interface
Initial value:
= {
"wl_callback", 1,
0, NULL,
}
static const struct wl_message wl_callback_events[]
#define NULL
Definition: begin_code.h:164

Definition at line 184 of file wayland-protocol.c.

◆ wl_compositor_interface

WL_EXPORT const struct wl_interface wl_compositor_interface
Initial value:
= {
"wl_compositor", 4,
0, NULL,
}
static const struct wl_message wl_compositor_requests[]
#define NULL
Definition: begin_code.h:164

Definition at line 195 of file wayland-protocol.c.

◆ wl_compositor_requests

const struct wl_message wl_compositor_requests[]
static
Initial value:
= {
{ "create_surface", "n", types + 10 },
{ "create_region", "n", types + 11 },
}
GLsizei GLenum GLenum * types

Definition at line 190 of file wayland-protocol.c.

◆ wl_data_device_events

const struct wl_message wl_data_device_events[]
static
Initial value:
= {
{ "data_offer", "n", types + 27 },
{ "enter", "uoff?o", types + 28 },
{ "leave", "", types + 0 },
{ "motion", "uff", types + 0 },
{ "drop", "", types + 0 },
{ "selection", "?o", types + 33 },
}
GLsizei GLenum GLenum * types

Definition at line 288 of file wayland-protocol.c.

◆ wl_data_device_interface

WL_EXPORT const struct wl_interface wl_data_device_interface
Initial value:
= {
"wl_data_device", 3,
}
static const struct wl_message wl_data_device_requests[]
static const struct wl_message wl_data_device_events[]

Definition at line 297 of file wayland-protocol.c.

◆ wl_data_device_manager_interface

WL_EXPORT const struct wl_interface wl_data_device_manager_interface
Initial value:
= {
"wl_data_device_manager", 3,
0, NULL,
}
static const struct wl_message wl_data_device_manager_requests[]
#define NULL
Definition: begin_code.h:164

Definition at line 308 of file wayland-protocol.c.

◆ wl_data_device_manager_requests

const struct wl_message wl_data_device_manager_requests[]
static
Initial value:
= {
{ "create_data_source", "n", types + 34 },
{ "get_data_device", "no", types + 35 },
}
GLsizei GLenum GLenum * types

Definition at line 303 of file wayland-protocol.c.

◆ wl_data_device_requests

const struct wl_message wl_data_device_requests[]
static
Initial value:
= {
{ "start_drag", "?oo?ou", types + 21 },
{ "set_selection", "?ou", types + 25 },
{ "release", "2", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 282 of file wayland-protocol.c.

◆ wl_data_offer_events

const struct wl_message wl_data_offer_events[]
static
Initial value:
= {
{ "offer", "s", types + 0 },
{ "source_actions", "3u", types + 0 },
{ "action", "3u", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 249 of file wayland-protocol.c.

◆ wl_data_offer_interface

WL_EXPORT const struct wl_interface wl_data_offer_interface
Initial value:
= {
"wl_data_offer", 3,
}
static const struct wl_message wl_data_offer_events[]
static const struct wl_message wl_data_offer_requests[]

Definition at line 255 of file wayland-protocol.c.

◆ wl_data_offer_requests

const struct wl_message wl_data_offer_requests[]
static
Initial value:
= {
{ "accept", "u?s", types + 0 },
{ "receive", "sh", types + 0 },
{ "destroy", "", types + 0 },
{ "finish", "3", types + 0 },
{ "set_actions", "3uu", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 241 of file wayland-protocol.c.

◆ wl_data_source_events

const struct wl_message wl_data_source_events[]
static
Initial value:
= {
{ "target", "?s", types + 0 },
{ "send", "sh", types + 0 },
{ "cancelled", "", types + 0 },
{ "dnd_drop_performed", "3", types + 0 },
{ "dnd_finished", "3", types + 0 },
{ "action", "3u", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 267 of file wayland-protocol.c.

◆ wl_data_source_interface

WL_EXPORT const struct wl_interface wl_data_source_interface
Initial value:
= {
"wl_data_source", 3,
}
static const struct wl_message wl_data_source_events[]
static const struct wl_message wl_data_source_requests[]

Definition at line 276 of file wayland-protocol.c.

◆ wl_data_source_requests

const struct wl_message wl_data_source_requests[]
static
Initial value:
= {
{ "offer", "s", types + 0 },
{ "destroy", "", types + 0 },
{ "set_actions", "3u", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 261 of file wayland-protocol.c.

◆ wl_display_events

const struct wl_message wl_display_events[]
static
Initial value:
= {
{ "error", "ous", types + 0 },
{ "delete_id", "u", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 154 of file wayland-protocol.c.

◆ wl_display_interface

WL_EXPORT const struct wl_interface wl_display_interface
Initial value:
= {
"wl_display", 1,
}
static const struct wl_message wl_display_events[]
static const struct wl_message wl_display_requests[]

Definition at line 159 of file wayland-protocol.c.

◆ wl_display_requests

const struct wl_message wl_display_requests[]
static
Initial value:
= {
{ "sync", "n", types + 8 },
{ "get_registry", "n", types + 9 },
}
GLsizei GLenum GLenum * types

Definition at line 149 of file wayland-protocol.c.

◆ wl_keyboard_events

const struct wl_message wl_keyboard_events[]
static
Initial value:
= {
{ "keymap", "uhu", types + 0 },
{ "enter", "uoa", types + 79 },
{ "leave", "uo", types + 82 },
{ "key", "uuuu", types + 0 },
{ "modifiers", "uuuuu", types + 0 },
{ "repeat_info", "4ii", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 418 of file wayland-protocol.c.

◆ wl_keyboard_interface

WL_EXPORT const struct wl_interface wl_keyboard_interface
Initial value:
= {
"wl_keyboard", 6,
}
static const struct wl_message wl_keyboard_events[]
static const struct wl_message wl_keyboard_requests[]

Definition at line 427 of file wayland-protocol.c.

◆ wl_keyboard_requests

const struct wl_message wl_keyboard_requests[]
static
Initial value:
= {
{ "release", "3", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 414 of file wayland-protocol.c.

◆ wl_output_events

const struct wl_message wl_output_events[]
static
Initial value:
= {
{ "geometry", "iiiiissi", types + 0 },
{ "mode", "uiii", types + 0 },
{ "done", "2", types + 0 },
{ "scale", "2i", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 457 of file wayland-protocol.c.

◆ wl_output_interface

WL_EXPORT const struct wl_interface wl_output_interface
Initial value:
= {
"wl_output", 3,
}
static const struct wl_message wl_output_events[]
static const struct wl_message wl_output_requests[]

Definition at line 464 of file wayland-protocol.c.

◆ wl_output_requests

const struct wl_message wl_output_requests[]
static
Initial value:
= {
{ "release", "3", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 453 of file wayland-protocol.c.

◆ wl_pointer_events

const struct wl_message wl_pointer_events[]
static
Initial value:
= {
{ "enter", "uoff", types + 73 },
{ "leave", "uo", types + 77 },
{ "motion", "uff", types + 0 },
{ "button", "uuuu", types + 0 },
{ "axis", "uuf", types + 0 },
{ "frame", "5", types + 0 },
{ "axis_source", "5u", types + 0 },
{ "axis_stop", "5uu", types + 0 },
{ "axis_discrete", "5ui", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 396 of file wayland-protocol.c.

◆ wl_pointer_interface

WL_EXPORT const struct wl_interface wl_pointer_interface
Initial value:
= {
"wl_pointer", 6,
}
static const struct wl_message wl_pointer_requests[]
static const struct wl_message wl_pointer_events[]

Definition at line 408 of file wayland-protocol.c.

◆ wl_pointer_requests

const struct wl_message wl_pointer_requests[]
static
Initial value:
= {
{ "set_cursor", "u?oii", types + 69 },
{ "release", "3", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 391 of file wayland-protocol.c.

◆ wl_region_interface

WL_EXPORT const struct wl_interface wl_region_interface
Initial value:
= {
"wl_region", 1,
0, NULL,
}
static const struct wl_message wl_region_requests[]
#define NULL
Definition: begin_code.h:164

Definition at line 476 of file wayland-protocol.c.

◆ wl_region_requests

const struct wl_message wl_region_requests[]
static
Initial value:
= {
{ "destroy", "", types + 0 },
{ "add", "iiii", types + 0 },
{ "subtract", "iiii", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 470 of file wayland-protocol.c.

◆ wl_registry_events

const struct wl_message wl_registry_events[]
static
Initial value:
= {
{ "global", "usu", types + 0 },
{ "global_remove", "u", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 169 of file wayland-protocol.c.

◆ wl_registry_interface

WL_EXPORT const struct wl_interface wl_registry_interface
Initial value:
= {
"wl_registry", 1,
}
static const struct wl_message wl_registry_events[]
static const struct wl_message wl_registry_requests[]

Definition at line 174 of file wayland-protocol.c.

◆ wl_registry_requests

const struct wl_message wl_registry_requests[]
static
Initial value:
= {
{ "bind", "usun", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 165 of file wayland-protocol.c.

◆ wl_seat_events

const struct wl_message wl_seat_events[]
static
Initial value:
= {
{ "capabilities", "u", types + 0 },
{ "name", "2s", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 380 of file wayland-protocol.c.

◆ wl_seat_interface

WL_EXPORT const struct wl_interface wl_seat_interface
Initial value:
= {
"wl_seat", 6,
}
static const struct wl_message wl_seat_requests[]
static const struct wl_message wl_seat_events[]

Definition at line 385 of file wayland-protocol.c.

◆ wl_seat_requests

const struct wl_message wl_seat_requests[]
static
Initial value:
= {
{ "get_pointer", "n", types + 66 },
{ "get_keyboard", "n", types + 67 },
{ "get_touch", "n", types + 68 },
{ "release", "5", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 373 of file wayland-protocol.c.

◆ wl_shell_interface

WL_EXPORT const struct wl_interface wl_shell_interface
Initial value:
= {
"wl_shell", 1,
0, NULL,
}
static const struct wl_message wl_shell_requests[]
#define NULL
Definition: begin_code.h:164

Definition at line 318 of file wayland-protocol.c.

◆ wl_shell_requests

const struct wl_message wl_shell_requests[]
static
Initial value:
= {
{ "get_shell_surface", "no", types + 37 },
}
GLsizei GLenum GLenum * types

Definition at line 314 of file wayland-protocol.c.

◆ wl_shell_surface_events

const struct wl_message wl_shell_surface_events[]
static
Initial value:
= {
{ "ping", "u", types + 0 },
{ "configure", "uii", types + 0 },
{ "popup_done", "", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 337 of file wayland-protocol.c.

◆ wl_shell_surface_interface

WL_EXPORT const struct wl_interface wl_shell_surface_interface
Initial value:
= {
"wl_shell_surface", 1,
}
static const struct wl_message wl_shell_surface_requests[]
static const struct wl_message wl_shell_surface_events[]

Definition at line 343 of file wayland-protocol.c.

◆ wl_shell_surface_requests

const struct wl_message wl_shell_surface_requests[]
static
Initial value:
= {
{ "pong", "u", types + 0 },
{ "move", "ou", types + 39 },
{ "resize", "ouu", types + 41 },
{ "set_toplevel", "", types + 0 },
{ "set_transient", "oiiu", types + 44 },
{ "set_fullscreen", "uu?o", types + 48 },
{ "set_popup", "ouoiiu", types + 51 },
{ "set_maximized", "?o", types + 57 },
{ "set_title", "s", types + 0 },
{ "set_class", "s", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 324 of file wayland-protocol.c.

◆ wl_shm_events

const struct wl_message wl_shm_events[]
static
Initial value:
= {
{ "format", "u", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 217 of file wayland-protocol.c.

◆ wl_shm_interface

WL_EXPORT const struct wl_interface wl_shm_interface
Initial value:
= {
"wl_shm", 1,
}
static const struct wl_message wl_shm_requests[]
static const struct wl_message wl_shm_events[]

Definition at line 221 of file wayland-protocol.c.

◆ wl_shm_pool_interface

WL_EXPORT const struct wl_interface wl_shm_pool_interface
Initial value:
= {
"wl_shm_pool", 1,
0, NULL,
}
static const struct wl_message wl_shm_pool_requests[]
#define NULL
Definition: begin_code.h:164

Definition at line 207 of file wayland-protocol.c.

◆ wl_shm_pool_requests

const struct wl_message wl_shm_pool_requests[]
static
Initial value:
= {
{ "create_buffer", "niiiiu", types + 12 },
{ "destroy", "", types + 0 },
{ "resize", "i", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 201 of file wayland-protocol.c.

◆ wl_shm_requests

const struct wl_message wl_shm_requests[]
static
Initial value:
= {
{ "create_pool", "nhi", types + 18 },
}
GLsizei GLenum GLenum * types

Definition at line 213 of file wayland-protocol.c.

◆ wl_subcompositor_interface

WL_EXPORT const struct wl_interface wl_subcompositor_interface
Initial value:
= {
"wl_subcompositor", 1,
0, NULL,
}
#define NULL
Definition: begin_code.h:164
static const struct wl_message wl_subcompositor_requests[]

Definition at line 487 of file wayland-protocol.c.

◆ wl_subcompositor_requests

const struct wl_message wl_subcompositor_requests[]
static
Initial value:
= {
{ "destroy", "", types + 0 },
{ "get_subsurface", "noo", types + 90 },
}
GLsizei GLenum GLenum * types

Definition at line 482 of file wayland-protocol.c.

◆ wl_subsurface_interface

WL_EXPORT const struct wl_interface wl_subsurface_interface
Initial value:
= {
"wl_subsurface", 1,
0, NULL,
}
static const struct wl_message wl_subsurface_requests[]
#define NULL
Definition: begin_code.h:164

Definition at line 502 of file wayland-protocol.c.

◆ wl_subsurface_requests

const struct wl_message wl_subsurface_requests[]
static
Initial value:
= {
{ "destroy", "", types + 0 },
{ "set_position", "ii", types + 0 },
{ "place_above", "o", types + 93 },
{ "place_below", "o", types + 94 },
{ "set_sync", "", types + 0 },
{ "set_desync", "", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 493 of file wayland-protocol.c.

◆ wl_surface_events

const struct wl_message wl_surface_events[]
static
Initial value:
= {
{ "enter", "o", types + 64 },
{ "leave", "o", types + 65 },
}
GLsizei GLenum GLenum * types

Definition at line 362 of file wayland-protocol.c.

◆ wl_surface_interface

WL_EXPORT const struct wl_interface wl_surface_interface
Initial value:
= {
"wl_surface", 4,
}
static const struct wl_message wl_surface_events[]
static const struct wl_message wl_surface_requests[]

Definition at line 367 of file wayland-protocol.c.

◆ wl_surface_requests

const struct wl_message wl_surface_requests[]
static
Initial value:
= {
{ "destroy", "", types + 0 },
{ "attach", "?oii", types + 58 },
{ "damage", "iiii", types + 0 },
{ "frame", "n", types + 61 },
{ "set_opaque_region", "?o", types + 62 },
{ "set_input_region", "?o", types + 63 },
{ "commit", "", types + 0 },
{ "set_buffer_transform", "2i", types + 0 },
{ "set_buffer_scale", "3i", types + 0 },
{ "damage_buffer", "4iiii", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 349 of file wayland-protocol.c.

◆ wl_touch_events

const struct wl_message wl_touch_events[]
static
Initial value:
= {
{ "down", "uuoiff", types + 84 },
{ "up", "uui", types + 0 },
{ "motion", "uiff", types + 0 },
{ "frame", "", types + 0 },
{ "cancel", "", types + 0 },
{ "shape", "6iff", types + 0 },
{ "orientation", "6if", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 437 of file wayland-protocol.c.

◆ wl_touch_interface

WL_EXPORT const struct wl_interface wl_touch_interface
Initial value:
= {
"wl_touch", 6,
}
static const struct wl_message wl_touch_events[]
static const struct wl_message wl_touch_requests[]

Definition at line 447 of file wayland-protocol.c.

◆ wl_touch_requests

const struct wl_message wl_touch_requests[]
static
Initial value:
= {
{ "release", "3", types + 0 },
}
GLsizei GLenum GLenum * types

Definition at line 433 of file wayland-protocol.c.