\doxysection{lo\+\_\+serverthread.\+h}
\hypertarget{lo__serverthread_8h_source}{}\label{lo__serverthread_8h_source}\index{lo\_serverthread.h@{lo\_serverthread.h}}
\mbox{\hyperlink{lo__serverthread_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00001}00001\ \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00002}00002\ \textcolor{comment}{\ *\ \ Copyright\ (C)\ 2014\ Steve\ Harris\ et\ al.\ (see\ AUTHORS)}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00003}00003\ \textcolor{comment}{\ *}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00004}00004\ \textcolor{comment}{\ *\ \ This\ program\ is\ free\ software;\ you\ can\ redistribute\ it\ and/or}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00005}00005\ \textcolor{comment}{\ *\ \ modify\ it\ under\ the\ terms\ of\ the\ GNU\ Lesser\ General\ Public\ License}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00006}00006\ \textcolor{comment}{\ *\ \ as\ published\ by\ the\ Free\ Software\ Foundation;\ either\ version\ 2.1}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00007}00007\ \textcolor{comment}{\ *\ \ of\ the\ License,\ or\ (at\ your\ option)\ any\ later\ version.}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00008}00008\ \textcolor{comment}{\ *}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00009}00009\ \textcolor{comment}{\ *\ \ This\ program\ is\ distributed\ in\ the\ hope\ that\ it\ will\ be\ useful,}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00010}00010\ \textcolor{comment}{\ *\ \ but\ WITHOUT\ ANY\ WARRANTY;\ without\ even\ the\ implied\ warranty\ of}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00011}00011\ \textcolor{comment}{\ *\ \ MERCHANTABILITY\ or\ FITNESS\ FOR\ A\ PARTICULAR\ PURPOSE.\ \ See\ the}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00012}00012\ \textcolor{comment}{\ *\ \ GNU\ Lesser\ General\ Public\ License\ for\ more\ details.}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00013}00013\ \textcolor{comment}{\ *}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00014}00014\ \textcolor{comment}{\ *\ \ \$Id\$}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00015}00015\ \textcolor{comment}{\ */}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00016}00016\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00017}00017\ \textcolor{preprocessor}{\#ifndef\ LO\_SERVERTHREAD\_H}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00018}00018\ \textcolor{preprocessor}{\#define\ LO\_SERVERTHREAD\_H}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00019}00019\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00020}00020\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00021}00021\ \textcolor{keyword}{extern}\ \textcolor{stringliteral}{"{}C"{}}\ \{}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00022}00022\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00023}00023\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00027}00027\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00028}00028\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00044}\mbox{\hyperlink{lo__serverthread_8h_abe3e0c31189adfd7624de6c507b610ba}{00044}}\ \mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ \mbox{\hyperlink{lo__serverthread_8h_abe3e0c31189adfd7624de6c507b610ba}{lo\_server\_thread\_new}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *port,\ \mbox{\hyperlink{lo__types_8h_aa4406d5e90db364c02337656e6c95250}{lo\_err\_handler}}\ err\_h);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00045}00045\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00063}\mbox{\hyperlink{lo__serverthread_8h_a0fa9fcae4eabe09847d46b134dc33aa4}{00063}}\ \mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ \mbox{\hyperlink{lo__serverthread_8h_a0fa9fcae4eabe09847d46b134dc33aa4}{lo\_server\_thread\_new\_multicast}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *group,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *port,}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00064}00064\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{lo__types_8h_aa4406d5e90db364c02337656e6c95250}{lo\_err\_handler}}\ err\_h);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00065}00065\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00084}\mbox{\hyperlink{lo__serverthread_8h_ad6d57101bbdaa6571ed76373b2c3a50a}{00084}}\ \mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ \mbox{\hyperlink{lo__serverthread_8h_ad6d57101bbdaa6571ed76373b2c3a50a}{lo\_server\_thread\_new\_multicast\_iface}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *group,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *port,}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00085}00085\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *iface,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *ip,}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00086}00086\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{lo__types_8h_aa4406d5e90db364c02337656e6c95250}{lo\_err\_handler}}\ err\_h);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00087}00087\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00104}\mbox{\hyperlink{lo__serverthread_8h_a6713cedfb0b2c4f066ec8a19366bf095}{00104}}\ \mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ \mbox{\hyperlink{lo__serverthread_8h_a6713cedfb0b2c4f066ec8a19366bf095}{lo\_server\_thread\_new\_with\_proto}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *port,\ \textcolor{keywordtype}{int}\ proto,}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00105}00105\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{lo__types_8h_aa4406d5e90db364c02337656e6c95250}{lo\_err\_handler}}\ err\_h);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00106}00106\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00117}\mbox{\hyperlink{lo__serverthread_8h_aac49abadaaac33408eae4060bb44b9a2}{00117}}\ \mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ \mbox{\hyperlink{lo__serverthread_8h_aac49abadaaac33408eae4060bb44b9a2}{lo\_server\_thread\_new\_from\_url}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *url,}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00118}00118\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{lo__types_8h_aa4406d5e90db364c02337656e6c95250}{lo\_err\_handler}}\ err\_h);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00119}00119\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00120}00120\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00127}\mbox{\hyperlink{lo__serverthread_8h_ae961a24cc5bd1e5ecc19023801cae504}{00127}}\ \mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ \mbox{\hyperlink{lo__serverthread_8h_ae961a24cc5bd1e5ecc19023801cae504}{lo\_server\_thread\_new\_from\_config}}(\mbox{\hyperlink{structlo__server__config}{lo\_server\_config}}\ *config);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00128}00128\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00134}\mbox{\hyperlink{lo__serverthread_8h_ad72be3f2a81b9583ad69dd007080c0e5}{00134}}\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{lo__serverthread_8h_ad72be3f2a81b9583ad69dd007080c0e5}{lo\_server\_thread\_free}}(\mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ st);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00135}00135\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00150}\mbox{\hyperlink{lo__serverthread_8h_af500729c76fd5bb4798d350b6307adc1}{00150}}\ \mbox{\hyperlink{lo__types_8h_af7b2be2fe593905cfaa9149efff4cc28}{lo\_method}}\ \mbox{\hyperlink{lo__serverthread_8h_af500729c76fd5bb4798d350b6307adc1}{lo\_server\_thread\_add\_method}}(\mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ st,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *path,}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00151}00151\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *typespec,\ \mbox{\hyperlink{lo__types_8h_a5b38e0822e47acaa3c7267348f50f66c}{lo\_method\_handler}}\ h,}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00152}00152\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{void}\ *user\_data);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00153}00153\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00162}\mbox{\hyperlink{lo__serverthread_8h_a072edf53338bc807444c4b510643a828}{00162}}\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{lo__serverthread_8h_a072edf53338bc807444c4b510643a828}{lo\_server\_thread\_del\_method}}(\mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ st,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *path,}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00163}00163\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *typespec);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00164}00164\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00173}\mbox{\hyperlink{lo__serverthread_8h_a28733dd7fc8e8df6969674779d74fddd}{00173}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{lo__serverthread_8h_a28733dd7fc8e8df6969674779d74fddd}{lo\_server\_thread\_del\_lo\_method}}(\mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ st,\ \mbox{\hyperlink{lo__types_8h_af7b2be2fe593905cfaa9149efff4cc28}{lo\_method}}\ m);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00174}00174\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00187}\mbox{\hyperlink{lo__serverthread_8h_ab4d5248ecc0d55e46c0f025e727ceb52}{00187}}\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{lo__serverthread_8h_ab4d5248ecc0d55e46c0f025e727ceb52}{lo\_server\_thread\_set\_callbacks}}(\mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ st,}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00188}00188\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{lo__types_8h_aed5d674714d659d776d848d716d9efbc}{lo\_server\_thread\_init\_callback}}\ init,}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00189}00189\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{lo__types_8h_a2be941151f7a8ae193ba1687b41b2dc4}{lo\_server\_thread\_cleanup\_callback}}\ cleanup,}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00190}00190\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ *user\_data);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00191}00191\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00198}\mbox{\hyperlink{lo__serverthread_8h_a4b284c1b96d0354c5de4ff7ba5a44fbc}{00198}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{lo__serverthread_8h_a4b284c1b96d0354c5de4ff7ba5a44fbc}{lo\_server\_thread\_start}}(\mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ st);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00199}00199\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00206}\mbox{\hyperlink{lo__serverthread_8h_a06992ac46b04e58cb77d7c519a578f57}{00206}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{lo__serverthread_8h_a06992ac46b04e58cb77d7c519a578f57}{lo\_server\_thread\_stop}}(\mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ st);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00207}00207\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00211}\mbox{\hyperlink{lo__serverthread_8h_a22f4b18eeac41490647ab9fe2333f933}{00211}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{lo__serverthread_8h_a22f4b18eeac41490647ab9fe2333f933}{lo\_server\_thread\_get\_port}}(\mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ st);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00212}00212\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00218}\mbox{\hyperlink{lo__serverthread_8h_a34f979730e9929f4096d99ebc0add075}{00218}}\ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{lo__serverthread_8h_a34f979730e9929f4096d99ebc0add075}{lo\_server\_thread\_get\_url}}(\mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ st);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00219}00219\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00226}\mbox{\hyperlink{lo__serverthread_8h_ab968d51fa6e0d4bea92e3f84f5556161}{00226}}\ \mbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\_server}}\ \mbox{\hyperlink{lo__serverthread_8h_ab968d51fa6e0d4bea92e3f84f5556161}{lo\_server\_thread\_get\_server}}(\mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ st);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00227}00227\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00230}\mbox{\hyperlink{lo__serverthread_8h_a7bc3d8361b65e3ad112a1da956d9114e}{00230}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{lo__serverthread_8h_a7bc3d8361b65e3ad112a1da956d9114e}{lo\_server\_thread\_events\_pending}}(\mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ st);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00231}00231\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00232}00232\ \textcolor{keywordtype}{void}\ lo\_server\_thread\_set\_error\_context(\mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ st,\ \textcolor{keywordtype}{void}\ *user\_data);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00233}00233\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00235}\mbox{\hyperlink{lo__serverthread_8h_a6ba794aacbb04dada6939980ce71381a}{00235}}\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{lo__serverthread_8h_a6ba794aacbb04dada6939980ce71381a}{lo\_server\_thread\_pp}}(\mbox{\hyperlink{lo__types_8h_ade4a4a955cce22c288e0b1b756e4b1cb}{lo\_server\_thread}}\ st);}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00236}00236\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00237}00237\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00238}00238\ \}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00239}00239\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00240}00240\ }
\DoxyCodeLine{\Hypertarget{lo__serverthread_8h_source_l00241}00241\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
