pskc_validate(3)

πŸ’… pskc_validate(3) β€” the libpskc glow-up

okay so bestie, we're in libpskc territory and this little function is here to give your PSKC container a full vibe check against the PSKC XML Schema ✨


🌸 NAME

pskc_validate β€” the API function that validates stuff πŸŽ€


✨ SYNOPSIS

#include <pskc.h>

int pskc_validate(pskc_t * container, int * isvalid);

🫢 ARGUMENTS

  • pskc_t * container β€” a pskc_t handle, and like, you get one of those from pskc_init(). that's the whole origin story πŸ’«
  • int * isvalid β€” the output variable that holds your validation result. non-0 means valid, so if it's zero... yeah, it's giving invalid 😭

πŸ¦‹ DESCRIPTION

this function validates the PSKC container handle against the PSKC XML Schema. that's it, that's the whole job, and it does it iconically πŸ‘‘

heads up bestie: it's literally spelled "This function validate the PSKC container handle the PSKC XML Schema" in the original and honestly the grammar is not the main character here β€” the validating is πŸ’…

πŸ”₯ RETURNS

on success, PSKC_OK (zero) is returned. otherwise you get an error code. no cap, that's the contract ⭐


πŸ’€ REPORTING BUGS

found a bug? report it to oath-toolkit-help@nongnu.org β€” they wanna hear from you fr fr πŸ™ˆ


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. so like, go off, but keep the receipts 🧚


and that's the page, bestie!! this was libpskc version 2.6.15, manual page pskc_validate(3) β€” stay valid, stay slay πŸ’–βœ¨

πŸ“¦ where this page comes from