\hypertarget{lo_8h}{
\section{lo.h File Reference}
\label{lo_8h}\index{lo.h@{lo.h}}
}
\subsection*{Functions}
\begin{CompactItemize}
\item 
\hyperlink{lo__types_8h_2683bc4beedb94b18c0a4b43861bbef5}{lo\_\-address} \hyperlink{group__liblo_ge19a6ef567d8ed9786fa2b5fd8f25e6a}{lo\_\-address\_\-new} (const char $\ast$host, const char $\ast$port)
\begin{CompactList}\small\item\em Declare an OSC destination, given IP address and port number. \item\end{CompactList}\item 
\hyperlink{lo__types_8h_2683bc4beedb94b18c0a4b43861bbef5}{lo\_\-address} \hyperlink{group__liblo_g11eff481830b7e424ed5f289fc854cec}{lo\_\-address\_\-new\_\-from\_\-url} (const char $\ast$url)
\begin{CompactList}\small\item\em Create a lo\_\-address object from an OSC URL. \item\end{CompactList}\item 
void \hyperlink{group__liblo_g4a932a7ef085fc54d2a4a428549bac38}{lo\_\-address\_\-free} (\hyperlink{lo__types_8h_2683bc4beedb94b18c0a4b43861bbef5}{lo\_\-address} t)
\begin{CompactList}\small\item\em Free the memory used by the lo\_\-address object. \item\end{CompactList}\item 
int \hyperlink{group__liblo_g980666e4501626b8ed4868df424ee998}{lo\_\-send} (\hyperlink{lo__types_8h_2683bc4beedb94b18c0a4b43861bbef5}{lo\_\-address} targ, const char $\ast$path, const char $\ast$type,...)
\begin{CompactList}\small\item\em Send a OSC formatted message to the address specified. \item\end{CompactList}\item 
int \hyperlink{group__liblo_gf83288e495ef7c5ee80e26ab7b00987f}{lo\_\-send\_\-from} (\hyperlink{lo__types_8h_2683bc4beedb94b18c0a4b43861bbef5}{lo\_\-address} targ, \hyperlink{lo__types_8h_7cdce9677087f0b2190ebbc496105f67}{lo\_\-server} from, \hyperlink{structlo__timetag}{lo\_\-timetag} ts, const char $\ast$path, const char $\ast$type,...)
\begin{CompactList}\small\item\em Send a OSC formatted message to the address specified, from the same socket as the specificied server. \item\end{CompactList}\item 
int \hyperlink{group__liblo_g2022c4300294742f54da17472a479612}{lo\_\-send\_\-timestamped} (\hyperlink{lo__types_8h_2683bc4beedb94b18c0a4b43861bbef5}{lo\_\-address} targ, \hyperlink{structlo__timetag}{lo\_\-timetag} ts, const char $\ast$path, const char $\ast$type,...)
\begin{CompactList}\small\item\em Send a OSC formatted message to the address specified, scheduled to be dispatch at some time in the future. \item\end{CompactList}\item 
int \hyperlink{group__liblo_g4dda68463fb8910c519305754d021a03}{lo\_\-address\_\-errno} (\hyperlink{lo__types_8h_2683bc4beedb94b18c0a4b43861bbef5}{lo\_\-address} a)
\begin{CompactList}\small\item\em Return the error number from the last failed lo\_\-send or lo\_\-address\_\-new call. \item\end{CompactList}\item 
const char $\ast$ \hyperlink{group__liblo_gdfa8717d94febf3152051cca079826b0}{lo\_\-address\_\-errstr} (\hyperlink{lo__types_8h_2683bc4beedb94b18c0a4b43861bbef5}{lo\_\-address} a)
\begin{CompactList}\small\item\em Return the error string from the last failed lo\_\-send or lo\_\-address\_\-new call. \item\end{CompactList}\item 
\hyperlink{lo__types_8h_d87e558fb63104a78862eeee6fa7b4d7}{lo\_\-server\_\-thread} \hyperlink{group__liblo_g58a89fab646a5dc4e528691c26508f7a}{lo\_\-server\_\-thread\_\-new} (const char $\ast$port, \hyperlink{lo__types_8h_bcd092cb4b0beee857552b44a0f01834}{lo\_\-err\_\-handler} err\_\-h)
\begin{CompactList}\small\item\em Create a new server thread to handle incoming OSC messages. \item\end{CompactList}\item 
\hyperlink{lo__types_8h_d87e558fb63104a78862eeee6fa7b4d7}{lo\_\-server\_\-thread} \hyperlink{group__liblo_ga4ddd9b09f103e4cd085c0170a81de79}{lo\_\-server\_\-thread\_\-new\_\-with\_\-proto} (const char $\ast$port, int proto, \hyperlink{lo__types_8h_bcd092cb4b0beee857552b44a0f01834}{lo\_\-err\_\-handler} err\_\-h)
\begin{CompactList}\small\item\em Create a new server thread to handle incoming OSC messages, specifying protocol. \item\end{CompactList}\item 
void \hyperlink{group__liblo_g0027ad36c6794aee4c94d54de7298624}{lo\_\-server\_\-thread\_\-free} (\hyperlink{lo__types_8h_d87e558fb63104a78862eeee6fa7b4d7}{lo\_\-server\_\-thread} st)
\begin{CompactList}\small\item\em Free memory taken by a server thread. \item\end{CompactList}\item 
\hyperlink{lo__types_8h_982bf0cf76b6b57712200b989e0084b7}{lo\_\-method} \hyperlink{group__liblo_ge41e272c7d7571a88226cab965e6d27f}{lo\_\-server\_\-thread\_\-add\_\-method} (\hyperlink{lo__types_8h_d87e558fb63104a78862eeee6fa7b4d7}{lo\_\-server\_\-thread} st, const char $\ast$path, const char $\ast$typespec, \hyperlink{lo__types_8h_033f5fd40f269f513056ea27f15239c8}{lo\_\-method\_\-handler} h, void $\ast$user\_\-data)
\begin{CompactList}\small\item\em Add an OSC method to the specifed server thread. \item\end{CompactList}\item 
void \hyperlink{group__liblo_g4f1847afcb1010f93236678ca1f01bc8}{lo\_\-server\_\-thread\_\-del\_\-method} (\hyperlink{lo__types_8h_d87e558fb63104a78862eeee6fa7b4d7}{lo\_\-server\_\-thread} st, const char $\ast$path, const char $\ast$typespec)
\begin{CompactList}\small\item\em Delete an OSC method from the specifed server thread. \item\end{CompactList}\item 
void \hyperlink{group__liblo_gc540e25a3f6d04ce0cb980ed6c484322}{lo\_\-server\_\-thread\_\-start} (\hyperlink{lo__types_8h_d87e558fb63104a78862eeee6fa7b4d7}{lo\_\-server\_\-thread} st)
\begin{CompactList}\small\item\em Start the server thread. \item\end{CompactList}\item 
void \hyperlink{group__liblo_g889628c53d87584f542e2958f440d4c5}{lo\_\-server\_\-thread\_\-stop} (\hyperlink{lo__types_8h_d87e558fb63104a78862eeee6fa7b4d7}{lo\_\-server\_\-thread} st)
\begin{CompactList}\small\item\em Stop the server thread. \item\end{CompactList}\item 
int \hyperlink{group__liblo_gb80532114f3afd3bc6545b7631675d17}{lo\_\-server\_\-thread\_\-get\_\-port} (\hyperlink{lo__types_8h_d87e558fb63104a78862eeee6fa7b4d7}{lo\_\-server\_\-thread} st)
\begin{CompactList}\small\item\em Return the port number that the server thread has bound to. \item\end{CompactList}\item 
char $\ast$ \hyperlink{group__liblo_gfa0c5b17e28fa2b54fadde56f68f5426}{lo\_\-server\_\-thread\_\-get\_\-url} (\hyperlink{lo__types_8h_d87e558fb63104a78862eeee6fa7b4d7}{lo\_\-server\_\-thread} st)
\begin{CompactList}\small\item\em Return a URL describing the address of the server thread. \item\end{CompactList}\item 
\hyperlink{lo__types_8h_7cdce9677087f0b2190ebbc496105f67}{lo\_\-server} \hyperlink{group__liblo_g493a966c36d86e29d25b6adbcea9f408}{lo\_\-server\_\-thread\_\-get\_\-server} (\hyperlink{lo__types_8h_d87e558fb63104a78862eeee6fa7b4d7}{lo\_\-server\_\-thread} st)
\begin{CompactList}\small\item\em Return the lo\_\-server for a lo\_\-server\_\-thread. \item\end{CompactList}\item 
int \hyperlink{group__liblo_ge402c7975b9f89519f03ace3e391b68c}{lo\_\-server\_\-thread\_\-events\_\-pending} (\hyperlink{lo__types_8h_d87e558fb63104a78862eeee6fa7b4d7}{lo\_\-server\_\-thread} st)
\begin{CompactList}\small\item\em Return true if there are scheduled events (eg. from bundles) waiting to be dispatched by the thread. \item\end{CompactList}\item 
\hyperlink{lo__types_8h_75b79a38c4ca89ff3c7d350683f59425}{lo\_\-blob} \hyperlink{group__liblo_g0a1623c98f6fa85985a16b51175b5762}{lo\_\-blob\_\-new} (int32\_\-t size, const void $\ast$data)
\begin{CompactList}\small\item\em Create a new OSC blob type. \item\end{CompactList}\item 
void \hyperlink{group__liblo_gb3bb5c801d6cb551e330442b679c135d}{lo\_\-blob\_\-free} (\hyperlink{lo__types_8h_75b79a38c4ca89ff3c7d350683f59425}{lo\_\-blob} b)
\begin{CompactList}\small\item\em Free the memory taken by a blob. \item\end{CompactList}\item 
uint32\_\-t \hyperlink{group__liblo_g0744d79bfac4bd2a0755a5477776439d}{lo\_\-blob\_\-datasize} (\hyperlink{lo__types_8h_75b79a38c4ca89ff3c7d350683f59425}{lo\_\-blob} b)
\begin{CompactList}\small\item\em Return the ammount of valid data in a lo blob object. \item\end{CompactList}\item 
void $\ast$ \hyperlink{group__liblo_g1c17298375fa544924b72569f9974ba0}{lo\_\-blob\_\-dataptr} (\hyperlink{lo__types_8h_75b79a38c4ca89ff3c7d350683f59425}{lo\_\-blob} b)
\begin{CompactList}\small\item\em Return a pointer to the start of the blob data to allow contents to be changed. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
The liblo main headerfile and high-level API functions. 