lo_server_config(3)

πŸ“¦
version 0.34 Β· 2 versions
, in fedora 44

✨ 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 size field should be set to sizeof(lo_server_config). Do not skip this one, it's giving non-negotiable πŸ‘‘
  • Any field set to 0 shall 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