wl_protocol_logger(3)

πŸ’– NAME πŸ’–

wl_protocol_logger β€” bestie, this is the little struct that snoops on your Wayland protocol traffic for you ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

Okay so this is a C struct, and here's everything it's packing:

🌸 Public Member Functions 🌸

void wl_protocol_logger_destroy (struct wl_protocol_logger *logger)

πŸŽ€ Data Fields πŸŽ€

struct wl_list link
wl_protocol_logger_func_t func
void * user_data

πŸ‘‘ Member Function Documentation πŸ‘‘

πŸ’… void wl_protocol_logger_destroy (struct wl_protocol_logger * logger)

Say bye-bye to a protocol logger πŸ’€βœ¨

This function destroys a protocol logger and removes it from the display it was added to with wl_display_add_protocol_logger. The logger object becomes invalid after calling this function.

no cap, once you call this the logger is gone gone. invalid means invalid β€” do not touch it after, do not pass it around, do not pass go. it's giving ghost πŸ‘»

See also

  • wl_display_add_protocol_logger

🌈 Field Documentation 🌈

🧚 wl_protocol_logger_func_t wl_protocol_logger::func

The callback field, bestie β€” your function lives here πŸ’–

The list linkage. It's how this logger stays hooked into the whole situation πŸ”—

πŸ’œ void* wl_protocol_logger::user_data

Your very own pocket for whatever data you wanna carry around with the logger 🫢


⭐ Author ⭐

Generated automatically by Doxygen for Wayland from the source code.


and that's the whole vibe, periodt πŸ’…βœ¨

this lil page came to you from Wayland, Version 1.26.0, and it's wl_protocol_logger(3) in the Library Functions Manual β€” mwah, ily, go log some protocols bestie πŸŽ€πŸ¦‹πŸ’–