telnet_event_t(3)

πŸ“¦
version 0.23 Β· 3 versions
, in epel 10, fedora 43

✨ telnet_event_t(3) ✨

okay bestie, welcome to the Library Functions Manual πŸ’– this one's about telnet_event_t, and it's genuinely the moment where libtelnet starts talking back to you.


🌸 NAME 🌸

telnet_event_t β€” the struct that carries every lil update telnet wants you to know about 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <libtelnet.h>

πŸ’œ Data Structures πŸ’œ

so this struct is giving very "everything bagel" β€” it's got a whole lil fam of nested structs inside it:

  • struct compress_t
  • struct data_t
  • struct environ_t
  • struct error_t
  • struct iac_t
  • struct mssp_t
  • struct negotiate_t
  • struct subnegotiate_t
  • struct ttype_t
  • struct zmp_t

πŸŽ€ Data Fields πŸŽ€

and these are the actual fields, no cap:

  • enum telnet_event_type_t type β€” Event type. ✨
  • struct telnet_event_t::data_t data
  • struct telnet_event_t::error_t error
  • struct telnet_event_t::iac_t iac
  • struct telnet_event_t::negotiate_t neg
  • struct telnet_event_t::subnegotiate_t sub
  • struct telnet_event_t::zmp_t zmp
  • struct telnet_event_t::ttype_t ttype
  • struct telnet_event_t::compress_t compress
  • struct telnet_event_t::environ_t environ
  • struct telnet_event_t::mssp_t mssp

πŸ’… Detailed Description πŸ’…

event information. that's it, that's the whole vibe β€” this struct is literally just a lil envelope of event info that gets handed to you πŸ“¬


πŸ”₯ Field Documentation πŸ”₯

🌈 enum telnet_event_type_t telnet_event_t::type 🌈

Event type. bestie, this is the main character field β€” the type field is what tells you which of the other event structure fields have been filled in. so like, if the event type is TELNET_EV_ZMP, then the zmp event field (and ONLY the zmp event field) will be filled in. not the others. just that one. the way it does exactly one job at a time? iconic. πŸ‘‘

fr fr β€” read type first, then go read the matching field. don't go poking at fields that weren't filled in, that's not the move πŸ™ˆ

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for My Project from the source code. so technically the author is a robot πŸ€– and honestly? it ate.


and that's the whole page, periodt πŸ’– that was telnet_event_t(3) from My Project β€” shoutout to the Doxygen-generated source-code grind for making it happen, mwah πŸŽ€πŸ’…

πŸ“¦ where this page comes from