\hypertarget{server_2src_2i__main_8cpp}{
\section{server/src/i\_\-main.cpp File Reference}
\label{de/d1d/server_2src_2i__main_8cpp}\index{server/src/i\_\-main.cpp@{server/src/i\_\-main.cpp}}
}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef void(STACK\_\-ARGS $\ast$ \hyperlink{server_2src_2i__main_8cpp_acd9112ff50c5db4e7387fb46a43748d1}{term\_\-func\_\-t} )(void)
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{server_2src_2i__main_8cpp_a60b8ef8f9d81fc1585ba31efc08f6d6e}{AddCommandString} (\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} cmd)
\item 
void \hyperlink{server_2src_2i__main_8cpp_a60148e806f12f6cd6bc9396f5a37842c}{addterm} (void(STACK\_\-ARGS $\ast$\hyperlink{d__dehacked_8cpp_a43026160f493bce5e3714d0c344fff8b}{func})(), const char $\ast$\hyperlink{txt__io_8cpp_a8f8f80d37794cde9472343e4487ba3eb}{name})
\item 
void STACK\_\-ARGS \hyperlink{server_2src_2i__main_8cpp_a720073c6394050700dbe04a0ca73da01}{call\_\-terms} (void)
\item 
int \hyperlink{server_2src_2i__main_8cpp_af652b43981e46af9849cdab2977c2884}{PrintString} (int printlevel, char const $\ast$outline)
\item 
int \hyperlink{server_2src_2i__main_8cpp_a70fb16766e05933e43b7e88ef52eaccc}{ShutdownNow} ()
\item 
\hyperlink{doomtype_8h_a050c65e107f0c828f856a231f4b4e788}{BOOL} WINAPI \hyperlink{server_2src_2i__main_8cpp_a500ac4a8b94d3e201288bcc541867d7c}{ConsoleHandlerRoutine} (\hyperlink{doomtype_8h_ad342ac907eb044443153a22f964bf0af}{DWORD} dwCtrlType)
\item 
int \_\-\_\-cdecl \hyperlink{server_2src_2i__main_8cpp_a338d8487b7d869e5b0f769f24ef14b97}{main} (int argc, char $\ast$argv\mbox{[}$\,$\mbox{]})
\item 
void \hyperlink{server_2src_2i__main_8cpp_a383021e864e4c33d0a1e477af8f81c26}{daemon\_\-init} (void)
\item 
int \hyperlink{server_2src_2i__main_8cpp_a3c04138a5bfe5d72780bb7e82a18e627}{main} (int argc, char $\ast$$\ast$argv)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classDArgs}{DArgs} \hyperlink{server_2src_2i__main_8cpp_a20f607413ae740d616977d345fe669da}{Args}
\item 
UINT \hyperlink{server_2src_2i__main_8cpp_a4ca59f362c69c9c8d3bbbcc853b55fbe}{TimerPeriod}
\item 
std::stack$<$ std::pair$<$ \hyperlink{server_2src_2i__main_8cpp_acd9112ff50c5db4e7387fb46a43748d1}{term\_\-func\_\-t}, \hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} $>$ $>$ \hyperlink{server_2src_2i__main_8cpp_a8da32c41b5da1177c2815ba10aa9fe83}{TermFuncs}
\end{DoxyCompactItemize}


