\hypertarget{create_8h}{
\section{create.h File Reference}
\label{create_8h}\index{create.h@{create.h}}
}
Configuration binary file creation. 

{\tt \#include \char`\"{}RIM/rim.h\char`\"{}}\par
{\tt \#include $<$stdio.h$>$}\par


Include dependency graph for create.h:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=99pt]{create_8h__incl}
\end{center}
\end{figure}


This graph shows which files directly or indirectly include this file:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=90pt]{create_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{CompactItemize}
\item 
unsigned \hyperlink{create_8h_a0}{QCFG\_\-create} (RIM $\ast$rim, unsigned filter, const char $\ast$stub)
\begin{CompactList}\small\item\em Creates a set of binary configuration files based on the contents of the {\em imm\/}, using {\em lcm\/} as the first in a sequence of file IDs. \item\end{CompactList}\item 
unsigned \hyperlink{create_8h_a1}{QCFG\_\-create\-Map} (RIM\_\-map $\ast$map, const char $\ast$filename)
\begin{CompactList}\small\item\em Write out the data of a LATC\_\-map structure. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Configuration binary file creation. 

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


\subsection{Function Documentation}
\hypertarget{create_8h_a0}{
\index{create.h@{create.h}!QCFG_create@{QCFG\_\-create}}
\index{QCFG_create@{QCFG\_\-create}!create.h@{create.h}}
\subsubsection[QCFG\_\-create]{\setlength{\rightskip}{0pt plus 5cm}unsigned QCFG\_\-create (RIM $\ast$ {\em rim}, unsigned {\em filter}, const char $\ast$ {\em stub})}}
\label{create_8h_a0}


Creates a set of binary configuration files based on the contents of the {\em imm\/}, using {\em lcm\/} as the first in a sequence of file IDs. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em rim}]RIMstructure used as the basis of the binary configuration \item[{\em stub}]Stub to use as a basis for the output filenames \item[{\em filter}]Bitmask of LAT component files to create \end{description}
\end{Desc}
\begin{Desc}
\item[Return values:]
\begin{description}
\item[{\em RIM\_\-SUCCESS}]if all goes well \item[{\em RIM\_\-FILE\_\-WRITE}]if one of the file write operations failed \item[{\em RIM\_\-FILE\_\-CLOSE}]if one of the files failed to close\end{description}
\end{Desc}
\hypertarget{create_8h_a1}{
\index{create.h@{create.h}!QCFG_createMap@{QCFG\_\-createMap}}
\index{QCFG_createMap@{QCFG\_\-createMap}!create.h@{create.h}}
\subsubsection[QCFG\_\-createMap]{\setlength{\rightskip}{0pt plus 5cm}unsigned QCFG\_\-create\-Map (RIM\_\-map $\ast$ {\em map}, const char $\ast$ {\em filename})}}
\label{create_8h_a1}


Write out the data of a LATC\_\-map structure. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em map}]Pointer to the LATC\_\-map whose data should be written to file \item[{\em filename}]Name of the destination file \end{description}
\end{Desc}
\begin{Desc}
\item[Return values:]
\begin{description}
\item[{\em RIM\_\-SUCCESS}]if all goes well \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\end{description}
\end{Desc}
