\hypertarget{parse_8c}{
\section{parse.c File Reference}
\label{parse_8c}\index{parse.c@{parse.c}}
}
XML parser.  


{\tt \#include \char`\"{}XLX/parse.h\char`\"{}}\par
{\tt \#include \char`\"{}XLX/XLX\_\-msgs.h\char`\"{}}\par
{\tt \#include \char`\"{}EXPAT/expat.h\char`\"{}}\par
{\tt \#include \char`\"{}MSG/MSG\_\-pubdefs.h\char`\"{}}\par
{\tt \#include $<$stdio.h$>$}\par


Include dependency graph for parse.c:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=266pt]{parse_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{CompactItemize}
\item 
unsigned \hyperlink{parse_8c_a0}{XLX\_\-parse} (const char $\ast$filename, \hyperlink{struct__XLX__state}{XLX\_\-state} $\ast$p\-State)
\begin{CompactList}\small\item\em Parses {\em filename\/}. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
XML parser. 

\begin{Desc}
\item[Author:]James Swain -- \href{mailto:jswain@slac.stanford.edu}{\tt jswain@slac.stanford.edu} \end{Desc}


\subsection{Function Documentation}
\hypertarget{parse_8c_a0}{
\index{parse.c@{parse.c}!XLX_parse@{XLX\_\-parse}}
\index{XLX_parse@{XLX\_\-parse}!parse.c@{parse.c}}
\subsubsection[XLX\_\-parse]{\setlength{\rightskip}{0pt plus 5cm}unsigned XLX\_\-parse (const char $\ast$ {\em filename}, \hyperlink{struct__XLX__state}{XLX\_\-state} $\ast$ {\em p\-State})}}
\label{parse_8c_a0}


Parses {\em filename\/}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em filename}]XML file to parse \item[{\em p\-State}]State of the parser. \end{description}
\end{Desc}
\begin{Desc}
\item[Return values:]
\begin{description}
\item[{\em XLX\_\-SUCCESS}]If the file is successfully parsed \item[{\em XLX\_\-FOPEN}]If the file cannot be opened \item[{\em XLX\_\-MEMERR}]If there is an error creating the parser control structure \item[{\em XLX\_\-FREAD}]If there is an error reading the file \item[{\em XLX\_\-PARSE}]If there is an error parsing the XML \end{description}
\end{Desc}


Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=199pt]{parse_8c_a0_cgraph}
\end{center}
\end{figure}
