gnutls_packet_get(3)

πŸ’– gnutls_packet_get(3) πŸ’–

okay bestie, so this one lives in the gnutls manual, and it's literally just "hey, give me the data and the sequence number from that packet you got" β€” that's the whole vibe. let's get into it 🫢


✨ NAME ✨

gnutls_packet_get β€” an API function, periodt πŸ’…


🌈 SYNOPSIS 🌈

#include <gnutls/gnutls.h>

void gnutls_packet_get(gnutls_packet_t packet, gnutls_datum_t * data,
       unsigned char * sequence);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_packet_t packet β€” it's a gnutls_packet_t type, that's the whole thing, that's the vibe ✨
  • gnutls_datum_t * data β€” this is gonna get filled up with the data that's hanging out inside the packet structure. and bestie, it may be NULL πŸ‘€
  • unsigned char * sequence β€” the 8-bytes of the packet sequence number. also may be NULL πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

so this function returns the data and the sequence number associated with the received packet. that's it. that's the function. short, sweet, iconic πŸ‘‘


⭐ SINCE ⭐

3.3.5 β€” she's been here a minute, respect her 🫑


😭 REPORTING BUGS 😭

found something cursed? report bugs to <bugs@gnutls.org>. ngl they'd love to hear from you.

home page: https://www.gnutls.org


Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.


πŸ’œ SEE ALSO πŸ’œ

the full documentation for gnutls is maintained as a Texinfo manual. if the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit

https://www.gnutls.org/manual/


k bye, this page was brought to you by gnutls 3.8.13, calling itself gnutls_packet_get(3) πŸ’– slay responsibly 🧚

πŸ“¦ where this page comes from