liblo  0.26
Functions
lo.h File Reference

Functions

lo_address lo_address_new (const char *host, const char *port)
 Declare an OSC destination, given IP address and port number. Same as lo_address_new_with_proto(), but using UDP. More...
 
lo_address lo_address_new_with_proto (int proto, const char *host, const char *port)
 Declare an OSC destination, given IP address and port number, specifying protocol. More...
 
lo_address lo_address_new_from_url (const char *url)
 Create a lo_address object from an OSC URL. More...
 
void lo_address_free (lo_address t)
 Free the memory used by the lo_address object. More...
 
void lo_address_set_ttl (lo_address t, int ttl)
 Set the Time-to-Live value for a given target address. More...
 
int lo_address_get_ttl (lo_address t)
 Get the Time-to-Live value for a given target address. More...
 
int lo_send (lo_address targ, const char *path, const char *type,...)
 Send a OSC formatted message to the address specified. More...
 
int lo_send_from (lo_address targ, lo_server from, lo_timetag ts, const char *path, const char *type,...)
 Send a OSC formatted message to the address specified, from the same socket as the specificied server. More...
 
int lo_send_timestamped (lo_address targ, lo_timetag ts, const char *path, const char *type,...)
 Send a OSC formatted message to the address specified, scheduled to be dispatch at some time in the future. More...
 
int lo_address_errno (lo_address a)
 Return the error number from the last failed lo_send() or lo_address_new() call. More...
 
const char * lo_address_errstr (lo_address a)
 Return the error string from the last failed lo_send() or lo_address_new() call. More...
 
lo_server_thread lo_server_thread_new (const char *port, lo_err_handler err_h)
 Create a new server thread to handle incoming OSC messages. More...
 
lo_server_thread lo_server_thread_new_multicast (const char *group, const char *port, lo_err_handler err_h)
 Create a new server thread to handle incoming OSC messages, and join a UDP multicast group. More...
 
lo_server_thread lo_server_thread_new_with_proto (const char *port, int proto, lo_err_handler err_h)
 Create a new server thread to handle incoming OSC messages, specifying protocol. More...
 
void lo_server_thread_free (lo_server_thread st)
 Free memory taken by a server thread. More...
 
lo_method lo_server_thread_add_method (lo_server_thread st, const char *path, const char *typespec, lo_method_handler h, void *user_data)
 Add an OSC method to the specifed server thread. More...
 
void lo_server_thread_del_method (lo_server_thread st, const char *path, const char *typespec)
 Delete an OSC method from the specifed server thread. More...
 
int lo_server_thread_start (lo_server_thread st)
 Start the server thread. More...
 
int lo_server_thread_stop (lo_server_thread st)
 Stop the server thread. More...
 
int lo_server_thread_get_port (lo_server_thread st)
 Return the port number that the server thread has bound to. More...
 
char * lo_server_thread_get_url (lo_server_thread st)
 Return a URL describing the address of the server thread. More...
 
lo_server lo_server_thread_get_server (lo_server_thread st)
 Return the lo_server for a lo_server_thread. More...
 
int lo_server_thread_events_pending (lo_server_thread st)
 Return true if there are scheduled events (eg. from bundles) waiting to be dispatched by the thread. More...
 
lo_blob lo_blob_new (int32_t size, const void *data)
 Create a new OSC blob type. More...
 
void lo_blob_free (lo_blob b)
 Free the memory taken by a blob. More...
 
uint32_t lo_blob_datasize (lo_blob b)
 Return the amount of valid data in a lo_blob object. More...
 
void * lo_blob_dataptr (lo_blob b)
 Return a pointer to the start of the blob data to allow contents to be changed. More...
 

Detailed Description

The liblo main headerfile and high-level API functions.


Generated for liblo by doxygen 1.8.3.1