\hypertarget{master_2main_8cpp}{
\section{master/main.cpp File Reference}
\label{d0/dce/master_2main_8cpp}\index{master/main.cpp@{master/main.cpp}}
}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structserver}{server}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \hyperlink{structserver}{server} \hyperlink{master_2main_8cpp_aad4663e6399f9fa56e9c08487b291e08}{SServer}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{master_2main_8cpp_a507bbb366bcb42b595041ea79f6d271a}{ipReachedLimit} (\hyperlink{structnetadr__t}{netadr\_\-t} addr)
\item 
void \hyperlink{master_2main_8cpp_ab62f79da121b1f4571a2e2911b3be9c0}{addServer} (\hyperlink{structnetadr__t}{netadr\_\-t} addr)
\item 
void \hyperlink{master_2main_8cpp_aca466afcbdd1f86aff15fdf397e40da6}{addServerInfo} (\hyperlink{structnetadr__t}{netadr\_\-t} addr)
\item 
void \hyperlink{master_2main_8cpp_aa1ea8c2d15314abe35cc34d1babd8bf0}{ageServers} (void)
\item 
void \hyperlink{master_2main_8cpp_a9dc12b8b7cf331f929148722f91cc44a}{dumpServersToFile} (const char $\ast$file=\char`\"{}./latest\char`\"{})
\item 
void \hyperlink{master_2main_8cpp_a4d0f69601a0eeab73fde02c082fb3770}{writeServerData} (void)
\item 
void \hyperlink{master_2main_8cpp_a383021e864e4c33d0a1e477af8f81c26}{daemon\_\-init} (void)
\item 
void \hyperlink{master_2main_8cpp_a081f83176a62099426febd6ecf9ff515}{pingServer} (\hyperlink{structserver}{SServer} \&\hyperlink{client_2src_2v__palette_8cpp_a06ccf22bb96191a8ce5f85600b246060}{s})
\item 
int \hyperlink{master_2main_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{main} ()
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classbuf__t}{buf\_\-t} \hyperlink{master_2main_8cpp_af0d68be3fe5707b499eb716208102ec9}{message} (MAX\_\-UDP\_\-PACKET)
\item 
list$<$ \hyperlink{structserver}{SServer} $>$ \hyperlink{master_2main_8cpp_a5c9ea5f4625b3314cd7fc5de16fe2e21}{servers}
\item 
list$<$ \hyperlink{structserver}{SServer} $>$::iterator \hyperlink{master_2main_8cpp_a57155d909546978cd62e2eeef3400d4f}{ping\_\-itr} = servers.begin()
\end{DoxyCompactItemize}


\subsection{Typedef Documentation}
\hypertarget{master_2main_8cpp_aad4663e6399f9fa56e9c08487b291e08}{
\index{master/main.cpp@{master/main.cpp}!SServer@{SServer}}
\index{SServer@{SServer}!master/main.cpp@{master/main.cpp}}
\subsubsection[{SServer}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf server}  {\bf SServer}}}
\label{d0/dce/master_2main_8cpp_aad4663e6399f9fa56e9c08487b291e08}


