\section{util/dll-src/srec.h File Reference}
\label{dll-src_2srec_8h}\index{util/dll-src/srec.h@{util/dll-src/srec.h}}
\subsection*{Data Structures}
\begin{CompactItemize}
\item 
struct {\bf srec\_\-t}
\end{CompactItemize}
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define {\bf S\_\-OK}\ 0
\item 
\#define {\bf S\_\-NULL}\ -1
\item 
\#define {\bf S\_\-INVALID\_\-HDR}\ -2
\item 
\#define {\bf S\_\-INVALID\_\-CHAR}\ -3
\item 
\#define {\bf S\_\-INVALID\_\-TYPE}\ -4
\item 
\#define {\bf S\_\-TOO\_\-SHORT}\ -5
\item 
\#define {\bf S\_\-TOO\_\-LONG}\ -6
\item 
\#define {\bf S\_\-INVALID\_\-CKSUM}\ -7
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
int {\bf srec\_\-decode} ({\bf srec\_\-t} $\ast$srec, char $\ast$line)
\item 
int {\bf srec\_\-encode} ({\bf srec\_\-t} $\ast$srec, char $\ast$line)
\end{CompactItemize}


\subsection{Define Documentation}
\index{dll-src/srec.h@{dll-src/srec.h}!S_INVALID_CHAR@{S\_\-INVALID\_\-CHAR}}
\index{S_INVALID_CHAR@{S\_\-INVALID\_\-CHAR}!dll-src/srec.h@{dll-src/srec.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define S\_\-INVALID\_\-CHAR\ -3}\label{dll-src_2srec_8h_a3}




Definition at line 30 of file srec.h.

Referenced by image\_\-load().\index{dll-src/srec.h@{dll-src/srec.h}!S_INVALID_CKSUM@{S\_\-INVALID\_\-CKSUM}}
\index{S_INVALID_CKSUM@{S\_\-INVALID\_\-CKSUM}!dll-src/srec.h@{dll-src/srec.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define S\_\-INVALID\_\-CKSUM\ -7}\label{dll-src_2srec_8h_a7}




Definition at line 34 of file srec.h.

Referenced by image\_\-load().\index{dll-src/srec.h@{dll-src/srec.h}!S_INVALID_HDR@{S\_\-INVALID\_\-HDR}}
\index{S_INVALID_HDR@{S\_\-INVALID\_\-HDR}!dll-src/srec.h@{dll-src/srec.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define S\_\-INVALID\_\-HDR\ -2}\label{dll-src_2srec_8h_a2}




Definition at line 29 of file srec.h.

Referenced by image\_\-load().\index{dll-src/srec.h@{dll-src/srec.h}!S_INVALID_TYPE@{S\_\-INVALID\_\-TYPE}}
\index{S_INVALID_TYPE@{S\_\-INVALID\_\-TYPE}!dll-src/srec.h@{dll-src/srec.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define S\_\-INVALID\_\-TYPE\ -4}\label{dll-src_2srec_8h_a4}




Definition at line 31 of file srec.h.

Referenced by image\_\-load().\index{dll-src/srec.h@{dll-src/srec.h}!S_NULL@{S\_\-NULL}}
\index{S_NULL@{S\_\-NULL}!dll-src/srec.h@{dll-src/srec.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define S\_\-NULL\ -1}\label{dll-src_2srec_8h_a1}




Definition at line 28 of file srec.h.

Referenced by image\_\-load().\index{dll-src/srec.h@{dll-src/srec.h}!S_OK@{S\_\-OK}}
\index{S_OK@{S\_\-OK}!dll-src/srec.h@{dll-src/srec.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define S\_\-OK\ 0}\label{dll-src_2srec_8h_a0}




Definition at line 27 of file srec.h.\index{dll-src/srec.h@{dll-src/srec.h}!S_TOO_LONG@{S\_\-TOO\_\-LONG}}
\index{S_TOO_LONG@{S\_\-TOO\_\-LONG}!dll-src/srec.h@{dll-src/srec.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define S\_\-TOO\_\-LONG\ -6}\label{dll-src_2srec_8h_a6}




Definition at line 33 of file srec.h.

Referenced by image\_\-load().\index{dll-src/srec.h@{dll-src/srec.h}!S_TOO_SHORT@{S\_\-TOO\_\-SHORT}}
\index{S_TOO_SHORT@{S\_\-TOO\_\-SHORT}!dll-src/srec.h@{dll-src/srec.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define S\_\-TOO\_\-SHORT\ -5}\label{dll-src_2srec_8h_a5}




Definition at line 32 of file srec.h.

Referenced by image\_\-load().

\subsection{Function Documentation}
\index{dll-src/srec.h@{dll-src/srec.h}!srec_decode@{srec\_\-decode}}
\index{srec_decode@{srec\_\-decode}!dll-src/srec.h@{dll-src/srec.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int srec\_\-decode ({\bf srec\_\-t} $\ast$ {\em srec}, char $\ast$ {\em line})}\label{dll-src_2srec_8h_a8}




Definition at line 48 of file srec.c.\index{dll-src/srec.h@{dll-src/srec.h}!srec_encode@{srec\_\-encode}}
\index{srec_encode@{srec\_\-encode}!dll-src/srec.h@{dll-src/srec.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int srec\_\-encode ({\bf srec\_\-t} $\ast$ {\em srec}, char $\ast$ {\em line})}\label{dll-src_2srec_8h_a9}




Definition at line 116 of file srec.c.