LIBXO(3)
π LIBXO(3) β the libxo page, bestie edition π
okay so this is from the Library Functions Manual (that's the manual name, hi π) and it's literally about two lil functions that stamp a content-version into your encoded output. let's get into it π
β¨ NAME β¨
xo_set_version, xo_set_version_h β record content-version information in encoded output π
π LIBRARY π
library βlibxoβ π«Ά
πΈ SYNOPSIS πΈ
#include <libxo/xo.h>
void
xo_set_version(const char *version);
void
xo_set_version_h(xo_handle_t *xop, const char *version);
like, that's it. two functions, both void, both taking a const char *version. no cap. β¨
π¦ DESCRIPTION π¦
so xo_set_version records a version number that gets emitted as part of the data for the encoding styles β and the encoding styles in question are XML and JSON π (yes, those two specifically, the manpage said so).
this version number is exactly the vibe for tracking changes in the content. it's giving "data model version tag" energy π β it lets a user of the data figure out which version of the data model is actually in use. iykyk.
and xo_set_version_h? it's the handle-ful twin: you pass it an xo_handle_t *xop alongside the version string. that's the shape of it, bestie π
π SEE ALSO π
go read those too, fr fr π
β HISTORY β
the libxo library first appeared in FreeBSD 11.0 π β an icon, a legend, a moment in time π«Ά
π§ AUTHORS π§
libxo was written by Phil Shafer <phil@freebsd.org> π β absolute main character energy, we stan π
okay that's the whole page, 100% of the facts, zero skips π₯ this one came from Debian, dated December 4, 2014, and it's the LIBXO(3) page β go forth and version your content, bestie ππ
β¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2015, Juniper Networks, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms