pskc_str2pinusagemode(3)

πŸ’… NAME πŸ’…

pskc_str2pinusagemode β€” okay bestie, this is a libpskc API function, and it's literally the glow-up translator that turns a plain string into a pskc_pinusagemode type ✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <pskc.h>

pskc_pinusagemode pskc_str2pinusagemode(const char * pinusagemode);

🌸 ARGUMENTS 🌸

  • const char * pinusagemode β€” a string that describes a key usage, no cap. Just hand her the text and she'll do the rest 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the vibe: she converts a string into a pskc_pinusagemode type. That's the whole job and she ate πŸ’…

Like, for example:

pskc_str2pinusagemode("Local")

will return PSKC_PINUSAGEMODE_LOCAL. Iconic behaviour, honestly πŸ’–


⭐ RETURNS ⭐

The corresponding pskc_pinusagemode value. That's it, that's the return πŸŽ€


😭 REPORTING BUGS

Found a bug? Don't suffer in silence, tell the girlies at <oath-toolkit-help@nongnu.org> πŸ™ˆ


Copyright Β© 2009-2026 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. (fr fr, just keep the notice and you're golden ✨)


That's the whole page, bestie β€” pskc_str2pinusagemode(3) from libpskc version 2.6.15, straight from the libpskc manual. Go forth and convert those strings πŸ’œπŸŒˆ

πŸ“¦ where this page comes from