Man page - wl_interface(3)
Packages contas this manual
- wl_event_queue(3)
- wl_shm_sigbus_data(3)
- wl_event_loop(3)
- wl_cursor_image(3)
- wl_global(3)
- wl_socket(3)
- wl_resource_iterator_context(3)
- wl_object(3)
- wl_proxy(3)
- wl_argument(3)
- wl_listener(3)
- wl_client(3)
- wl_display(3)
- wl_message(3)
- wl_list(3)
- wl_interface(3)
- wl_event_source(3)
- wl_protocol_logger(3)
- wl_array(3)
- wl_shm_pool(3)
- wl_resource(3)
- wl_cursor_theme(3)
- wl_cursor(3)
- wl_shm_buffer(3)
- wl_protocol_logger_message(3)
- wl_signal(3)
- wl_event_queue(3)
- wl_shm_sigbus_data(3)
- wl_event_loop(3)
- wl_cursor_image(3)
- wl_global(3)
- wl_socket(3)
- wl_resource_iterator_context(3)
- wl_object(3)
- wl_proxy(3)
- wl_argument(3)
- wl_listener(3)
- wl_client(3)
- wl_display(3)
- wl_message(3)
- wl_list(3)
- wl_interface(3)
- wl_event_source(3)
- wl_protocol_logger(3)
- wl_array(3)
- wl_shm_pool(3)
- wl_resource(3)
- wl_cursor_theme(3)
- wl_cursor(3)
- wl_shm_buffer(3)
- wl_protocol_logger_message(3)
- wl_signal(3)
apt-get install libwayland-doc
apt-get install libwayland-doc
Manual
| wl_interface(3) | Wayland | wl_interface(3) |
NAME
wl_interface
SYNOPSIS
#include <wayland-util.h>
Data Fields
const char * name
int version
int method_count
const struct wl_message * methods
int event_count
const struct wl_message * events
Detailed Description
Protocol object interface
A wl_interface describes the API of a protocol object defined in the Wayland protocol specification. The protocol implementation uses a wl_interface within its marshalling machinery for encoding client requests.
The name of a wl_interface is the name of the corresponding protocol interface, and version represents the version of the interface. The members method_count and event_count represent the number of methods (requests) and events in the respective wl_message members.
For example, consider a protocol interface foo, marked as version 1, with two requests and one event.
<interface name="foo" version="1">
<request name="a"></request>
<request name="b"></request>
<event name="c"></event> </interface>
Given two wl_message arrays foo_requests and foo_events, a wl_interface for foo might be:
struct wl_interface foo_interface = {
"foo", 1,
2, foo_requests,
1, foo_events
};
Note
See also
wl_proxy
Interfaces
Versioning
Field Documentation
int wl_interface::event_count
Number of events
const struct wl_message* wl_interface::events
Event signatures
int wl_interface::method_count
Number of methods (requests)
const struct wl_message* wl_interface::methods
Method (request) signatures
const char* wl_interface::name
Interface name
int wl_interface::version
Interface version
Author
Generated automatically by Doxygen for Wayland from the source code.
| Wed Feb 25 2026 13:47:04 | Version 1.24.0 |