telnet_event_t(3)
β¨ 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_tstruct data_tstruct environ_tstruct error_tstruct iac_tstruct mssp_tstruct negotiate_tstruct subnegotiate_tstruct ttype_tstruct 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 datastruct telnet_event_t::error_t errorstruct telnet_event_t::iac_t iacstruct telnet_event_t::negotiate_t negstruct telnet_event_t::subnegotiate_t substruct telnet_event_t::zmp_t zmpstruct telnet_event_t::ttype_t ttypestruct telnet_event_t::compress_t compressstruct telnet_event_t::environ_t environstruct 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
- epel 10: libtelnet-devel 0.23-11.el10_1 Β· LicenseRef-Fedora-Public-Domain
- fedora 43: libtelnet-devel 0.23-12.fc43 Β· Unlicense-libtelnet
- fedora 43: libtelnet-devel 0.23-12.fc43 Β· Unlicense-libtelnet
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms