aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSebastian Wick <sebastian.wick@redhat.com>2026-01-03 15:16:13 +0100
committerSebastian Wick <sebastian.wick@redhat.com>2026-01-03 15:16:50 +0100
commitf72e3fae4a56f1e15e667cf4efc2271b8f12e31b (patch)
treeb78f75d7882277ffdb5039271ebb066006696b2f /src
parentdoc: validate doc XML again (diff)
downloadwayland-f72e3fae4a56f1e15e667cf4efc2271b8f12e31b.tar
wayland-f72e3fae4a56f1e15e667cf4efc2271b8f12e31b.tar.gz
wayland-f72e3fae4a56f1e15e667cf4efc2271b8f12e31b.tar.bz2
wayland-f72e3fae4a56f1e15e667cf4efc2271b8f12e31b.tar.lz
wayland-f72e3fae4a56f1e15e667cf4efc2271b8f12e31b.tar.xz
wayland-f72e3fae4a56f1e15e667cf4efc2271b8f12e31b.tar.zst
wayland-f72e3fae4a56f1e15e667cf4efc2271b8f12e31b.zip
server: document protocol logger callback function
This fixes a validation error in the documentation which are not fatal. The idea is the same as in 12ec67a ("server: document listener fields and a vfunc"), which seems to have missed the reference to the wl_protocol_logger_func_t from the note in wl_log_func_t. Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/wayland-server-core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wayland-server-core.h b/src/wayland-server-core.h
index 8b69d0d..c8a6477 100644
--- a/src/wayland-server-core.h
+++ b/src/wayland-server-core.h
@@ -713,6 +713,7 @@ struct wl_protocol_logger_message {
const union wl_argument *arguments;
};
+/** Callback function type for wl_display_add_protocol_logger() */
typedef void (*wl_protocol_logger_func_t)(void *user_data,
enum wl_protocol_logger_type direction,
const struct wl_protocol_logger_message *message);