shishi_ap_set_tktoptionsdata(3)
β¨ shishi_ap_set_tktoptionsdata β¨
okay bestie, so this is a page from the shishi manual β section 3, which is where all the library function girlies live π
. The function's full government name is shishi_ap_set_tktoptionsdata, and it's an API function, no cap.
πΈ NAME πΈ
shishi_ap_set_tktoptionsdata β API function
π SYNOPSIS π
#include <shishi.h>
int shishi_ap_set_tktoptionsdata(Shishi_ap * ap, Shishi_tkt * tkt, int
options, const char * data, size_t len);
like. look at her. she takes five whole arguments. iconic behavior honestly.
π¦ ARGUMENTS π¦
Shishi_ap * apβ the structure that holds all the info about the AP exchange. she's the main character here, everything happens inside her π«ΆShishi_tkt * tktβ the ticket we're setting in the AP. yes, that ticket.int optionsβ the AP-REQ options to set in the AP. just some lil options, nbd.const char * dataβ an input array holding the data to checksum in the Authenticator. it's giving "raw bytes that matter" energy.size_t lenβ the length of that input array with the data to checksum in the Authenticator. she's the data's plus-one, always showing up together π
π DESCRIPTION π
So what does she actually do? Three things, and she does them all in one go because she's efficient like that:
- Sets the ticket β the way
shishi_ap_tkt_set()would do it. - Sets the AP-REQ apoptions β the way
shishi_apreq_options_set()would do it. - Sets the Authenticator checksum data.
that's it. that's the whole vibe. lowkey a combo move, highkey convenient π
β RETURN VALUE β
Returns SHISHI_OK iff successful. and like, only if. no partial credit, bestie β it's SHISHI_OK or it's not π
π REPORTING BUGS π
Found a bug? not me being the bearer of bad news but β report it to <bug-shishi@gnu.org>. π
- GNU Shishi home page:
http://www.gnu.org/software/shishi/ - General help using GNU software:
http://www.gnu.org/gethelp/
they wanna hear from you fr fr. don't be shy.
π COPYRIGHT π
Copyright Β© 2002-2022 Simon Josefsson.
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.
(translation: take it, share it, just keep the receipts π§Ύβ¨)
π SEE ALSO π
The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command
info shishi
should give you access to the complete manual. go read her, she's thorough π
k bye ily, go checksum something π
this was shishi version 1.0.3, dated with the shishi_ap_set_tktoptionsdata(3) energy of it all β mwah π
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms