WSLAY_EVENT_CONFIG_SET_CALLBACKS(3)

πŸŽ€ WSLAY_EVENT_CONFIG_SET_CALLBACKS πŸŽ€

okay bestie, welcome to wslay_event_config_set_callbacks β€” she's a section 3 manual page from the wslay library, and she is exactly what her name says she is: the girl who sets your callbacks. no cap. πŸ’…


✨ NAME ✨

wslay_event_config_set_callbacks β€” set callback functions 🫢


🌸 SYNOPSIS 🌸

#include <wslay/wslay.h>

void wslay_event_config_set_callbacks(wslay_event_context_ptr ctx, const
struct wslay_event_callbacks *callbacks)

πŸ’– DESCRIPTION πŸ’–

so basically, wslay_event_config_set_callbacks() sets callbacks to ctx. that's it. that's the whole job. iconic behaviour honestly. πŸ‘‘

and the tea is: any callbacks that were previously set β€” whether by this function, or by wslay_event_context_server_init(), or by wslay_event_context_client_init() β€” they get replaced with these callbacks. not merged, not appended, not politely asked to step aside. replaced. new callbacks walk in, old callbacks walk out, no drama, periodt. πŸ’€


πŸ¦‹ SEE ALSO πŸ¦‹

  • wslay_event_context_server_init()
  • wslay_event_context_client_init()

πŸ‘‘ AUTHOR πŸ‘‘

Tatsuhiro Tsujikawa 🌟


2024, 2015, Tatsuhiro Tsujikawa


and that's the whole page, bestie ✨ this one shipped as version @PACKAGE_VERSION@, dated Apr 22, 20 β€” so if you're reading this on some cozy little terminal, just know she came from the wslay crew and she said everything she needed to say in like four lines. short queen. we love her. mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from