\subsection{Typedef Documentation}
\hypertarget{server_2src_2i__main_8cpp_acd9112ff50c5db4e7387fb46a43748d1}{
\index{server/src/i\_\-main.cpp@{server/src/i\_\-main.cpp}!term\_\-func\_\-t@{term\_\-func\_\-t}}
\index{term\_\-func\_\-t@{term\_\-func\_\-t}!server/src/i_main.cpp@{server/src/i\_\-main.cpp}}
\subsubsection[{term\_\-func\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef void(STACK\_\-ARGS $\ast$ {\bf term\_\-func\_\-t})(void)}}
\label{de/d1d/server_2src_2i__main_8cpp_acd9112ff50c5db4e7387fb46a43748d1}


\subsection{Function Documentation}
\hypertarget{server_2src_2i__main_8cpp_a60b8ef8f9d81fc1585ba31efc08f6d6e}{
\index{server/src/i\_\-main.cpp@{server/src/i\_\-main.cpp}!AddCommandString@{AddCommandString}}
\index{AddCommandString@{AddCommandString}!server/src/i_main.cpp@{server/src/i\_\-main.cpp}}
\subsubsection[{AddCommandString}]{\setlength{\rightskip}{0pt plus 5cm}void AddCommandString (
\begin{DoxyParamCaption}
\item[{{\bf std::string}}]{cmd}
\end{DoxyParamCaption}
)}}
\label{de/d1d/server_2src_2i__main_8cpp_a60b8ef8f9d81fc1585ba31efc08f6d6e}
\hypertarget{server_2src_2i__main_8cpp_a60148e806f12f6cd6bc9396f5a37842c}{
\index{server/src/i\_\-main.cpp@{server/src/i\_\-main.cpp}!addterm@{addterm}}
\index{addterm@{addterm}!server/src/i_main.cpp@{server/src/i\_\-main.cpp}}
\subsubsection[{addterm}]{\setlength{\rightskip}{0pt plus 5cm}void addterm (
\begin{DoxyParamCaption}
\item[{void(STACK\_\-ARGS $\ast${\bf func})()}]{, }
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}}
\label{de/d1d/server_2src_2i__main_8cpp_a60148e806f12f6cd6bc9396f5a37842c}
\hypertarget{server_2src_2i__main_8cpp_a720073c6394050700dbe04a0ca73da01}{
\index{server/src/i\_\-main.cpp@{server/src/i\_\-main.cpp}!call\_\-terms@{call\_\-terms}}
\index{call\_\-terms@{call\_\-terms}!server/src/i_main.cpp@{server/src/i\_\-main.cpp}}
\subsubsection[{call\_\-terms}]{\setlength{\rightskip}{0pt plus 5cm}void STACK\_\-ARGS call\_\-terms (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{de/d1d/server_2src_2i__main_8cpp_a720073c6394050700dbe04a0ca73da01}
\hypertarget{server_2src_2i__main_8cpp_a500ac4a8b94d3e201288bcc541867d7c}{
\index{server/src/i\_\-main.cpp@{server/src/i\_\-main.cpp}!ConsoleHandlerRoutine@{ConsoleHandlerRoutine}}
\index{ConsoleHandlerRoutine@{ConsoleHandlerRoutine}!server/src/i_main.cpp@{server/src/i\_\-main.cpp}}
\subsubsection[{ConsoleHandlerRoutine}]{\setlength{\rightskip}{0pt plus 5cm}{\bf BOOL} WINAPI ConsoleHandlerRoutine (
\begin{DoxyParamCaption}
\item[{{\bf DWORD}}]{dwCtrlType}
\end{DoxyParamCaption}
)}}
\label{de/d1d/server_2src_2i__main_8cpp_a500ac4a8b94d3e201288bcc541867d7c}
\hypertarget{server_2src_2i__main_8cpp_a383021e864e4c33d0a1e477af8f81c26}{
\index{server/src/i\_\-main.cpp@{server/src/i\_\-main.cpp}!daemon\_\-init@{daemon\_\-init}}
\index{daemon\_\-init@{daemon\_\-init}!server/src/i_main.cpp@{server/src/i\_\-main.cpp}}
\subsubsection[{daemon\_\-init}]{\setlength{\rightskip}{0pt plus 5cm}void daemon\_\-init (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{de/d1d/server_2src_2i__main_8cpp_a383021e864e4c33d0a1e477af8f81c26}
\hypertarget{server_2src_2i__main_8cpp_a3c04138a5bfe5d72780bb7e82a18e627}{
\index{server/src/i\_\-main.cpp@{server/src/i\_\-main.cpp}!main@{main}}
\index{main@{main}!server/src/i_main.cpp@{server/src/i\_\-main.cpp}}
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main (
\begin{DoxyParamCaption}
\item[{int}]{argc, }
\item[{char $\ast$$\ast$}]{argv}
\end{DoxyParamCaption}
)}}
\label{de/d1d/server_2src_2i__main_8cpp_a3c04138a5bfe5d72780bb7e82a18e627}
\hypertarget{server_2src_2i__main_8cpp_a338d8487b7d869e5b0f769f24ef14b97}{
\index{server/src/i\_\-main.cpp@{server/src/i\_\-main.cpp}!main@{main}}
\index{main@{main}!server/src/i_main.cpp@{server/src/i\_\-main.cpp}}
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int \_\-\_\-cdecl main (
\begin{DoxyParamCaption}
\item[{int}]{argc, }
\item[{char $\ast$}]{argv\mbox{[}$\,$\mbox{]}}
\end{DoxyParamCaption}
)}}
\label{de/d1d/server_2src_2i__main_8cpp_a338d8487b7d869e5b0f769f24ef14b97}
\hypertarget{server_2src_2i__main_8cpp_af652b43981e46af9849cdab2977c2884}{
\index{server/src/i\_\-main.cpp@{server/src/i\_\-main.cpp}!PrintString@{PrintString}}
\index{PrintString@{PrintString}!server/src/i_main.cpp@{server/src/i\_\-main.cpp}}
\subsubsection[{PrintString}]{\setlength{\rightskip}{0pt plus 5cm}int PrintString (
\begin{DoxyParamCaption}
\item[{int}]{printlevel, }
\item[{char const $\ast$}]{outline}
\end{DoxyParamCaption}
)}}
\label{de/d1d/server_2src_2i__main_8cpp_af652b43981e46af9849cdab2977c2884}
\hypertarget{server_2src_2i__main_8cpp_a70fb16766e05933e43b7e88ef52eaccc}{
\index{server/src/i\_\-main.cpp@{server/src/i\_\-main.cpp}!ShutdownNow@{ShutdownNow}}
\index{ShutdownNow@{ShutdownNow}!server/src/i_main.cpp@{server/src/i\_\-main.cpp}}
\subsubsection[{ShutdownNow}]{\setlength{\rightskip}{0pt plus 5cm}int ShutdownNow (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{de/d1d/server_2src_2i__main_8cpp_a70fb16766e05933e43b7e88ef52eaccc}


\subsection{Variable Documentation}
\hypertarget{server_2src_2i__main_8cpp_a20f607413ae740d616977d345fe669da}{
\index{server/src/i\_\-main.cpp@{server/src/i\_\-main.cpp}!Args@{Args}}
\index{Args@{Args}!server/src/i_main.cpp@{server/src/i\_\-main.cpp}}
\subsubsection[{Args}]{\setlength{\rightskip}{0pt plus 5cm}{\bf DArgs} {\bf Args}}}
\label{de/d1d/server_2src_2i__main_8cpp_a20f607413ae740d616977d345fe669da}
\hypertarget{server_2src_2i__main_8cpp_a8da32c41b5da1177c2815ba10aa9fe83}{
\index{server/src/i\_\-main.cpp@{server/src/i\_\-main.cpp}!TermFuncs@{TermFuncs}}
\index{TermFuncs@{TermFuncs}!server/src/i_main.cpp@{server/src/i\_\-main.cpp}}
\subsubsection[{TermFuncs}]{\setlength{\rightskip}{0pt plus 5cm}std::stack$<$ std::pair$<${\bf term\_\-func\_\-t}, {\bf std::string}$>$ $>$ {\bf TermFuncs}}}
\label{de/d1d/server_2src_2i__main_8cpp_a8da32c41b5da1177c2815ba10aa9fe83}
\hypertarget{server_2src_2i__main_8cpp_a4ca59f362c69c9c8d3bbbcc853b55fbe}{
\index{server/src/i\_\-main.cpp@{server/src/i\_\-main.cpp}!TimerPeriod@{TimerPeriod}}
\index{TimerPeriod@{TimerPeriod}!server/src/i_main.cpp@{server/src/i\_\-main.cpp}}
\subsubsection[{TimerPeriod}]{\setlength{\rightskip}{0pt plus 5cm}UINT {\bf TimerPeriod}}}
\label{de/d1d/server_2src_2i__main_8cpp_a4ca59f362c69c9c8d3bbbcc853b55fbe}
