lo_server_config(3)
β¨ NAME β¨
lo_server_config β it's a configuration struct for initializing lo_server, and you use it with lo_server_new_from_config(). That's the whole vibe π
πΈ SYNOPSIS πΈ
#include <lo_lowlevel.h>
π Detailed Description π
Okay bestie, listen up, because this one's short but it matters. lo_server_config is a configuration struct for initializing lo_server using lo_server_new_from_config(). That's it, that's the job π«Ά
Here's the tea tho β your code is the one responsible for allocating and deallocating the memory that this struct points to. And yes, that includes the strings for group, port, iface, ip, etc. So don't be out here thinking liblo's gonna clean up after you, because it will not π
BUT. Good news era: the struct itself and its relevant fields get copied by liblo whenever it needs them. Which means you can totally deallocate it after use. Slay. β¨
Two little rules you cannot skip, fr fr:
- The
sizefield should be set tosizeof(lo_server_config). Do not skip this one, it's giving non-negotiable π - Any field set to
0shall be ignored. Zero means "no thoughts, head empty", basically π
Also just so you know where it lives: this bad boy is Definition at line 69 of file lo_lowlevel.h π¦
π Author π
Generated automatically by Doxygen for liblo from the source code. So like, no human author to thank, the robot did it π
And that's the whole page, bestie!! This one came from liblo, Version 0.34 β no date on it, just the version, and honestly? Iconic of it. Go forth and configure your servers responsibly ππβ¨
π¦ where this page comes from
- fedora 44: liblo-devel 0.34-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: liblo-devel 0.34-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms