\hypertarget{cmdlib_8h}{
\section{common/cmdlib.h File Reference}
\label{df/d27/cmdlib_8h}\index{common/cmdlib.h@{common/cmdlib.h}}
}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{cmdlib_8h_a4c155357ebd7b88cfbcc1608c94dd4db}{FixPathSeparator} (\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} \&path)
\item 
int \hyperlink{cmdlib_8h_affc42456416528610c5d71ab226668a9}{ParseHex} (char $\ast$\hyperlink{portlistingparse_8c_a7906a77d388c7c6f7eea5850f61f55e1}{str})
\item 
int \hyperlink{cmdlib_8h_a4d19620d6bf62ea5962e97f48bd26d0f}{ParseNum} (char $\ast$\hyperlink{portlistingparse_8c_a7906a77d388c7c6f7eea5850f61f55e1}{str})
\item 
\hyperlink{doomtype_8h_a050c65e107f0c828f856a231f4b4e788}{BOOL} \hyperlink{cmdlib_8h_a581a56b3efdf937ee9fc20db4eb2044f}{IsNum} (char $\ast$\hyperlink{portlistingparse_8c_a7906a77d388c7c6f7eea5850f61f55e1}{str})
\item 
int \hyperlink{cmdlib_8h_a510d9aa3fe22b23f3b4a7678479c13ac}{StdStringCompare} (\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} string1, \hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} string2, bool CaseInsensitive)
\item 
char $\ast$ \hyperlink{cmdlib_8h_aa349bf6bac53c0b20ee718b1b2612405}{COM\_\-Parse} (char $\ast$data)
\item 
char $\ast$ \hyperlink{cmdlib_8h_ab9176c968064dcfbf7bd8fad087506c8}{copystring} (const char $\ast$\hyperlink{client_2src_2v__palette_8cpp_a06ccf22bb96191a8ce5f85600b246060}{s})
\item 
void \hyperlink{cmdlib_8h_addcb2098aeeb07d5716915c95abc4418}{CRC\_\-Init} (unsigned short $\ast$crcvalue)
\item 
void \hyperlink{cmdlib_8h_a20ff3f4f30a37d050fc1e54fc1bf7d73}{CRC\_\-ProcessByte} (unsigned short $\ast$crcvalue, \hyperlink{doomtype_8h_a0c8186d9b9b7880309c27230bbb5e69d}{byte} data)
\item 
unsigned short \hyperlink{cmdlib_8h_aa76ae2ed498d02da3901024445a74fce}{CRC\_\-Value} (unsigned short crcvalue)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} \hyperlink{cmdlib_8h_a6a3c89f062a1bf4c9ce05cc1901d7562}{progdir}
\item 
\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} \hyperlink{cmdlib_8h_a42542690e7e2342517ace84db5283582}{startdir}
\item 
char \hyperlink{cmdlib_8h_af8ed4f5d98f69a931f4a8d8e9b6b4a7f}{com\_\-token} \mbox{[}8192\mbox{]}
\item 
\hyperlink{doomtype_8h_a050c65e107f0c828f856a231f4b4e788}{BOOL} \hyperlink{cmdlib_8h_a89fbc536e690a8f57fe433e63e382b73}{com\_\-eof}
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{cmdlib_8h_aa349bf6bac53c0b20ee718b1b2612405}{
\index{cmdlib.h@{cmdlib.h}!COM\_\-Parse@{COM\_\-Parse}}
\index{COM\_\-Parse@{COM\_\-Parse}!cmdlib.h@{cmdlib.h}}
\subsubsection[{COM\_\-Parse}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ COM\_\-Parse (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{data}
\end{DoxyParamCaption}
)}}
\label{df/d27/cmdlib_8h_aa349bf6bac53c0b20ee718b1b2612405}
\hypertarget{cmdlib_8h_ab9176c968064dcfbf7bd8fad087506c8}{
\index{cmdlib.h@{cmdlib.h}!copystring@{copystring}}
\index{copystring@{copystring}!cmdlib.h@{cmdlib.h}}
\subsubsection[{copystring}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ copystring (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{s}
\end{DoxyParamCaption}
)}}
\label{df/d27/cmdlib_8h_ab9176c968064dcfbf7bd8fad087506c8}
\hypertarget{cmdlib_8h_addcb2098aeeb07d5716915c95abc4418}{
\index{cmdlib.h@{cmdlib.h}!CRC\_\-Init@{CRC\_\-Init}}
\index{CRC\_\-Init@{CRC\_\-Init}!cmdlib.h@{cmdlib.h}}
\subsubsection[{CRC\_\-Init}]{\setlength{\rightskip}{0pt plus 5cm}void CRC\_\-Init (
\begin{DoxyParamCaption}
\item[{unsigned short $\ast$}]{crcvalue}
\end{DoxyParamCaption}
)}}
\label{df/d27/cmdlib_8h_addcb2098aeeb07d5716915c95abc4418}
\hypertarget{cmdlib_8h_a20ff3f4f30a37d050fc1e54fc1bf7d73}{
\index{cmdlib.h@{cmdlib.h}!CRC\_\-ProcessByte@{CRC\_\-ProcessByte}}
\index{CRC\_\-ProcessByte@{CRC\_\-ProcessByte}!cmdlib.h@{cmdlib.h}}
\subsubsection[{CRC\_\-ProcessByte}]{\setlength{\rightskip}{0pt plus 5cm}void CRC\_\-ProcessByte (
\begin{DoxyParamCaption}
\item[{unsigned short $\ast$}]{crcvalue, }
\item[{{\bf byte}}]{data}
\end{DoxyParamCaption}
)}}
\label{df/d27/cmdlib_8h_a20ff3f4f30a37d050fc1e54fc1bf7d73}
\hypertarget{cmdlib_8h_aa76ae2ed498d02da3901024445a74fce}{
\index{cmdlib.h@{cmdlib.h}!CRC\_\-Value@{CRC\_\-Value}}
\index{CRC\_\-Value@{CRC\_\-Value}!cmdlib.h@{cmdlib.h}}
\subsubsection[{CRC\_\-Value}]{\setlength{\rightskip}{0pt plus 5cm}unsigned short CRC\_\-Value (
\begin{DoxyParamCaption}
\item[{unsigned short}]{crcvalue}
\end{DoxyParamCaption}
)}}
\label{df/d27/cmdlib_8h_aa76ae2ed498d02da3901024445a74fce}
\hypertarget{cmdlib_8h_a4c155357ebd7b88cfbcc1608c94dd4db}{
\index{cmdlib.h@{cmdlib.h}!FixPathSeparator@{FixPathSeparator}}
\index{FixPathSeparator@{FixPathSeparator}!cmdlib.h@{cmdlib.h}}
\subsubsection[{FixPathSeparator}]{\setlength{\rightskip}{0pt plus 5cm}void FixPathSeparator (
\begin{DoxyParamCaption}
\item[{{\bf std::string} \&}]{path}
\end{DoxyParamCaption}
)}}
\label{df/d27/cmdlib_8h_a4c155357ebd7b88cfbcc1608c94dd4db}
\hypertarget{cmdlib_8h_a581a56b3efdf937ee9fc20db4eb2044f}{
\index{cmdlib.h@{cmdlib.h}!IsNum@{IsNum}}
\index{IsNum@{IsNum}!cmdlib.h@{cmdlib.h}}
\subsubsection[{IsNum}]{\setlength{\rightskip}{0pt plus 5cm}{\bf BOOL} IsNum (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{str}
\end{DoxyParamCaption}
)}}
\label{df/d27/cmdlib_8h_a581a56b3efdf937ee9fc20db4eb2044f}
\hypertarget{cmdlib_8h_affc42456416528610c5d71ab226668a9}{
\index{cmdlib.h@{cmdlib.h}!ParseHex@{ParseHex}}
\index{ParseHex@{ParseHex}!cmdlib.h@{cmdlib.h}}
\subsubsection[{ParseHex}]{\setlength{\rightskip}{0pt plus 5cm}int ParseHex (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{str}
\end{DoxyParamCaption}
)}}
\label{df/d27/cmdlib_8h_affc42456416528610c5d71ab226668a9}
\hypertarget{cmdlib_8h_a4d19620d6bf62ea5962e97f48bd26d0f}{
\index{cmdlib.h@{cmdlib.h}!ParseNum@{ParseNum}}
\index{ParseNum@{ParseNum}!cmdlib.h@{cmdlib.h}}
\subsubsection[{ParseNum}]{\setlength{\rightskip}{0pt plus 5cm}int ParseNum (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{str}
\end{DoxyParamCaption}
)}}
\label{df/d27/cmdlib_8h_a4d19620d6bf62ea5962e97f48bd26d0f}
\hypertarget{cmdlib_8h_a510d9aa3fe22b23f3b4a7678479c13ac}{
\index{cmdlib.h@{cmdlib.h}!StdStringCompare@{StdStringCompare}}
\index{StdStringCompare@{StdStringCompare}!cmdlib.h@{cmdlib.h}}
\subsubsection[{StdStringCompare}]{\setlength{\rightskip}{0pt plus 5cm}int StdStringCompare (
\begin{DoxyParamCaption}
\item[{{\bf std::string}}]{string1, }
\item[{{\bf std::string}}]{string2, }
\item[{bool}]{CaseInsensitive}
\end{DoxyParamCaption}
)}}
\label{df/d27/cmdlib_8h_a510d9aa3fe22b23f3b4a7678479c13ac}


\subsection{Variable Documentation}
\hypertarget{cmdlib_8h_a89fbc536e690a8f57fe433e63e382b73}{
\index{cmdlib.h@{cmdlib.h}!com\_\-eof@{com\_\-eof}}
\index{com\_\-eof@{com\_\-eof}!cmdlib.h@{cmdlib.h}}
\subsubsection[{com\_\-eof}]{\setlength{\rightskip}{0pt plus 5cm}{\bf BOOL} {\bf com\_\-eof}}}
\label{df/d27/cmdlib_8h_a89fbc536e690a8f57fe433e63e382b73}
\hypertarget{cmdlib_8h_af8ed4f5d98f69a931f4a8d8e9b6b4a7f}{
\index{cmdlib.h@{cmdlib.h}!com\_\-token@{com\_\-token}}
\index{com\_\-token@{com\_\-token}!cmdlib.h@{cmdlib.h}}
\subsubsection[{com\_\-token}]{\setlength{\rightskip}{0pt plus 5cm}char {\bf com\_\-token}\mbox{[}8192\mbox{]}}}
\label{df/d27/cmdlib_8h_af8ed4f5d98f69a931f4a8d8e9b6b4a7f}
\hypertarget{cmdlib_8h_a6a3c89f062a1bf4c9ce05cc1901d7562}{
\index{cmdlib.h@{cmdlib.h}!progdir@{progdir}}
\index{progdir@{progdir}!cmdlib.h@{cmdlib.h}}
\subsubsection[{progdir}]{\setlength{\rightskip}{0pt plus 5cm}{\bf std::string} {\bf progdir}}}
\label{df/d27/cmdlib_8h_a6a3c89f062a1bf4c9ce05cc1901d7562}
\hypertarget{cmdlib_8h_a42542690e7e2342517ace84db5283582}{
\index{cmdlib.h@{cmdlib.h}!startdir@{startdir}}
\index{startdir@{startdir}!cmdlib.h@{cmdlib.h}}
\subsubsection[{startdir}]{\setlength{\rightskip}{0pt plus 5cm}{\bf std::string} {\bf startdir}}}
\label{df/d27/cmdlib_8h_a42542690e7e2342517ace84db5283582}
