\hypertarget{xml_8h}{
\section{xml.h File Reference}
\label{xml_8h}\index{xml.h@{xml.h}}
}
XML parsing functions. 



This graph shows which files directly or indirectly include this file:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=81pt]{xml_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{CompactItemize}
\item 
unsigned \hyperlink{xml_8h_a0}{QCFG\_\-parse} (char $\ast$$\ast$filelist, unsigned filecount, const char $\ast$stub, unsigned filter, unsigned verb)
\begin{CompactList}\small\item\em Parse a set of XML files and spit out the binary configuration files. \item\end{CompactList}\item 
unsigned \hyperlink{xml_8h_a1}{QCFG\_\-parse\-Map} (char $\ast$$\ast$filelist, unsigned filecount, const char $\ast$outname, unsigned verb)
\begin{CompactList}\small\item\em Read XML describing a map of the LAT components and create the equivalent binary file. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
XML parsing functions. 

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


\subsection{Function Documentation}
\hypertarget{xml_8h_a0}{
\index{xml.h@{xml.h}!QCFG_parse@{QCFG\_\-parse}}
\index{QCFG_parse@{QCFG\_\-parse}!xml.h@{xml.h}}
\subsubsection[QCFG\_\-parse]{\setlength{\rightskip}{0pt plus 5cm}unsigned QCFG\_\-parse (char $\ast$$\ast$ {\em filelist}, unsigned {\em filecount}, const char $\ast$ {\em stub}, unsigned {\em filter}, unsigned {\em verb})}}
\label{xml_8h_a0}


Parse a set of XML files and spit out the binary configuration files. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em filelist}]List of strings containing the names of XML files to parse \item[{\em filecount}]Number of XML files to parse \item[{\em stub}]Filename stub to use a basis for output filenames \item[{\em filter}]Bit mask of the components to create output files for \item[{\em verb}]1 for verbose, 0 for quiet \end{description}
\end{Desc}
\begin{Desc}
\item[Return values:]
\begin{description}
\item[{\em QCFG\_\-SUCCESS}]If all goes well \item[{\em QCFG\_\-MEM\_\-ALLOC}]If there is an error allocating memory \item[{\em RIM\_\-FILE\_\-WRITE}]if one of the file write operations failed \item[{\em RIM\_\-FILE\_\-OPEN}]if the file fails to open \item[{\em RIM\_\-FILE\_\-CLOSE}]if the file close failed \item[{\em RIM\_\-XML\_\-PARSE}]if there is an error parsing the XML\end{description}
\end{Desc}
\hypertarget{xml_8h_a1}{
\index{xml.h@{xml.h}!QCFG_parseMap@{QCFG\_\-parseMap}}
\index{QCFG_parseMap@{QCFG\_\-parseMap}!xml.h@{xml.h}}
\subsubsection[QCFG\_\-parseMap]{\setlength{\rightskip}{0pt plus 5cm}unsigned QCFG\_\-parse\-Map (char $\ast$$\ast$ {\em filelist}, unsigned {\em filecount}, const char $\ast$ {\em outname}, unsigned {\em verb})}}
\label{xml_8h_a1}


Read XML describing a map of the LAT components and create the equivalent binary file. 

\begin{Desc}
\item[Return values:]
\begin{description}
\item[{\em QCFG\_\-SUCCESS}]if all goes well \item[{\em QCFG\_\-MEM\_\-ALLOC}]If there is an error allocating memory \item[{\em RIM\_\-FILE\_\-WRITE}]if writing to the file failed \item[{\em RIM\_\-FILE\_\-OPEN}]if the file fails to open \item[{\em RIM\_\-FILE\_\-CLOSE}]if the file close failed \item[{\em RIM\_\-XML\_\-PARSE}]if there is an error parsing the XML\end{description}
\end{Desc}
