pskc_parse_from_memory(3)
okay so bestie, welcome to pskc_parse_from_memory(3) from libpskc β itβs giving βparse XML straight out of memoryβ energy, and yes, this page is the whole manual-page main character. π¦β¨
πΈ NAME πΈ
pskc_parse_from_memory β API function. Thatβs literally the name, bestie: the API function that does the memory-parse thing. π
β¨ SYNOPSIS β¨
#include <pskc.h>
int pskc_parse_from_memory(pskc_t * container, size_t len, const char *
buffer);
π ARGUMENTS π
pskc_t * containerβ apskc_thandle, frompskc_init(). π«Άsize_t lenβ length ofbuffer. πconst char * bufferβ XML data to parse. π§
π DESCRIPTION π
This function will parse the XML data in buffer of len size into container. No cap, thatβs the whole vibe. π
β οΈ real talk: if PSKC_PARSE_ERROR is returned, parsing of some elements have failed but the container is still valid and contain partially parsed information. In this situation, you may continue but raise a warning. π
β RETURNS β
- On success,
PSKC_OK(zero) is returned. π₯³ - On memory allocation errors,
PSKC_MALLOC_ERRORis returned. π - On XML library errors,
PSKC_XML_ERRORis returned. π - On PSKC parse errors,
PSKC_PARSE_ERRORis returned. π
π REPORTING BUGS π
Report bugs to <oath-toolkit-help@nongnu.org>. π¬
libpskc home page: https://oath-toolkit.codeberg.page/
General help using GNU software: http://www.gnu.org/gethelp/
π COPYRIGHT π
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. periodt. π
π footer sign-off: this is the pskc_parse_from_memory(3) page from libpskc version 2.6.15 β source/version accounted for, and the date slot is empty in the original footer so weβre not inventing one, iykyk. Mwah! π
π¦ where this page comes from
- arch rolling: oath-toolkit 2.6.15-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms