\section{util/dll-src/srecload.h File Reference}
\label{srecload_8h}\index{util/dll-src/srecload.h@{util/dll-src/srecload.h}}
\subsection*{Data Structures}
\begin{CompactItemize}
\item 
struct {\bf image\_\-t}
\begin{CompactList}\small\item\em wrapper for an s-record image \item\end{CompactList}\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
void {\bf image\_\-load} ({\bf image\_\-t} $\ast$img, const char $\ast$filename)
\begin{CompactList}\small\item\em load an RCX s-record file and return its image \item\end{CompactList}\end{CompactItemize}


\subsection{Function Documentation}
\index{srecload.h@{srecload.h}!image_load@{image\_\-load}}
\index{image_load@{image\_\-load}!srecload.h@{srecload.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void image\_\-load ({\bf image\_\-t} $\ast$ {\em img}, const char $\ast$ {\em filename})}\label{srecload_8h_a0}


load an RCX s-record file and return its image 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em filename}]file to load \item[{\em img}]image to store to \end{description}
\end{Desc}


Definition at line 158 of file srecload.c.

References srec\_\-t::addr, image\_\-t::base, calloc(), srec\_\-t::count, srec\_\-t::data, image\_\-t::data\_\-size, exit(), memcpy(), image\_\-t::offset, S\_\-INVALID\_\-CHAR, S\_\-INVALID\_\-CKSUM, S\_\-INVALID\_\-HDR, S\_\-INVALID\_\-TYPE, S\_\-NULL, S\_\-TOO\_\-LONG, S\_\-TOO\_\-SHORT, srec\_\-decode(), symbols\_\-load(), image\_\-t::text, image\_\-t::text\_\-size, and srec\_\-t::type.

Referenced by main().