\subsection{Function Documentation}
\hypertarget{master_2main_8cpp_ab62f79da121b1f4571a2e2911b3be9c0}{
\index{master/main.cpp@{master/main.cpp}!addServer@{addServer}}
\index{addServer@{addServer}!master/main.cpp@{master/main.cpp}}
\subsubsection[{addServer}]{\setlength{\rightskip}{0pt plus 5cm}void addServer (
\begin{DoxyParamCaption}
\item[{{\bf netadr\_\-t}}]{addr}
\end{DoxyParamCaption}
)}}
\label{d0/dce/master_2main_8cpp_ab62f79da121b1f4571a2e2911b3be9c0}
\hypertarget{master_2main_8cpp_aca466afcbdd1f86aff15fdf397e40da6}{
\index{master/main.cpp@{master/main.cpp}!addServerInfo@{addServerInfo}}
\index{addServerInfo@{addServerInfo}!master/main.cpp@{master/main.cpp}}
\subsubsection[{addServerInfo}]{\setlength{\rightskip}{0pt plus 5cm}void addServerInfo (
\begin{DoxyParamCaption}
\item[{{\bf netadr\_\-t}}]{addr}
\end{DoxyParamCaption}
)}}
\label{d0/dce/master_2main_8cpp_aca466afcbdd1f86aff15fdf397e40da6}
\hypertarget{master_2main_8cpp_aa1ea8c2d15314abe35cc34d1babd8bf0}{
\index{master/main.cpp@{master/main.cpp}!ageServers@{ageServers}}
\index{ageServers@{ageServers}!master/main.cpp@{master/main.cpp}}
\subsubsection[{ageServers}]{\setlength{\rightskip}{0pt plus 5cm}void ageServers (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{d0/dce/master_2main_8cpp_aa1ea8c2d15314abe35cc34d1babd8bf0}
\hypertarget{master_2main_8cpp_a383021e864e4c33d0a1e477af8f81c26}{
\index{master/main.cpp@{master/main.cpp}!daemon\_\-init@{daemon\_\-init}}
\index{daemon\_\-init@{daemon\_\-init}!master/main.cpp@{master/main.cpp}}
\subsubsection[{daemon\_\-init}]{\setlength{\rightskip}{0pt plus 5cm}void daemon\_\-init (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{d0/dce/master_2main_8cpp_a383021e864e4c33d0a1e477af8f81c26}
\hypertarget{master_2main_8cpp_a9dc12b8b7cf331f929148722f91cc44a}{
\index{master/main.cpp@{master/main.cpp}!dumpServersToFile@{dumpServersToFile}}
\index{dumpServersToFile@{dumpServersToFile}!master/main.cpp@{master/main.cpp}}
\subsubsection[{dumpServersToFile}]{\setlength{\rightskip}{0pt plus 5cm}void dumpServersToFile (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{file = {\ttfamily \char`\"{}./latest\char`\"{}}}
\end{DoxyParamCaption}
)}}
\label{d0/dce/master_2main_8cpp_a9dc12b8b7cf331f929148722f91cc44a}
\hypertarget{master_2main_8cpp_a507bbb366bcb42b595041ea79f6d271a}{
\index{master/main.cpp@{master/main.cpp}!ipReachedLimit@{ipReachedLimit}}
\index{ipReachedLimit@{ipReachedLimit}!master/main.cpp@{master/main.cpp}}
\subsubsection[{ipReachedLimit}]{\setlength{\rightskip}{0pt plus 5cm}bool ipReachedLimit (
\begin{DoxyParamCaption}
\item[{{\bf netadr\_\-t}}]{addr}
\end{DoxyParamCaption}
)}}
\label{d0/dce/master_2main_8cpp_a507bbb366bcb42b595041ea79f6d271a}
\hypertarget{master_2main_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{
\index{master/main.cpp@{master/main.cpp}!main@{main}}
\index{main@{main}!master/main.cpp@{master/main.cpp}}
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{d0/dce/master_2main_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}
\hypertarget{master_2main_8cpp_a081f83176a62099426febd6ecf9ff515}{
\index{master/main.cpp@{master/main.cpp}!pingServer@{pingServer}}
\index{pingServer@{pingServer}!master/main.cpp@{master/main.cpp}}
\subsubsection[{pingServer}]{\setlength{\rightskip}{0pt plus 5cm}void pingServer (
\begin{DoxyParamCaption}
\item[{{\bf SServer} \&}]{s}
\end{DoxyParamCaption}
)}}
\label{d0/dce/master_2main_8cpp_a081f83176a62099426febd6ecf9ff515}
\hypertarget{master_2main_8cpp_a4d0f69601a0eeab73fde02c082fb3770}{
\index{master/main.cpp@{master/main.cpp}!writeServerData@{writeServerData}}
\index{writeServerData@{writeServerData}!master/main.cpp@{master/main.cpp}}
\subsubsection[{writeServerData}]{\setlength{\rightskip}{0pt plus 5cm}void writeServerData (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{d0/dce/master_2main_8cpp_a4d0f69601a0eeab73fde02c082fb3770}


\subsection{Variable Documentation}
\hypertarget{master_2main_8cpp_af0d68be3fe5707b499eb716208102ec9}{
\index{master/main.cpp@{master/main.cpp}!message@{message}}
\index{message@{message}!master/main.cpp@{master/main.cpp}}
\subsubsection[{message}]{\setlength{\rightskip}{0pt plus 5cm}{\bf buf\_\-t} {\bf message}(MAX\_\-UDP\_\-PACKET)}}
\label{d0/dce/master_2main_8cpp_af0d68be3fe5707b499eb716208102ec9}
\hypertarget{master_2main_8cpp_a57155d909546978cd62e2eeef3400d4f}{
\index{master/main.cpp@{master/main.cpp}!ping\_\-itr@{ping\_\-itr}}
\index{ping\_\-itr@{ping\_\-itr}!master/main.cpp@{master/main.cpp}}
\subsubsection[{ping\_\-itr}]{\setlength{\rightskip}{0pt plus 5cm}list$<${\bf SServer}$>$::iterator {\bf ping\_\-itr} = servers.begin()}}
\label{d0/dce/master_2main_8cpp_a57155d909546978cd62e2eeef3400d4f}
\hypertarget{master_2main_8cpp_a5c9ea5f4625b3314cd7fc5de16fe2e21}{
\index{master/main.cpp@{master/main.cpp}!servers@{servers}}
\index{servers@{servers}!master/main.cpp@{master/main.cpp}}
\subsubsection[{servers}]{\setlength{\rightskip}{0pt plus 5cm}list$<${\bf SServer}$>$ {\bf servers}}}
\label{d0/dce/master_2main_8cpp_a5c9ea5f4625b3314cd7fc5de16fe2e21}
