gnutls_session_ticket_send(3)

πŸ’– gnutls_session_ticket_send β€” the gnutls manual, bestie edition πŸŽ€

okay so you're here for gnutls_session_ticket_send(3), an API function from the gnutls library. it's giving "server girlie handing out passes" energy and honestly? obsessed. let's get into it ✨


✨ NAME ✨

gnutls_session_ticket_send β€” API function 🎟️


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gnutls/gnutls.h>

int gnutls_session_ticket_send(gnutls_session_t session, unsigned nr,
       unsigned flags);

no cap, that's the whole vibe right there πŸ’…


🌸 ARGUMENTS 🌸

  • gnutls_session_t session β€” is a gnutls_session_t type. yes queen, that's your session, the main character of this whole operation πŸ‘‘
  • unsigned nr β€” the number of tickets to send. like, how many you handing out bestie 🎫
  • unsigned flags β€” must be zero. that's it. that's the rule. zero. nada. don't try it πŸ™ˆ

πŸ’« DESCRIPTION πŸ’«

Sends a fresh session ticket to the peer 🎟️✨

This is relevant only in server side under TLS1.3 β€” so if you're the client, or you're on some older TLS situation, this is literally not your moment, and that's okay 🫢

⚠️ also important: this function may also return GNUTLS_E_AGAIN or GNUTLS_E_INTERRUPTED and in that case it must be called again. so like, not a fail, just a "try again bestie" moment, do not ghost it 😭

⭐ RETURNS ⭐

GNUTLS_E_SUCCESS on success, or a negative error code. slay when it works, and if it's negative… well. we move 🌈


πŸ› REPORTING BUGS πŸ›

Report bugs to bugs@gnutls.org. πŸ’Œ

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

(fr fr, they want to know, don't be shy)


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. iconic behaviour, honestly, very generous of them πŸ’–


πŸ”₯ 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/

that's your homework, go read it, it's giving ✨knowledge✨ iykyk πŸ“š


mwah πŸ’‹ this was gnutls 3.8.13, page gnutls_session_ticket_send(3) β€” go forth and send those tickets, bestie, you got this πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from