shishi_principal_name_set(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– shishi_principal_name_set(3) πŸ’–

okay bestie, so this one lives in the shishi manual β€” section 3, the library-call girlies β€” and it's literally called shishi_principal_name_set. yes it's a mouthful. no you don't have to say it out loud. let's go ✨


🌸 NAME 🌸

shishi_principal_name_set β€” API function, babes. that's it, that's the name.


πŸŽ€ SYNOPSIS πŸŽ€

#include <shishi.h>

int shishi_principal_name_set(Shishi * handle, Shishi_asn1 namenode,
const char * namefield, Shishi_name_type name_type, const char *
name[]);

look at her. five arguments. absolute main character energy. πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” the shishi handle, and you gotta get it the legit way, as allocated by shishi_init(). no shortcuts, no homemade ones. πŸ’…
  • Shishi_asn1 namenode β€” an ASN.1 structure that's holding a principal inside namefield. so basically the container that has the name in it.
  • const char * namefield β€” the name of the field inside namenode where the principal name is chillin'. yes, a field name. meta, i know. πŸ™ˆ
  • Shishi_name_type name_type β€” the type of principal. go look at Shishi_name_type for the full menu, but usually it's SHISHI_NT_UNKNOWN. that's the default vibe fr fr.
  • const char * name[] β€” a null-terminated input array holding the principal name. null-terminated, bestie, don't forget the terminator or she'll keep reading forever. 😭

✨ DESCRIPTION ✨

Set the given principal name field to the given name. that's the whole gig. you hand her the field, you hand her the name, she sets it. lowkey iconic how simple that is. 🫢


πŸ’€ RETURN VALUE πŸ’€

Returns SHISHI_OK if successful. that's the good ending. 🌈


πŸ› REPORTING BUGS πŸ›

found a bug? don't suffer in silence, tell the girlies:

ngl if something's broken they genuinely wanna know. email them. it's giving responsible. πŸ’œ

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: use it, share it, remix it, just keep the receipts. no cap. πŸŽ€)


🌟 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 it, it's the whole lore. πŸ“š


and that's the page!! this was shishi 1.0.3 of the shishi manual, mwah πŸ’‹ stay hydrated, terminate your arrays, and slay βœ¨πŸ¦‹πŸ’–