lo.h(3)

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

✨ lo.h ✨

okay bestie, gather round πŸ’– this is the manual page for lo.h, the liblo header, from the Library Functions Manual. It's the main headerfile plus the high-level API, and yes it's giving "I contain multitudes" β€” addresses, blobs, sends, version info, the whole vibe 🌈


🌸 NAME 🌸

lo.h β€” that's it, that's the name, she's minimal and she knows it πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

πŸ’– Functions πŸ’–

  • lo_address lo_address_new (const char *host, const char *port) β€” declares an OSC destination from an IP address and a port number. It's literally the same as lo_address_new_with_proto(), except it's using UDP πŸ¦‹
  • lo_address lo_address_new_with_proto (int proto, const char *host, const char *port) β€” declares an OSC destination from an IP address and a port number, but this time you get to say which protocol. main character energy, choosing your own proto ✨
  • lo_address lo_address_new_from_url (const char *url) β€” makes a lo_address object out of an OSC URL πŸ”—
  • void lo_address_free (lo_address t) β€” frees the memory used by the lo_address object. bye babe, thank you for your service 🫢
  • void lo_address_set_ttl (lo_address t, int ttl) β€” sets the Time-to-Live value for a given target address ⏳
  • int lo_address_get_ttl (lo_address t) β€” gets the Time-to-Live value for a given target address πŸ‘€
  • int lo_send (lo_address targ, const char *path, const char *type,...) β€” sends an OSC formatted message to the address specified πŸ“¨
  • int lo_send_from (lo_address targ, lo_server from, lo_timetag ts, const char *path, const char *type,...) β€” sends an OSC formatted message to the address specified, and it goes out from the same socket as the specified server 🧚
  • int lo_send_timestamped (lo_address targ, lo_timetag ts, const char *path, const char *type,...) β€” sends an OSC formatted message to the address specified, scheduled to be dispatched at some time in the future. future you says hi ⏰
  • int lo_address_errno (lo_address a) β€” returns the error number from the last failed lo_send() or lo_address_new() call 😭
  • const char * lo_address_errstr (lo_address a) β€” returns the error string from the last failed lo_send() or lo_address_new() call 😭 (but in words this time)
  • lo_blob lo_blob_new (int32_t size, const void *data) β€” creates a new OSC blob type 🫧
  • void lo_blob_free (lo_blob b) β€” frees the memory taken by a blob πŸ«§πŸ’¨
  • uint32_t lo_blob_datasize (lo_blob b) β€” returns the amount of valid data in a lo_blob object πŸ“
  • void * lo_blob_dataptr (lo_blob b) β€” returns a pointer to the start of the blob data, so you can go in and change the contents πŸ”§
  • void lo_version (char *verstr, int verstr_size, int *major, int *minor, char *extra, int extra_size, int *lt_major, int *lt_minor, int *lt_bug) β€” gets info on the version of liblo currently in use, i.e. which liblo is actually serving rn πŸ’«

πŸ¦‹ Detailed Description πŸ¦‹

The liblo main headerfile and high-level API functions. That's the whole thing. She's the front door, she's the vibe, she's where you start 🌟

Definition in file lo.h.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for liblo from the source code. so technically the author is a robot and honestly? slay πŸ€–βœ¨


and that's the page bestie πŸ’œ this whole thing is from liblo, Version 0.34, and it's the lo.h(3) page β€” mwah, go forth and send some OSC πŸŽ€πŸŒΈ

πŸ“¦ where this page comes from